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

[chore] Use string for unit type #10555

Merged
merged 1 commit into from
Jul 8, 2024

Conversation

mx-psi
Copy link
Member

@mx-psi mx-psi commented Jul 8, 2024

Description

Uses string type for unit field in mdatagen related files.

Link to tracking issue

Needed for #10554

Copy link
Contributor

@codeboten codeboten left a comment

Choose a reason for hiding this comment

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

We should probably also update these units to follow semconv, can be done in a separate PR... not sure if that's a breaking change or not

@codeboten
Copy link
Contributor

Opened #10556 to follow up

@mx-psi mx-psi marked this pull request as ready for review July 8, 2024 14:45
@mx-psi mx-psi requested review from a team and dmitryax July 8, 2024 14:45
Copy link

codecov bot commented Jul 8, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 92.35%. Comparing base (b127da0) to head (a0a3d5a).

Additional details and impacted files
@@           Coverage Diff           @@
##             main   #10555   +/-   ##
=======================================
  Coverage   92.35%   92.35%           
=======================================
  Files         393      393           
  Lines       18622    18622           
=======================================
  Hits        17199    17199           
  Misses       1066     1066           
  Partials      357      357           

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

@mx-psi mx-psi merged commit a8b5f8d into open-telemetry:main Jul 8, 2024
41 of 67 checks passed
@github-actions github-actions bot added this to the next release milestone Jul 8, 2024
mx-psi added a commit that referenced this pull request Jul 12, 2024
<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue.
Ex. Adding a feature - Explain what this achieves.-->
#### Description

Makes type resolution strict and conforming to the behavior described in
[the env vars
RFC](https://github.com/open-telemetry/opentelemetry-collector/blob/main/docs/rfcs/env-vars.md)

Depends on:

- #10553
- #10555
- #10559
- open-telemetry/opentelemetry-collector-contrib/pull/33950

<!-- Issue number if applicable -->
#### Link to tracking issue
Fixes #9532, Fixes #8565

---------

Co-authored-by: Alex Boten <223565+codeboten@users.noreply.github.com>
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.

2 participants