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 #33950

Merged
merged 2 commits 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 open-telemetry/opentelemetry-collector/pull/10554

@codeboten codeboten merged commit 8fc9527 into open-telemetry:main Jul 8, 2024
154 checks passed
@github-actions github-actions bot added this to the next release milestone Jul 8, 2024
cparkins pushed a commit to AmadeusITGroup/opentelemetry-collector-contrib that referenced this pull request Jul 11, 2024
Uses string type for `unit` field in mdatagen related files.

**Link to tracking Issue:** Needed for
open-telemetry/opentelemetry-collector/pull/10554
mx-psi added a commit to open-telemetry/opentelemetry-collector 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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants