Skip to content

Commit

Permalink
feat: configure Prometheus and Grafana monitoring setup
Browse files Browse the repository at this point in the history
  • Loading branch information
paulcyi committed Oct 25, 2024
1 parent 3900dde commit 4e96c81
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions prometheus.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
global:
scrape_interval: 15s # How often to scrape metrics
scrape_interval: 15s

scrape_configs:
- job_name: 'fastapi-app'
metrics_path: /metrics # Prometheus scrapes the /metrics endpoint
- job_name: 'healthcare-pipeline'
static_configs:
- targets: ['app:8000'] # 'app' refers to your FastAPI service
- targets: ['app:8000']
metrics_path: '/metrics'

0 comments on commit 4e96c81

Please sign in to comment.