"linkerd viz edges po -A" returns "No edges found." #8192
-
I have installed the To investigate the issue, I have tried the ‼ data plane proxy metrics are present in Prometheus
Data plane metrics not found for emojivoto/vote-bot-64dd87cb87-qwl67, emojivoto/voting-f7f875999-hk69p, emojivoto/web-5798f7d79f-czq48, emojivoto/emoji-5f947b5dbd-m6shh. I am not sure if it's relevant to the Please see below my values for both charts: # values for linkerd
valuesFrom:
- kind: Secret
name: linkerd-certs
valuesKey: ca.crt
targetPath: identityTrustAnchorsPEM
- kind: Secret
name: linkerd-certs
valuesKey: issuer.crt
targetPath: identity.issuer.tls.crtPEM
- kind: Secret
name: linkerd-certs
valuesKey: issuer.key
targetPath: identity.issuer.tls.keyPEM
# Default values
# https://artifacthub.io/packages/helm/linkerd2/linkerd2
values:
installNamespace: false
enablePodAntiAffinity: true
# proxy configuration
proxy:
resources:
cpu:
request: 100m
memory:
limit: 250Mi
request: 20Mi
# controller configuration
controllerReplicas: 3
controllerResources:
cpu:
limit: ""
request: 100m
memory:
limit: 250Mi
request: 50Mi
destinationResources:
cpu:
limit: ""
request: 100m
memory:
limit: 250Mi
request: 50Mi
# identity configuration
identityResources:
cpu:
limit: ""
request: 100m
memory:
limit: 250Mi
request: 10Mi
# heartbeat configuration
heartbeatResources:
cpu:
limit: ""
request: 100m
memory:
limit: 250Mi
request: 50Mi
# proxy injector configuration
proxyInjectorResources:
cpu:
limit: ""
request: 100m
memory:
limit: 250Mi
request: 50Mi
webhookFailurePolicy: Fail
# service profile validator configuration
spValidatorResources:
cpu:
limit: ""
request: 100m
memory:
limit: 250Mi
request: 50Mi
# values for linkerd-viz
values:
linkerdNamespace: linkerd
installNamespace: false
namespace: linkerd-viz
prometheusUrl: "http://prometheus-stack-prometheus.monitoring.svc.cluster.local:9090"
grafanaUrl: "http://prometheus-stack-grafana.monitoring.svc.cluster.local:80"
grafana:
enabled: false
prometheus:
enabled: false |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Have you configured your prometheus instance with an appropriate scrape config? For example: linkerd2/viz/charts/linkerd-viz/templates/prometheus.yaml Lines 18 to 159 in 98fe879
You can always spot-check a pod's metrics without prometheus by using |
Beta Was this translation helpful? Give feedback.
-
The issue has been resolved after the prometheus scape config has been added to the existing prometheus instance. Thanks for helping out! |
Beta Was this translation helpful? Give feedback.
Have you configured your prometheus instance with an appropriate scrape config? For example:
linkerd2/viz/charts/linkerd-viz/templates/prometheus.yaml
Lines 18 to 159 in 98fe879