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

Promote confmap.strictlyTypedInput feature gate to beta #10554

Merged
merged 10 commits into from
Jul 12, 2024

Conversation

@mx-psi mx-psi added the release:blocker The issue must be resolved before cutting the next release label Jul 8, 2024
mx-psi added a commit that referenced this pull request Jul 8, 2024
<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue.
Ex. Adding a feature - Explain what this achieves.-->
#### Description

Uses string type for `unit` field in mdatagen related files.

<!-- Issue number if applicable -->
#### Link to tracking issue

Needed for #10554
codeboten pushed a commit to open-telemetry/opentelemetry-collector-contrib that referenced this pull request Jul 8, 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 that referenced this pull request Jul 9, 2024
…0559)

<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue.
Ex. Adding a feature - Explain what this achieves.-->
#### Description

<!-- Issue number if applicable -->

Adds string representation to all inputs returned by mock env provider
used in tests.

The real `env` provider (and all other providers on this repository) do
this by default since they use `NewRetrievedFromYAML`.

Note that certain types are not really obtainable with the real `env`
provider (e.g. `int32` or `float64`). I have kept them and added the
string representation manually.

#### Link to tracking issue

Needed for #10554

Co-authored-by: Alex Boten <223565+codeboten@users.noreply.github.com>
mx-psi added a commit to open-telemetry/opentelemetry-collector-contrib that referenced this pull request Jul 9, 2024
**Description:**

`headers` values are `configopaque.String`s, so integers make `confmap`
sad

**Link to tracking Issue:** Needed for
open-telemetry/opentelemetry-collector/pull/10554
Copy link

codecov bot commented Jul 9, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 92.28%. Comparing base (30de685) to head (db82caf).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #10554      +/-   ##
==========================================
- Coverage   92.34%   92.28%   -0.06%     
==========================================
  Files         395      395              
  Lines       18686    18686              
==========================================
- Hits        17255    17244      -11     
- Misses       1070     1084      +14     
+ Partials      361      358       -3     

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

codeboten pushed a commit to open-telemetry/opentelemetry-collector-contrib that referenced this pull request Jul 10, 2024
…version (#33992)

Changes examples for `api_version` to make sure they use a string
instead of a float

**Link to tracking Issue:** Required for
open-telemetry/opentelemetry-collector/pull/10554
mx-psi added a commit to open-telemetry/opentelemetry-collector-contrib that referenced this pull request Jul 11, 2024
Make room for
open-telemetry/opentelemetry-collector#10554

---------

Co-authored-by: Pablo Baeyens <pablo.baeyens@datadoghq.com>
@mx-psi mx-psi marked this pull request as ready for review July 11, 2024 10:27
@mx-psi mx-psi requested review from a team and atoulme July 11, 2024 10:27
@mx-psi mx-psi requested review from codeboten and TylerHelmuth July 11, 2024 10:27
@mx-psi mx-psi merged commit 6227646 into open-telemetry:main Jul 12, 2024
67 checks passed
@github-actions github-actions bot added this to the next release milestone Jul 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release:blocker The issue must be resolved before cutting the next release
Projects
None yet
3 participants