Replies: 10 comments 4 replies
-
@parkee Would you mind trying the latest edge release? There is a recent fix in the proxy that may resolve this issue. Keep me posted. |
Beta Was this translation helpful? Give feedback.
-
@ihcsim
|
Beta Was this translation helpful? Give feedback.
-
There are some |
Beta Was this translation helpful? Give feedback.
-
@ihcsim yes, services can talk other, also I tried to I wonder what does that one mean: |
Beta Was this translation helpful? Give feedback.
-
The warning should be irrelevant - we will need to investigate it separately. @Pothulapati Any idea where @parkee can't see traces from their services? Header propagation is enabled in their services, but not span emissions. Is that relevant? |
Beta Was this translation helpful? Give feedback.
-
@parkee I just tried the demo application with the latest edge, and it works correctly.
Hmm weird, as the logs look okay. Are you sure that you are using b3 propogation i.e opencensus client in your application as per https://linkerd.io/2/tasks/distributed-tracing/#i-dont-see-any-spans-for-the-proxies ? |
Beta Was this translation helpful? Give feedback.
-
@Pothulapati Also, separate question, if some service doesn't support b3 propagation (such as simple service with static resources), in this case, linkerd won't send any spans at all? |
Beta Was this translation helpful? Give feedback.
-
@parkee Yep, Linkerd proxy only sends spans if there is a header with b3 propogation format. Can you produce some I think, We did not go through that route as there is not much use with the proxy spans if you can't see them in the global context. Also. because we don't start traces as we don't do ingress stuff and we don't want to deal with sampling stuff. |
Beta Was this translation helpful? Give feedback.
-
@Pothulapati Yea, that's a separate discussion, but it would really be cool to have the feature. |
Beta Was this translation helpful? Give feedback.
-
@Pothulapati Also, I want to clarify if I use the correct link to push traces from my app now |
Beta Was this translation helpful? Give feedback.
-
Bug Report
What is the issue?
I don't see any traces from my services.
How can it be reproduced?
I'm running a private GKE cluster with empty network policies and workload identity enabled. Container Native Load Balancer is used as an ingress controller.
I have installed linkerd in the linkerd namespace (via Helm) with tracing enabled (slightly modified to push data to stackdriver trace as well as standard jaeger) and HA mode. Also, I have my services running in the separate
prod
namespace.Also, added the following annotations to the
prod
namespace (tried adding to the pod template as well just out of desperation):Helm chart has the following related config:
Logs, error output, etc
After enabling debug logs and debug proxy I see the following:
So looks like there's traffic flowing to the correctly resolved IP and port 55678
The proxy itself has the following logs:
That
querying: linkerd-collector.linkerd.prod.svc.cluster.local
confuses me as I'm not sure why it has myprod
namespace on the path, but at the end looks like it's able to resolve the correct IP (Connecting peer.addr=10.4.76.48:55678
)In the end, I see some linkerd traces in both jaeger and stackdriver, for example:
etc
But I don't see any traces from my services (in the
prod
namespace).I enabled header propagation in my services, but disabled span emission from services (want to see what linkerd-proxy would emit and then enrich with my data if needed).
GRPC is used as a way of communication between services.
Any suggestions on where to look? To me, it looks like there're no issues in configuration and networking as it resolves the IP and makes some connections to the IP and port 55678. But I'm not sure how to figure out why it gets lost later down the road.
At the same time, I see seemingly correct data on the Graphana dashboards (requests, latency, etc)
linkerd check
outputEnvironment
Beta Was this translation helpful? Give feedback.
All reactions