fix(pyroscope.ebpf): Use meter noop in otel-ebpf-profiler#4920
Merged
Conversation
With a recent change, the default meter provider was no longer initialized. This change disables the otel-ebpf-profiler internal metrics to avoid warnings like this to appear: ``` WARN[0121] Invalid metric id 102, skipping WARN[0121] Invalid metric id 272, skipping ```
Contributor
Author
|
@bobrik thanks for noticing and reporting: |
dehaansa
approved these changes
Nov 24, 2025
Contributor
Author
|
@jharvey10 it would be great, if you could include this into the next rc for v1.12 |
jharvey10
pushed a commit
that referenced
this pull request
Nov 24, 2025
With a recent change, the default meter provider was no longer initialized. This change disables the otel-ebpf-profiler internal metrics to avoid warnings like this to appear: ``` WARN[0121] Invalid metric id 102, skipping WARN[0121] Invalid metric id 272, skipping ```
Merged
jharvey10
added a commit
that referenced
this pull request
Nov 24, 2025
* ci: sync publish workflow with main * Vendor Alertmanager config (#4905) * Vendor Alertmanager config * Apply suggestions from code review Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * beyla: add meta_cache_address to beyla.ebpf.attributes.kubernetes (#4871) * beyla: add meta_cache_address to beyla.ebpf.attributes.kubernetes * chore: update changelog * chore: lint --------- Co-authored-by: Clayton Cornell <131809008+clayton-cornell@users.noreply.github.com> * Upgrade Beyla component to 2.7.7 (#4891) * upgrade beyla to 2.7.7 * update to Beyla 2.7.8 * update docs * fix(pyroscope.ebpf): Use meter noop in otel-ebpf-profiler (#4920) With a recent change, the default meter provider was no longer initialized. This change disables the otel-ebpf-profiler internal metrics to avoid warnings like this to appear: ``` WARN[0121] Invalid metric id 102, skipping WARN[0121] Invalid metric id 272, skipping ``` * bump rc version in changelog --------- Co-authored-by: Paulin Todev <paulin.todev@gmail.com> Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Co-authored-by: Stephen Lang <skl@users.noreply.github.com> Co-authored-by: Clayton Cornell <131809008+clayton-cornell@users.noreply.github.com> Co-authored-by: Nikola Grcevski <6207777+grcevski@users.noreply.github.com> Co-authored-by: Christian Simon <simon@swine.de>
dehaansa
pushed a commit
to madhub/alloy
that referenced
this pull request
Dec 10, 2025
With a recent change, the default meter provider was no longer initialized. This change disables the otel-ebpf-profiler internal metrics to avoid warnings like this to appear: ``` WARN[0121] Invalid metric id 102, skipping WARN[0121] Invalid metric id 272, skipping ```
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
With a recent change, the default meter provider was no longer
initialized. This change disables the otel-ebpf-profiler internal
metrics to avoid warnings like this to appear: