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

Make otelarrow admission control metrics consistent #36359

Merged
merged 18 commits into from
Nov 15, 2024

Conversation

jmacd
Copy link
Contributor

@jmacd jmacd commented Nov 13, 2024

Description

The OTel-Arrow receiver has metric instruments which are not perfectly useful because they were applied inconsistently. To make these consistent and simplify the implementation, the instruments are moved from the Arrow-specific receiver code path to the new admission controller and provided through asynchronous instruments.

This means that the admission controller, which applies to both OTLP and Arrow data paths, reflects resources acquired by both paths consistently. Note that this PR is a draft because it has to be applied after #36141.

The former use of synchronous instruments required two calls per acquire, whereas the use of asynchronous instruments probes the controller twice per collection interval.

Note that because the admission controller only sees bytes acquired, the former counters for requests-in-flight and items-in-flight have been removed. We do not believe these were very useful.

Link to tracking issue

Fixes #36334

Testing

Documentation

@jmacd jmacd closed this Nov 14, 2024
@jmacd jmacd reopened this Nov 14, 2024
@jmacd jmacd marked this pull request as ready for review November 14, 2024 17:42
@jmacd jmacd requested a review from a team as a code owner November 14, 2024 17:42
@jmacd jmacd requested a review from ChrsMark November 14, 2024 17:42
@djaglowski djaglowski merged commit a7d32bf into open-telemetry:main Nov 15, 2024
160 checks passed
@github-actions github-actions bot added this to the next release milestone Nov 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Make otelarrow receiver metrics consistent
5 participants