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

[mdatagen] fix missing resource attributes import in metrics template #12456

Merged
merged 2 commits into from
Feb 21, 2025

Conversation

adrielp
Copy link
Contributor

@adrielp adrielp commented Feb 21, 2025

Description

Re-adds the missing import for the ResourceAttributes for metrics generation. This impacts receivers that emit resource attributes. Filter is still within the template code for resource attributes, but not imported.

Link to tracking issue

Fixes #12455

Copy link

codecov bot commented Feb 21, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 92.09%. Comparing base (6de29ce) to head (678dc2e).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main   #12456   +/-   ##
=======================================
  Coverage   92.09%   92.09%           
=======================================
  Files         465      465           
  Lines       25173    25173           
=======================================
  Hits        23184    23184           
  Misses       1592     1592           
  Partials      397      397           

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

@bogdandrutu bogdandrutu added this pull request to the merge queue Feb 21, 2025
Merged via the queue into open-telemetry:main with commit bf1a374 Feb 21, 2025
54 of 55 checks passed
@adrielp adrielp deleted the mdatagen-fix branch February 21, 2025 20:15
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.

[mdatagen] templates not rendering correctly when running against v0.120.0 of mdatagen
3 participants