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

[27.x backport] telemetry: fix early meterprovider shutdown #5457

Merged
merged 1 commit into from
Sep 20, 2024

Commits on Sep 20, 2024

  1. telemetry: fix early meterprovider shutdown

    In 4b5a196, we changed the CLI global
    meter provider shutdown in order to handle any error returned by the
    metric export.
    
    Unfortunately, we dropped a `defer` during the fix, which
    causes the meter provider to be immediately shutdown after being created
    and metrics to not be collected/exporter.
    
    Signed-off-by: Laura Brehm <laurabrehm@hey.com>
    (cherry picked from commit 1355d7e)
    Signed-off-by: Laura Brehm <laurabrehm@hey.com>
    laurazard committed Sep 20, 2024
    Configuration menu
    Copy the full SHA
    460f1be View commit details
    Browse the repository at this point in the history