Skip to content

Commit ccff8f9

Browse files
committed
fix: update config
1 parent 97218d1 commit ccff8f9

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

prometheus.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
scrape_configs:
2-
# Scrape Prometheus server's own metrics
32
- job_name: "prometheus"
43
honor_timestamps: true
54
scrape_interval: 15s
@@ -9,11 +8,10 @@ scrape_configs:
98
static_configs:
109
- targets: ["localhost:9090"]
1110

12-
# Scrape FastAPI app metrics
1311
- job_name: "fastapi"
1412
scrape_interval: 10s
1513
scrape_timeout: 10s
1614
metrics_path: /metrics
1715
scheme: http
1816
static_configs:
19-
- targets: ["web:8000"] # "web" is the Docker service name, or replace with host:port
17+
- targets: ["web:8000"]

0 commit comments

Comments
 (0)