Skip to content

Conversation

@artem-tkachuk
Copy link

No description provided.

- Add internal/otelx with Setup/WrapHandler/WrapTransport/EnrichLogger (noop impl)
- main: call otelx.Setup and wrap registry/metrics servers via otelx.WrapHandler
- Plugs in minimal telemetry lifecycle without adding new deps yet
- NewClient: wrap http.Transport with otelx.WrapTransport (noop by default)
- Preserves existing timeouts and custom transport while enabling tracing later
- p2p: add spans around bootstrapper.Run, ensureOnline, and Lookup
- otelx: add StartSpan(ctx,name) helper (noop by default)
- otelx: add WithEnrichedLogger helper
- registry: use otelx.EnrichLogger for manifest/blob write errors
- Add otelx_otel.go with OTLP HTTP exporter setup
- Add Helm values for OTEL config (endpoint, insecure, serviceName, sampler)
- Wire Helm values to DaemonSet args (otel-enabled, otel-endpoint, etc)
- Add RegistryCmd fields for OTEL config
- Conditionally initialize OTEL in main.go only when enabled
- Add newSampler helper for trace sampling configuration
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.

1 participant