2022-06-03 08:09:47 -06:00
# Grafana OnCall Incident Response
Grafana OnCall, cloud version of Grafana OnCall: https://grafana.com/products/cloud/
Developer-friendly, incident response management with brilliant Slack integration.
- Connect monitoring systems
- Collect and analyze data
- On-call rotation
- Automatic escalation
- Never miss alerts with calls and SMS

## Getting Started
2022-06-09 15:49:14 +03:00
### Launch "hobby" environment
Download docker-compose.yaml:
2022-06-03 08:09:47 -06:00
```bash
2022-06-09 15:49:14 +03:00
curl https://github.com/... -o docker-compose.yaml
2022-06-03 08:09:47 -06:00
```
2022-06-09 15:49:14 +03:00
Set environment:
2022-06-03 08:09:47 -06:00
```bash
2022-06-09 15:49:14 +03:00
export DOMAIN=http://localhost
export SECRET_KEY=my_random_secret_must_be_more_than_32_characters_long
export RABBITMQ_PASSWORD=rabbitmq_secret_pw
export MYSQL_PASSWORD=mysql_secret_pw
export COMPOSE_PROFILES=with_grafana
export GRAFANA_USER=admin
export GRAFANA_PASSWORD=admin
2022-06-03 08:09:47 -06:00
```
2022-06-09 15:49:14 +03:00
Launch stack:
2022-06-03 08:09:47 -06:00
```bash
2022-06-09 15:49:14 +03:00
docker-compose -f docker-compose.yml up --build -d
2022-06-03 08:09:47 -06:00
```
2022-06-09 15:49:14 +03:00
Get the instructions and the token:
```bash
docker-compose -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-09 15:49:14 +03:00
^ follow instructions and enjoy!
2022-06-03 08:09:47 -06:00
2022-06-09 15:49:14 +03:00
## Join our comminuty
2022-06-03 08:09:47 -06:00
- `#grafana-oncall` channel at https://slack.grafana.com/
- Grafana Labs community forum for OnCall: https://community.grafana.com
- File an [issue ](https://github.com/grafana/oncall/issues ) for bugs, issues and feature suggestions.
## Production Setup
2022-06-09 15:49:14 +03:00
For production setup check [PRODUCTION.md ](PRODUCTION.md ).
2022-06-03 08:09:47 -06:00
## Further Reading
- *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 )
## FAQ
- How do I generate a new invitation token to connect plugin with a backend?
```bash
docker exec oncall-backend python manage.py issue_invite_for_the_frontend --override
```