Skip to content

Instantly share code, notes, and snippets.

@Rigil-Kent
Created January 10, 2022 19:54
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 Rigil-Kent/d81d7d75d38dc40186a21554dc6686e7 to your computer and use it in GitHub Desktop.
Save Rigil-Kent/d81d7d75d38dc40186a21554dc6686e7 to your computer and use it in GitHub Desktop.
Prometheus docker
global:
scrape_interval: 5s
external_labels:
monitor: 'node'
scrape_configs:
- job_name: 'prometheus'
static_configs:
- targets: [':9090'] ## IP Address of the localhost. Match the port to your container port
- job_name: 'node-exporter'
static_configs:
- targets: [':9100'] ## IP Address of the localhost
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment