Skip to content

Conversation

@Mossaka
Copy link
Member

@Mossaka Mossaka commented Jan 29, 2025

This enables the opentelemetry feature from the containerd-shim-wasm which provides otel for the shim process. Before containerd-shim-wasm v0.9.0, the container process would inherit the otel runtime from the shim process, and thus causing a conflict with the spin telemetry runtime. Now, the container process was initialized (a.k.a zygote process) at the very begining when the shim process is in a clean state, and so it is free to initialize it's own otel runtime.

This PR builds on top of #271

FYI @calebschoepp

Example

image

Base automatically changed from bump-containerd-shim-wasm to main January 30, 2025 00:47
@kate-goldenring
Copy link
Collaborator

@Mossaka what is the flow for configuring an OTEL ingester in your example? I am assuming that otel config needs to be passed somewhere else besides the container spec

@Mossaka
Copy link
Member Author

Mossaka commented Jan 30, 2025

@Mossaka what is the flow for configuring an OTEL ingester in your example?

It's passed down by containerd. https://github.com/containerd/runwasi/blob/main/docs/opentelemetry.md

@Mossaka Mossaka closed this Jan 31, 2025
@Mossaka Mossaka reopened this Jan 31, 2025
@Mossaka
Copy link
Member Author

Mossaka commented Feb 12, 2025

I am going to merge this in now and let me know if you have further comments on this PR. @calebschoepp

@Mossaka Mossaka merged commit 08504b1 into main Feb 12, 2025
8 checks passed
@Mossaka Mossaka deleted the enable-shim-otel branch February 12, 2025 19:06
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.

3 participants