mirror of https://github.com/linkerd/linkerd2.git
jaeger: fix prometheus scrape configuration (#5979)
Fixes #5976 Currently, Jaeger and Collector components in jaeger extension do not actually support metrics scraping because relevant ports are not exposed and Prometheus annotations are not set correctly. This PR fixes those values to be the correct ones. By default, Prometheus in `linkerd-viz` does not actually scrape jaeger metrics, and additional configuration has to be applied to do the same. Signed-off-by: Tarun Pothulapati <tarunpothulapati@outlook.com>
This commit is contained in:
parent
586b08314a
commit
cceaed8da9
|
@ -96,6 +96,7 @@ spec:
|
|||
- containerPort: 55678
|
||||
- containerPort: 9411
|
||||
- containerPort: 14268
|
||||
- containerPort: 8888
|
||||
readinessProbe:
|
||||
httpGet:
|
||||
path: /
|
||||
|
@ -153,7 +154,7 @@ spec:
|
|||
metadata:
|
||||
annotations:
|
||||
prometheus.io/path: /metrics
|
||||
prometheus.io/port: "8888"
|
||||
prometheus.io/port: "14269"
|
||||
prometheus.io/scrape: "true"
|
||||
labels:
|
||||
component: jaeger
|
||||
|
@ -165,6 +166,8 @@ spec:
|
|||
imagePullPolicy: {{.Values.jaeger.image.pullPolicy}}
|
||||
name: jaeger
|
||||
ports:
|
||||
- containerPort: 14269
|
||||
name: admin
|
||||
- containerPort: 14268
|
||||
name: collection
|
||||
- containerPort: 16686
|
||||
|
|
Loading…
Reference in New Issue