Created
January 10, 2022 19:54
-
-
Save Rigil-Kent/d81d7d75d38dc40186a21554dc6686e7 to your computer and use it in GitHub Desktop.
Prometheus docker
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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