Skip to content

Instantly share code, notes, and snippets.

@paulbrodner
Last active March 19, 2019 09:43
Show Gist options
  • Select an option

  • Save paulbrodner/3b3661267bfaa7fcb63d881be1cd3b6f to your computer and use it in GitHub Desktop.

Select an option

Save paulbrodner/3b3661267bfaa7fcb63d881be1cd3b6f to your computer and use it in GitHub Desktop.
starting prometeus and graphana
version: '2'
services:
prometheus:
image: prom/prometheus:latest
volumes:
- ./prometheus.yml:/etc/prometheus/prometheus.yml
command:
- '--config.file=/etc/prometheus/prometheus.yml'
ports:
- '9090:9090'
graphana:
image: grafana/grafana:latest
ports:
- '3000:3000'
@paulbrodner

Copy link
Copy Markdown
Author

see official prometheus.yml file for example

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment