-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Closed
Description
Description
Goal:
Moving the OTEL bits and bobs out of the "compose wrapper", consolidating the features into the CLI itself, so we can later axe 🪓 the whole wrapper once all it's functionality has been moved/replaced.
Stuff to do:
- Create basic OTEL infra the CLI project
(cli: add otel sdk tracing and metric providers to the core cli #4889 creates some basic sdk abstractions to share); - Move basic OTEL helpers from the wrapper to the CLI project and adapt/create what's necessary.
Check here for some of the current impl - Move necessary logic from
reporter.goandclient.goin the wrapper to the CLI (adapting what's necessary to otel)
Check reporter.go and client.go - Use the new common OTEL bits to instrument the CLI project itself, recreating CLI specific metrics/traces initially defined in the wrapper (check if carrying Add OTEL support (carry 4556) #4698 is worth it). Done via Initial otel implementation #4940
- Adapt projs/plugins (eg compose, buildx, ...) to use the new shared code wherever possible
- Remove otel bits from the wrapper (optional if we already merged Introduce support for CLI plugin hooks #4376, since we can remove the whole wrapper)
- Profit
Metadata
Metadata
Assignees
Labels
No labels