Skip to content

Update OTel dependencies for Alloy compatibility#26

Merged
grcevski merged 1 commit into
grafana:mainfrom
dehaansa:update-otel-139
Nov 12, 2025
Merged

Update OTel dependencies for Alloy compatibility#26
grcevski merged 1 commit into
grafana:mainfrom
dehaansa:update-otel-139

Conversation

@dehaansa

Copy link
Copy Markdown

Working on the next Alloy release's OTel dependencies grafana/alloy#4816, seeing this error during build.

Error: /go/pkg/mod/github.com/grafana/opentelemetry-ebpf-instrumentation@v1.3.6/pkg/export/otel/traces.go:217:13: cannot use convertHeaders(opts.Headers) (value of type map[string]configopaque.String) as configopaque.MapList value in struct literal
Error: /go/pkg/mod/github.com/grafana/opentelemetry-ebpf-instrumentation@v1.3.6/pkg/export/otel/traces.go:274:13: cannot use convertHeaders(opts.Headers) (value of type map[string]configopaque.String) as configopaque.MapList value in struct literal

Checklist

@codecov-commenter

codecov-commenter commented Nov 11, 2025

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 66.66667% with 1 line in your changes missing coverage. Please review.
⚠️ Please upload report for BASE (main@63d55ed). Learn more about missing BASE report.

Files with missing lines Patch % Lines
pkg/export/otel/traces.go 66.66% 1 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##             main      #26   +/-   ##
=======================================
  Coverage        ?   55.42%           
=======================================
  Files           ?      251           
  Lines           ?    21400           
  Branches        ?        0           
=======================================
  Hits            ?    11861           
  Misses          ?     8731           
  Partials        ?      808           
Flag Coverage Δ
integration-test 23.26% <0.00%> (?)
integration-test-arm 0.00% <0.00%> (?)
k8s-integration-test 2.77% <0.00%> (?)
oats-test 0.00% <0.00%> (?)
unittests 46.53% <66.66%> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@grcevski grcevski left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

LGTM!

@grcevski grcevski merged commit 5312ff6 into grafana:main Nov 12, 2025
46 checks passed
marctc pushed a commit that referenced this pull request Dec 9, 2025
Update OTel dependencies for Alloy compatibility
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants