-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathprometheus.yml
More file actions
21 lines (18 loc) · 814 Bytes
/
prometheus.yml
File metadata and controls
21 lines (18 loc) · 814 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
global:
scrape_interval: 15s # By default, scrape targets every 15 seconds.
# Configuration for scraping individual services
scrape_configs:
# Configuration for scraping Prometheus itself
- job_name: 'prometheus'
dns_sd_configs:
- names: ['RENDER_SERVICE_NAME-discovery']
port: 9090
type: A # Render service discovery uses A records
refresh_interval: 5s # Refresh the list of targets every 5 seconds
# Uncomment to add a job for scraping another Render service
# - job_name: 'REPLACE_ME' # Replace w/ your service's name
# dns_sd_configs:
# - names: ['REPLACE_ME-discovery'] # Replace w/ your service's name + '-discovery'
# port: REPLACE_ME # Replace w/ the port for your service's metrics endpoint
# type: A
# refresh_interval: 5s