Grafana OnCall engine fork — self-hosted on-call scheduler and alert router
Find a file
Innokentii Konstantinov 48bfe86d62
Add cloud connection statuses on user page (#34)
* Add cloud connection statuses on user page

* Add fixes for oncall hobby docker-compose installation

* Fix for links and for cloud user status at User settings

* Delete cloud api token on cloud disconnect

* Merge branch 'dev' into cloud_connection_statuses_on_user_page

* Fix cloud statuses for users

* Fix usagestats service

* Fix phone verification message in users table

* added request after syncing user

* Add endpoint to create CloudHeartbeat and polish code

* Fix imports

* Check token and heartbeat setting in setup_hertbeat_integration

* Add macthed_users_count in cloud users

* Sync users on token change

* Fix query param

* Fix tests

* Heartbit button logic, tab width fix, coount users fix

* Solve problem of existent cloud heartbeat integration

* Solve problem of existent cloud heartbeat integration 2

* Solve problem of existent cloud heartbeat integration 3

* fix build

* build fix, styles for env variables description

Co-authored-by: Ildar Iskhakov <ildar.iskhakov@grafana.com>
Co-authored-by: Yulia Shanyrova <yulia.shanyrova@grafana.com>
2022-06-13 16:29:08 +04:00
.github World, meet OnCall! 2022-06-03 08:09:47 -06:00
docs Logo 2022-06-09 16:33:27 +03:00
engine Add cloud connection statuses on user page (#34) 2022-06-13 16:29:08 +04:00
grafana-plugin Add cloud connection statuses on user page (#34) 2022-06-13 16:29:08 +04:00
tools World, meet OnCall! 2022-06-03 08:09:47 -06:00
.dockerignore docker-compose polish 2022-06-10 00:18:17 +03:00
.drone.yml Only execute release process on tags that match version pattern (#21) 2022-06-09 13:59:56 -06:00
.env.example World, meet OnCall! 2022-06-03 08:09:47 -06:00
.gitignore Polishing... 2022-06-10 22:58:46 +03:00
.pre-commit-config.yaml World, meet OnCall! 2022-06-03 08:09:47 -06:00
CHANGELOG.md World, meet OnCall! 2022-06-03 08:09:47 -06:00
CODE_OF_CONDUCT.md Updated GOVERNANCE, added Code Of Conduct 2022-06-06 21:54:15 +03:00
DEVELOPER.md Developer setup update 2022-06-10 17:32:58 +03:00
docker-compose-developer.yml Polishing... 2022-06-10 22:58:46 +03:00
docker-compose.yml Polishing... 2022-06-10 22:58:46 +03:00
GOVERNANCE.md Updated GOVERNANCE, added Code Of Conduct 2022-06-06 21:54:15 +03:00
LICENSE World, meet OnCall! 2022-06-03 08:09:47 -06:00
LICENSING.md Making LICENSING.md more explicit 2022-06-03 16:21:26 +02:00
MAINTAINERS.md Updated GOVERNANCE, added Code Of Conduct 2022-06-06 21:54:15 +03:00
README.md Update README.md 2022-06-13 09:59:22 +03:00
screenshot.png World, meet OnCall! 2022-06-03 08:09:47 -06:00
SECURITY.md World, meet OnCall! 2022-06-03 08:09:47 -06:00

Developer-friendly, incident response with brilliant Slack integration.

  • Collect and analyze alerts from multiple monitoring systems
  • On-call rotations based on schedules
  • Automatic escalations
  • Phone calls, SMS, Slack, Telegram notifications

Getting Started

We prepared multiple environments: production, developer and hobby:

  1. Download docker-compose.yaml:
curl https://github.com/grafana/oncall/blob/dev/docker-compose.yml -o docker-compose.yaml 
  1. Set variables:
echo "DOMAIN=http://localhost
SECRET_KEY=my_random_secret_must_be_more_than_32_characters_long
RABBITMQ_PASSWORD=rabbitmq_secret_pw
MYSQL_PASSWORD=mysql_secret_pw
COMPOSE_PROFILES=with_grafana  # Remove this line if you want to use existing grafana
GRAFANA_USER=admin
GRAFANA_PASSWORD=admin" > .env_hobby
  1. Launch services:
docker-compose --env-file .env_hobby -f docker-compose.yml up --build -d
  1. Issue one-time invite token:
docker-compose --env-file .env_hobby -f docker-compose.yml run engine python manage.py issue_invite_for_the_frontend --override
  1. Go to OnCall Plugin Configuration (or find OnCall plugin in configuration->plugins) and connect OnCall plugin with OnCall backend:
Invite token: ^^^ from the previous step.
OnCall backend URL: http://engine:8080
Grafana Url: http://grafana:3000
  1. Enjoy!

Join community

Further Reading