Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

metricutil: switch to using the cli meter provider #2373

Merged
merged 1 commit into from
Apr 4, 2024

Commits on Apr 2, 2024

  1. metricutil: switch to using the cli meter provider

    The meter provider initialization that was located here has now been
    moved to a common area in the docker cli. This upgrades our CLI version
    and then uses this common code instead of our own version.
    
    As a piece of additional functionality, the docker OTEL endpoint can now
    be overwritten with `DOCKER_CLI_OTEL_EXPORTER_OTLP_ENDPOINT` for
    testing.
    
    This removes the OTLP exporter from the CLI that was previously locked
    behind `BUILDX_EXPERIMENTAL`. I do plan for this to return, but as a
    proper part of the `docker/cli` implementation rather than something
    special with `buildx`.
    
    Signed-off-by: Jonathan A. Sternberg <jonathan.sternberg@docker.com>
    jsternberg committed Apr 2, 2024
    Configuration menu
    Copy the full SHA
    b4799f9 View commit details
    Browse the repository at this point in the history