Skip to content

Instantly share code, notes, and snippets.

@javatodev
Created September 24, 2021 15:11
Show Gist options
  • Save javatodev/b01752b072fee3e09d7bc58595c70bd0 to your computer and use it in GitHub Desktop.
Save javatodev/b01752b072fee3e09d7bc58595c70bd0 to your computer and use it in GitHub Desktop.
global:
scrape_interval: 15s # Set the scrape interval to every 15 seconds. Default is every 1 minute.
evaluation_interval: 15s # Evaluate rules every 15 seconds. The default is every 1 minute.
# scrape_timeout is set to the global default (10s).
scrape_configs:
- job_name: 'prometheus'
static_configs:
- targets: [ '127.0.0.1:9090' ]
- job_name: 'ennoblex_springboot_app'
metrics_path: '/actuator/prometheus'
scrape_interval: 5s
static_configs:
- targets: ['192.168.8.108:8088']
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment