Repository navigation
add opentelemetry tracing - #136
Merged
Merged
Conversation
Introduce a standalone Go module at pkg/tracing that configures the OpenTelemetry trace SDK with OTLP gRPC or stdout exporters. The package uses functional options and can be imported by this project and other projects independently. Signed-off-by: Nina Bongartz <pninak@web.de>
Initialize the trace SDK at agent startup using pkg/tracing and create spans around each model validation run with method, path, and type (initial/periodic) attributes. Tracing failure is non-fatal — the agent continues without it. Also updates the agent Dockerfile to include the pkg/tracing sub-module and adds a test-tracing Makefile target. Signed-off-by: Nina Bongartz <pninak@web.de>
Introduce a namespace-scoped TelemetryConfig CRD that controls OpenTelemetry environment variables injected into validation agent containers. Uses Prometheus-style namespaceSelector and selector fields to match across the cluster — an empty selector matches everything, specific selectors narrow scope. The webhook looks up the best matching TelemetryConfig at injection time and sets OTEL_* env vars on the container. Signed-off-by: Nina Bongartz <pninak@web.de>
Signed-off-by: Nina Bongartz <pninak@web.de>
miyunari
force-pushed
the
feat/opentelemetry-tracing
branch
from
May 11, 2026 12:06
c69216c to
be1ac5c
Compare
SequeI
approved these changes
May 13, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Release Note
Documentation