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

Request ID #2411

Closed
wants to merge 1 commit into from
Closed

Request ID #2411

wants to merge 1 commit into from

Conversation

itowlson
Copy link
Contributor

@itowlson itowlson commented Apr 2, 2024

This is a possible approach to #2146 but I feel kinda queasy using an environment variable instead of an API but maybe that's just me

@karthik2804
Copy link
Contributor

karthik2804 commented Apr 2, 2024

I am curious if this would be needed once we have wasi-observe and otel?

@itowlson
Copy link
Contributor Author

itowlson commented Apr 3, 2024

@karthik2804 on that I was guided by #2146 (comment) but for sure I do not know enough either way

@radu-matei
Copy link
Member

Could this (also?) be a Spin variable?

@lann
Copy link
Collaborator

lann commented Apr 15, 2024

I think this may in fact be best served via wasi-observe. Distributed traces are typically keyed off of a trace ID which is either passed in via e.g. W3C Trace Context or generated by the server (if it is the first hop in the traced system). That trace ID could be emitted with logs and - if necessary - exposed to the guest via a wasi-observe import.

@itowlson itowlson closed this Jul 19, 2024
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

Successfully merging this pull request may close these issues.

4 participants