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

util: expose otel metrics through grpc and prometheus #4460

Merged
merged 1 commit into from
Dec 12, 2023

Commits on Dec 12, 2023

  1. util: expose otel metrics through grpc and prometheus

    This exposes the otel metrics through the environment variables for the
    otel collector or through the prometheus `/metrics` endpoint through the
    debug address.
    
    This also adds metrics for the grpc endpoints from the opentelemetry
    libraries.
    
    For the opentelemetry collector, the metric temporality is delta which
    reduces the amount of data that goes over the wire overall. Prometheus
    metrics are cumulative because prometheus metrics require that.
    
    Signed-off-by: Jonathan A. Sternberg <jonathan.sternberg@docker.com>
    jsternberg committed Dec 12, 2023
    Configuration menu
    Copy the full SHA
    7de2e4f View commit details
    Browse the repository at this point in the history