Skip to content
This repository has been archived by the owner on May 18, 2020. It is now read-only.

Commit

Permalink
Add prometheus scrape annotations
Browse files Browse the repository at this point in the history
  • Loading branch information
objectiser committed Sep 13, 2018
1 parent 83ad0cb commit 8c3c7cd
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
3 changes: 3 additions & 0 deletions all-in-one/jaeger-all-in-one-template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,9 @@ objects:
labels:
app: jaeger
jaeger-infra: jaeger-pod
annotations:
prometheus.io/scrape: "true"
prometheus.io/port: "16686"
spec:
containers:
- env:
Expand Down
6 changes: 6 additions & 0 deletions production/jaeger-production-template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,9 @@ objects:
labels:
app: jaeger
jaeger-infra: collector-pod
annotations:
prometheus.io/scrape: "true"
prometheus.io/port: "14268"
spec:
containers:
- image: jaegertracing/jaeger-collector:${IMAGE_VERSION}
Expand Down Expand Up @@ -151,6 +154,9 @@ objects:
labels:
app: jaeger
jaeger-infra: query-pod
annotations:
prometheus.io/scrape: "true"
prometheus.io/port: "16686"
spec:
containers:
- image: jaegertracing/jaeger-query:${IMAGE_VERSION}
Expand Down

0 comments on commit 8c3c7cd

Please sign in to comment.