We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 97218d1 commit ccff8f9Copy full SHA for ccff8f9
1 file changed
prometheus.yml
@@ -1,5 +1,4 @@
1
scrape_configs:
2
- # Scrape Prometheus server's own metrics
3
- job_name: "prometheus"
4
honor_timestamps: true
5
scrape_interval: 15s
@@ -9,11 +8,10 @@ scrape_configs:
9
8
static_configs:
10
- targets: ["localhost:9090"]
11
12
- # Scrape FastAPI app metrics
13
- job_name: "fastapi"
14
scrape_interval: 10s
15
scrape_timeout: 10s
16
metrics_path: /metrics
17
scheme: http
18
19
- - targets: ["web:8000"] # "web" is the Docker service name, or replace with host:port
+ - targets: ["web:8000"]
0 commit comments