You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As a maintainer of runwasi project, an area I've identified for improvement is the OpenTelemetry collection from containerd-shims. Currently, containerd supports collecting tracing, metrics and logs through OTLP exporters using standard OTLP env vars (e.g. #8645 and otel config options). But it lacks a similar mechanism for collecting detailed otel telemetry directly from containerd-shims.
Describe the solution you'd like
As discussed in the community meeting at April 24, 2024, we reached a consensus that a good first step to support shim otel is to pass down the OTLP env vars from containerd to the shim.
More specifically, we may want to pass these env vars to the The start command of the Shim
We have also discussed a few other approaches in the community call:
Envelope the trace span as an event to containerd
Utilize the existing ttrpc communication channels to transport telemetry data. Meaning this will define new APIs for OTEL
The above two approaches all have the same downside - exposing too much OTEL specific concepts to containerd.
I am mostly interested in the performance impact that this method might affect the performance of containerd. I'd love to gather your feedback, additional ideas, or concerns regarding the proposed method.
What is the problem you're trying to solve
As a maintainer of runwasi project, an area I've identified for improvement is the OpenTelemetry collection from containerd-shims. Currently, containerd supports collecting tracing, metrics and logs through OTLP exporters using standard OTLP env vars (e.g. #8645 and otel config options). But it lacks a similar mechanism for collecting detailed otel telemetry directly from containerd-shims.
Describe the solution you'd like
As discussed in the community meeting at April 24, 2024, we reached a consensus that a good first step to support shim otel is to pass down the OTLP env vars from containerd to the shim.
More specifically, we may want to pass these env vars to the The start command of the Shim
Additional context
We have also discussed a few other approaches in the community call:
The above two approaches all have the same downside - exposing too much OTEL specific concepts to containerd.
I am mostly interested in the performance impact that this method might affect the performance of containerd. I'd love to gather your feedback, additional ideas, or concerns regarding the proposed method.
FYI @cpuguy83 @dmcgowan
The text was updated successfully, but these errors were encountered: