Grafana OnCall engine fork — self-hosted on-call scheduler and alert router
Find a file
Joey Orlando 5967d5af63
remove apns + fix django-push-notifications migrations (#984)
- removes APNS support
- changes the `django-push-notification` library from the `iskhakov`
fork to the [`grafana`
fork](https://github.com/grafana/django-push-notifications). This new
fork basically just patches an issue which affected the database
migrations of this django app (previously the library would not respect
the `USER_MODEL` setting when creating its tables and would instead
reference the `auth_user` table.. which we don't want)
- add `--no-cache` flag to the `make build` command

**NOTE**
A migration should be applied as follows:
```bash
# remove the four push_notifications tables, which have improper foreign key references
python manage.py migrate push_notifications zero

# recreate the tables with the proper foreign key references
python manage.py migrate
```
2022-12-13 13:00:59 +01:00
.github add precommit rules for markdown/json files (#915) 2022-12-01 14:26:54 +01:00
dev add precommit rules for markdown/json files (#915) 2022-12-01 14:26:54 +01:00
docs add precommit rules for markdown/json files (#915) 2022-12-01 14:26:54 +01:00
engine remove apns + fix django-push-notifications migrations (#984) 2022-12-13 13:00:59 +01:00
examples/terraform Terraform examples 2022-08-11 14:32:39 +05:00
grafana-plugin Fix schedules types UI confusion 2022-12-12 16:30:24 -03:00
helm Make job-migrate ttlSecondsAfterFinished customizable (#957) 2022-12-07 09:10:10 +01:00
tools add precommit rules for markdown/json files (#915) 2022-12-01 14:26:54 +01:00
.drone.yml Update .drone.yml signature 2022-11-09 14:53:35 -03:00
.gitignore enterprise dev changes + few other small changes (#802) 2022-11-09 07:21:33 +01:00
.markdownlint.json add precommit rules for markdown/json files (#915) 2022-12-01 14:26:54 +01:00
.nvmrc One startup command to rule them all (#760) 2022-11-07 16:34:43 +01:00
.pre-commit-config.yaml add precommit rules for markdown/json files (#915) 2022-12-01 14:26:54 +01:00
CHANGELOG.md remove apns + fix django-push-notifications migrations (#984) 2022-12-13 13:00:59 +01:00
CODE_OF_CONDUCT.md add precommit rules for markdown/json files (#915) 2022-12-01 14:26:54 +01:00
docker-compose-developer.yml docker-compose small fixes (#930) 2022-12-01 16:00:19 +00:00
docker-compose-mysql-rabbitmq.yml Get rid of installation token + add a bunch of tests (#624) 2022-11-21 16:26:00 +01:00
docker-compose.yml Get rid of installation token + add a bunch of tests (#624) 2022-11-21 16:26:00 +01:00
GOVERNANCE.md add precommit rules for markdown/json files (#915) 2022-12-01 14:26:54 +01:00
LICENSE World, meet OnCall! 2022-06-03 08:09:47 -06:00
LICENSING.md add precommit rules for markdown/json files (#915) 2022-12-01 14:26:54 +01:00
MAINTAINERS.md add precommit rules for markdown/json files (#915) 2022-12-01 14:26:54 +01:00
Makefile remove apns + fix django-push-notifications migrations (#984) 2022-12-13 13:00:59 +01:00
README.md docker-compose small fixes (#930) 2022-12-01 16:00:19 +00:00
screenshot.png Merge dev to main (#54) 2022-06-13 16:39:58 -06:00
SECURITY.md add precommit rules for markdown/json files (#915) 2022-12-01 14:26:54 +01:00

Grafana OnCall

Latest Release License Docker Pulls Slack Discussion Build Status

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:

  1. Download docker-compose.yml:

    curl -fsSL https://raw.githubusercontent.com/grafana/oncall/dev/docker-compose.yml -o docker-compose.yml
    
  2. Set variables:

    echo "DOMAIN=http://localhost:8080
    COMPOSE_PROFILES=with_grafana  # Remove this line if you want to use existing grafana
    SECRET_KEY=my_random_secret_must_be_more_than_32_characters_long" > .env
    
  3. Launch services:

    docker-compose pull && docker-compose up -d
    
  4. Go to OnCall Plugin Configuration, using log in credentials as defined above: admin/admin (or find OnCall plugin in configuration->plugins) and connect OnCall plugin with OnCall backend:

    OnCall backend URL: http://engine:8080
    
  5. Enjoy! Check our OSS docs if you want to set up Slack, Telegram, Twilio or SMS/calls through Grafana Cloud.

Update version

To update your Grafana OnCall hobby environment:

# Update Docker image
docker-compose pull engine

# Re-deploy
docker-compose up -d

After updating the engine, you'll also need to click the "Update" button on the plugin version page. See Grafana docs for more info on updating Grafana plugins.

Join community

Stargazers over time

Stargazers over time

Further Reading