Skip to content

Instantly share code, notes, and snippets.

@mateobur
Created December 12, 2017 16:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save mateobur/07c2f1a800e8c4cca8503096f5bdb34f to your computer and use it in GitHub Desktop.
Save mateobur/07c2f1a800e8c4cca8503096f5bdb34f to your computer and use it in GitHub Desktop.
Prometheus alerts integration example, docker-compose file
version: '2'
services:
pythonmetrics:
image: mateobur/pythonmetric
ports:
- 9100:9100
restart: on-failure
networks:
- promexample
promserver:
image: mateobur/promserver
ports:
- 9090:9090
restart: on-failure
networks:
- promexample
alertmanager:
image: mateobur/alertmanager
ports:
- 9093:9093
restart: on-failure
networks:
- promexample
sysdigwebhook:
image: mateobur/sysdigwebhook
ports:
- 10000:10000
environment:
- SYSDIG_API_KEY=<your_sysdig_api_key>
restart: on-failure
networks:
- promexample
networks:
promexample:
driver: bridge
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment