Skip to content

Commit

Permalink
Adding monitoring of fastapi app
Browse files Browse the repository at this point in the history
  • Loading branch information
gitkvark committed Dec 27, 2023
1 parent 8c0c6fa commit 625795b
Showing 1 changed file with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,5 +41,15 @@ prometheus:
- targetPort: 8008
interval: 15s
scrapeTimeout: 10s
- name: "fastapi_app"
selector:
matchLabels:
name: fastapi-app
namespaceSelector:
any: true
podMetricsEndpoints:
- targetPort: 8000
interval: 15s
scrapeTimeout: 10s
# Full reference:
# https://github.com/prometheus-community/helm-charts/blob/main/charts/kube-prometheus-stack/values.yaml

0 comments on commit 625795b

Please sign in to comment.