Created
July 9, 2020 15:29
-
-
Save ramesh-lingappan/eeccdb2311d3a27b17c0b3bebc7f8ea1 to your computer and use it in GitHub Desktop.
pushgateway sample prometheus config file
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
# my global config | |
global: | |
scrape_interval: 15s # By default, scrape targets every 15 seconds. | |
evaluation_interval: 15s # By default, scrape targets every 15 seconds. | |
scrape_configs: | |
- job_name: 'prometheus' | |
scrape_interval: 5s | |
static_configs: | |
- targets: ['localhost:9090'] | |
- job_name: 'Pushgateway' | |
scrape_interval: 5s | |
honor_labels: true | |
static_configs: | |
- targets: ['host.docker.internal:9091'] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment