Skip to content

Commit

Permalink
Enable Prometheus scraping of Flagger metrics
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanprodan committed Oct 5, 2019
1 parent e8a2d4b commit 2141d88
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 3 additions & 1 deletion charts/flagger/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@ image:
pullPolicy: IfNotPresent
pullSecret:

podAnnotations: {}
podAnnotations:
prometheus.io/scrape: "true"
prometheus.io/port: "8080"

metricsServer: "http://prometheus:9090"

Expand Down
1 change: 1 addition & 0 deletions kustomize/base/flagger/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ spec:
app: flagger
annotations:
prometheus.io/scrape: "true"
prometheus.io/port: "8080"
spec:
serviceAccountName: flagger
containers:
Expand Down

0 comments on commit 2141d88

Please sign in to comment.