Codewise
Courses
My learning
Ideas
Leaderboard
YouTube
Courses
My learning
Ideas
Leaderboard
YouTube
Sign in
deploy/prometheus.yml · System Design in Go: Build a Social Network Backend | Codewise
System Design in Go: Build a Social Network Backend
murmur
/
deploy
/
prometheus.yml
main
prometheus.yml
17 lines, 353 B
Raw
1
# Who Prometheus asks for numbers, and how often.
2
global
:
3
scrape_interval
:
5s
4
5
scrape_configs
:
6
-
job_name
:
api
7
dns_sd_configs
:
8
-
names
: [
"api"
]
9
type
:
A
10
port
:
9081
11
refresh_interval
:
5s
12
-
job_name
:
worker
13
dns_sd_configs
:
14
-
names
: [
"worker"
]
15
type
:
A
16
port
:
9101
17
refresh_interval
:
5s