2022-06-09 16:35:04 +03:00
< img width = "400px" src = "docs/img/logo.png" >
2022-06-03 08:09:47 -06:00
2022-06-14 11:58:02 -06:00
[](https://github.com/grafana/oncall/releases)
[](https://github.com/grafana/oncall/blob/dev/LICENSE)
[](https://hub.docker.com/r/grafana/oncall/tags)
[](https://grafana.slack.com/archives/C02LSUUSE2G)
[](https://github.com/grafana/oncall/discussions)
[](https://drone.grafana.net/grafana/oncall)
2022-06-14 09:14:45 -06:00
Developer-friendly incident response with brilliant Slack integration.
2022-06-09 16:29:14 +03:00
2022-06-09 16:35:47 +03:00
< img width = "60%" src = "screenshot.png" >
2022-06-09 16:29:14 +03:00
2022-06-09 15:58:10 +03:00
- Collect and analyze alerts from multiple monitoring systems
- On-call rotations based on schedules
- Automatic escalations
- Phone calls, SMS, Slack, Telegram notifications
2022-06-03 08:09:47 -06:00
## Getting Started
2022-06-13 15:33:56 +03:00
We prepared multiple environments: [production ](https://grafana.com/docs/grafana-cloud/oncall/open-source/#production-environment ), [developer ](DEVELOPER.md ) and hobby:
2022-06-09 15:49:14 +03:00
2022-06-09 17:47:33 +03:00
1. Download docker-compose.yaml:
2022-06-03 08:09:47 -06:00
```bash
2022-06-14 19:47:49 +03:00
curl -fsSL https://raw.githubusercontent.com/grafana/oncall/dev/docker-compose.yml -o docker-compose.yml
2022-06-03 08:09:47 -06:00
```
2022-06-09 17:47:33 +03:00
2. Set variables:
2022-06-03 08:09:47 -06:00
```bash
2022-06-14 09:14:45 -06:00
echo "DOMAIN=http://localhost:8080
2022-06-10 00:18:17 +03:00
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
2022-06-03 08:09:47 -06:00
```
2022-06-09 17:47:33 +03:00
3. Launch services:
2022-06-03 08:09:47 -06:00
```bash
2022-06-10 00:18:17 +03:00
docker-compose --env-file .env_hobby -f docker-compose.yml up --build -d
2022-06-03 08:09:47 -06:00
```
2022-06-09 19:52:09 +03:00
4. Issue one-time invite token:
2022-06-09 15:49:14 +03:00
```bash
2022-06-10 00:18:17 +03:00
docker-compose --env-file .env_hobby -f docker-compose.yml run engine python manage.py issue_invite_for_the_frontend --override
2022-06-03 08:09:47 -06:00
```
2022-06-10 00:11:14 +03:00
5. Go to [OnCall Plugin Configuration ](http://localhost:3000/plugins/grafana-oncall-app ) (or find OnCall plugin in configuration->plugins) and connect OnCall _plugin_ with OnCall _backend_ :
2022-06-09 19:52:09 +03:00
```
Invite token: ^^^ from the previous step.
OnCall backend URL: http://engine:8080
Grafana Url: http://grafana:3000
```
2022-06-14 19:53:35 +03:00
6. Enjoy! Check our [OSS docs ](https://grafana.com/docs/grafana-cloud/oncall/open-source/ ) if you want to set up Slack, Telegram, Twilio or SMS/calls through Grafana Cloud.
2022-06-09 19:52:09 +03:00
2022-06-09 17:48:26 +03:00
## Join community
< a href = "https://github.com/grafana/oncall/discussions/categories/community-calls" > < img width = "200px" src = "docs/img/community_call.png" > < / a >
< a href = "https://github.com/grafana/oncall/discussions" > < img width = "200px" src = "docs/img/GH_discussions.png" > < / a >
2022-06-14 14:40:57 -06:00
< a href = "https://grafana.slack.com/archives/C02LSUUSE2G" > < img width = "200px" src = "docs/img/slack.png" > < / a >
2022-06-09 17:48:26 +03:00
2022-06-03 08:09:47 -06:00
## Further Reading
2022-06-14 19:55:33 +03:00
- *Migration from the PagerDuty* - [Migrator ](https://github.com/grafana/oncall/tree/dev/tools/pagerduty-migrator )
2022-06-03 08:09:47 -06:00
- *Documentation* - [Grafana OnCall ](https://grafana.com/docs/grafana-cloud/oncall/ )
- *Blog Post* - [Announcing Grafana OnCall, the easiest way to do on-call management ](https://grafana.com/blog/2021/11/09/announcing-grafana-oncall/ )
- *Presentation* - [Deep dive into the Grafana, Prometheus, and Alertmanager stack for alerting and on-call management ](https://grafana.com/go/observabilitycon/2021/alerting/?pg=blog )