Skip to content

Instantly share code, notes, and snippets.

@dracan
Created December 25, 2018 08:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dracan/a506e8a1eabe75f8e7951360676fad52 to your computer and use it in GitHub Desktop.
Save dracan/a506e8a1eabe75f8e7951360676fad52 to your computer and use it in GitHub Desktop.
Prometheus/Grafana - docker-compose
version: '3.1'
services:
prometheus:
image: prom/prometheus:v2.1.0
command:
- '--config.file=/etc/prometheus/prometheus.yml'
ports:
- 9090:9090
volumes:
- ./prometheus.yml:/etc/prometheus/prometheus.yml
grafana:
image: grafana/grafana
depends_on:
- prometheus
ports:
- 3000:3000
scrape_configs:
- job_name: 'linqpad'
scrape_interval: 5s
static_configs:
- targets: ['192.168.0.41:1234']
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment