目录

JarvisMonitor

Monitor that runs in the background to report the health status of Jarvis and its processes

Sample Crontab Entry

* * * * * cd ~/JarvisMonitor && python run.py

GitHub workflow trigger is set to trigger on push against docs branch which will build GitHub pages.

Sample Report

Process Name Status
Jarvis 🟢
Jarvis API 🟢
Background Tasks 🟢
Speech Synthesis API 🔴

References

Environment Variables

Environment variables are case insensitive.

Mandatory

  • source_map - Path to the processes.yaml file generated by Jarvis
  • git_user - GitHub username to authenticate GitPython
  • git_token - GitHub PAT to push changes using GH API and authenticate GitPython
  • git_owner - GitHub owner for the account. May be different for a Git organization.

Optional

  • log - Log option to use. Can either be file or stdout. Defaults to file
  • debug - Any value to enable debug mode. Disabled by default.
  • gmail_user - Gmail username to authenticate the account.
  • gmail_pass - gmail password to authenticate the account.
  • recipient - Email address to send an email notification.
  • skip_schedule - Skip the monitoring schedule at a particular time. Example: 12:00 AM
  • check_performance - Boolean flag to check performance of each process. Defaults to False
  • check_existing - Check existing index.html file for changes, before executing push. Defaults to True
  • override_check - List of minutes to set the check_existing flag as False. Defaults to [0] (every hour)
  • log_retention - Number of days worth of logs to retain. Defaults to 3
关于
382.0 KB
邀请码
    Gitlink(确实开源)
  • 加入我们
  • 官网邮箱:gitlink@ccf.org.cn
  • QQ群
  • QQ群
  • 公众号
  • 公众号

版权所有:中国计算机学会技术支持:开源发展技术委员会
京ICP备13000930号-9 京公网安备 11010802032778号