serving icon indicating copy to clipboard operation
serving copied to clipboard

End to end traces from queue proxy

Open mdemirhan opened this issue 7 years ago • 9 comments

/area monitoring

We used to rely on Istio proxy and Istio proxy was taking care of sending end to end traces to Zipkin/Jaeger. However; Istio proxy is now an optional thing and doesn't come enabled in all setups. We should evaluate sending end to end traces from queue proxy when Istio proxy is not enabled.

mdemirhan avatar Apr 25 '19 17:04 mdemirhan

I can start looking into this one.

bvennam avatar May 01 '19 20:05 bvennam

/assign @beemarie

mdemirhan avatar May 03 '19 21:05 mdemirhan

@mdemirhan: GitHub didn't allow me to assign the following users: beemarie.

Note that only knative members and repo collaborators can be assigned and that issues/PRs can only have 10 assignees at the same time. For more information please see the contributor guide

In response to this:

/assign @beemarie

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

knative-prow-robot avatar May 03 '19 21:05 knative-prow-robot

@beemarie, you need to join to knative members before we can assign this to you.

mdemirhan avatar May 03 '19 21:05 mdemirhan

Based on the roles, these are the requirements to be a member, and get items assigned: https://github.com/knative/docs/blob/master/contributing/ROLES.md#role-summary

I wouldn't say I'm a "regular, active member of the community" yet. It does seem like we should be able to assign issues to collaborators though, right?

bvennam avatar May 08 '19 14:05 bvennam

I agree with that. It allows assigning issues to repo collaborators, but I dont know how you get to be a repo collaborator. @mchmarny @mattmoor any ideas?

mdemirhan avatar May 10 '19 17:05 mdemirhan

Still working through this one -- I want the queue proxy to have access to the tracing config map, so that it can listen and make any required updates. (Similar to how this is done in the activator)

I don't have access to the config map, since it's in a different namespace: E0603 21:47:22.819629 1 reflector.go:134] k8s.io/client-go/informers/factory.go:131: Failed to list *v1.ConfigMap: configmaps is forbidden: User "system:serviceaccount:default:default" cannot list resource "configmaps" in API group "" in the namespace "knative-serving"

Was speaking with @greghaynes, and he suggested that one option is to do something similar to what we do for logging -- convert the config to env vars and inject those. https://github.com/knative/serving/blob/master/pkg/reconciler/revision/resources/queue.go#L231

Does this sound like a reasonable approach @mdemirhan @mattmoor?

bvennam avatar Jun 04 '19 13:06 bvennam

@beemarie to me at least it does. Accessing the configmap as you pointed out is no good as the pod would need elevated rights to do that.

markusthoemmes avatar Jun 04 '19 13:06 markusthoemmes

/assign @beemarie

markusthoemmes avatar Jul 16 '19 13:07 markusthoemmes