Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Explore using API server tracing for additional context #10

Open
embano1 opened this issue Jun 29, 2021 · 2 comments
Open

Explore using API server tracing for additional context #10

embano1 opened this issue Jun 29, 2021 · 2 comments

Comments

@embano1
Copy link

embano1 commented Jun 29, 2021

Now that kubernetes/kubernetes#94942 has landed, we might want to think about ways to use such tracing functionality to assist users in replicating/debugging time-travel issues, e.g. by injecting custom trace data, visualizing flows, etc.

Just thinking out loud here, haven‘t spend much time thinking deeper about the applicability of tracing in the various areas of sieve (beyond detection algo).

@lalithsuresh
Copy link
Collaborator

@embano1 thanks for sharing this. This might significantly simplify some of the mechanical work we've had to do thus far in finding causally related sequences of events.

Is this tracing context propagated to clients/controllers (and are they expected to further propagate it out)?

@embano1
Copy link
Author

embano1 commented Aug 30, 2021

Sorry for my delayed response.

As per the implementation KEP (https://github.com/kubernetes/enhancements/pull/1458/files), my understanding is that for this KEP K8s controller instrumentation is out of scope, BUT incoming requests (to API server), as well as outgoing with trace information will be forwarded.

IMHO that means that if you instrument your controller accordingly (Otel) these traces should be propagated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants