ilanh / oncall

Developer-friendly incident response with brilliant Slack integration

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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
  1. 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
  1. Launch services:
docker-compose up -d
  1. Issue one-time invite token:
docker-compose run engine python manage.py issue_invite_for_the_frontend --override

Note: if you remove the plugin configuration and reconfigure it, you will need to generate a new one-time invite token for your new configuration.

  1. 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:
Invite token: ^^^ from the previous step.
OnCall backend URL: http://engine:8080
Grafana Url: http://grafana:3000
  1. 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

About

Developer-friendly incident response with brilliant Slack integration

License:GNU Affero General Public License v3.0


Languages

Language:Python 75.2%Language:TypeScript 21.3%Language:CSS 1.0%Language:HTML 1.0%Language:Smarty 0.6%Language:JavaScript 0.5%Language:Makefile 0.1%Language:Handlebars 0.1%Language:SCSS 0.1%Language:Dockerfile 0.0%Language:Shell 0.0%Language:Gherkin 0.0%