Skip to content

[27.x backport] cmd/dockerd: Add workaround for OTEL meter leak #48693

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

Merged
merged 1 commit into from
Oct 18, 2024

Conversation

vvoland
Copy link
Contributor

@vvoland vvoland commented Oct 18, 2024

OTEL meter implementation has a memory leak issue which causes each meter counter invocation to create a new instrument when the meter provider is not set.

Also add a test, which will fail once a fixed OTEL is vendored.

- What I did

- How I did it

- How to verify it

- Description for the changelog

Fix a possible memory leak caused by OTEL meters

- A picture of a cute animal (not mandatory but encouraged)

OTEL meter implementation has a memory leak issue which causes each
meter counter invocation to create a new instrument when the meter
provider is not set.

Also add a test, which will fail once a fixed OTEL is vendored.

Signed-off-by: Paweł Gronowski <[email protected]>
(cherry picked from commit cca7085)
Signed-off-by: Paweł Gronowski <[email protected]>
@vvoland vvoland added this to the 27.4.0 milestone Oct 18, 2024
@vvoland vvoland self-assigned this Oct 18, 2024
Copy link
Member

@thaJeztah thaJeztah left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@thaJeztah thaJeztah merged commit cc70286 into moby:27.x Oct 18, 2024
141 checks passed
@thaJeztah thaJeztah mentioned this pull request Dec 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment