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

Restore service.name as metric attribute #868

Merged
merged 1 commit into from
May 24, 2024
Merged

Conversation

mariomac
Copy link
Contributor

In Beyla 1.5 and lower, the OTEL exporter reported service.name both as metric and resource attribute.

This seemed like a mistake so Beyla 1.6 removed the metric attribute, and service_name was still visible in integration tests, taken from the resource attribute.

However, the service_name has dissappeared from our dashboard in Grafana Cloud, as Mimir seems to be configured to ignore that value when it is reported as resource attribute. This broke our dashboards and needs to be restored in Beyla 1.6.2.

@codecov-commenter
Copy link

codecov-commenter commented May 23, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 79.76%. Comparing base (b61e5c7) to head (d5be482).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #868      +/-   ##
==========================================
- Coverage   79.86%   79.76%   -0.10%     
==========================================
  Files         117      117              
  Lines        8054     8060       +6     
==========================================
- Hits         6432     6429       -3     
- Misses       1217     1226       +9     
  Partials      405      405              
Flag Coverage Δ
integration-test 56.42% <100.00%> (+0.05%) ⬆️
k8s-integration-test 65.13% <100.00%> (-0.02%) ⬇️
oats-test 35.94% <100.00%> (+0.04%) ⬆️
unittests 46.29% <100.00%> (+0.04%) ⬆️

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.

Copy link
Contributor

@grcevski grcevski left a comment

Choose a reason for hiding this comment

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

LGTM!

@mariomac mariomac merged commit 2daabd8 into grafana:main May 24, 2024
6 checks passed
@mariomac mariomac deleted the svcname branch May 24, 2024 08:00
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