[chore] (pkg/ottl) migrate feature gates to metadata.yaml#48240
Merged
edmocosta merged 2 commits intoMay 12, 2026
Merged
Conversation
749b459 to
0d9fff3
Compare
Contributor
|
Thank you for your contribution @agarvin-nr! 🎉 We would like to hear from you about your experience contributing to OpenTelemetry by taking a few minutes to fill out this survey. If you are getting started contributing, you can also join the CNCF Slack channel #opentelemetry-new-contributors to ask for guidance and get help. |
This was referenced May 12, 2026
This was referenced May 18, 2026
mx-psi
pushed a commit
that referenced
this pull request
May 19, 2026
) #### Description Migrate the `exporter.signalfx.consumeEntityEvents` feature gate to be declared in `metadata.yaml` and code-generated via `mdatagen`, matching the convention enforced by the `forbidigo` linter introduced in #47506. This continues the work tracked in #46116, following the same pattern as recent migrations (#48066, #48240, #48281, #47893). No behavior change for users: the feature gate ID, stage, description, and `from_version` are preserved exactly. A `reference_url` was added pointing to the PR that introduced the gate (#45595), which is required by mdatagen. #### Link to tracking issue Updates #46116 #### Testing From `exporter/signalfxexporter`: - `make mdatagen` — clean re-generation, no diff after `make fmt && make gci`. - `go build ./...` — passes. - `go test ./... -count=1` — passes. - `golangci-lint run --config=<repo>/.golangci.yml ./...` (v2.7) — clean. #### Documentation `documentation.md` is now generated from `metadata.yaml` and lists the feature gate. Signed-off-by: iahsanGill <mgill.bese22seecs@seecs.edu.pk>
ben-trans
pushed a commit
to ben-trans/opentelemetry-collector-contrib
that referenced
this pull request
May 25, 2026
…n-telemetry#48466) #### Description Migrate the `exporter.signalfx.consumeEntityEvents` feature gate to be declared in `metadata.yaml` and code-generated via `mdatagen`, matching the convention enforced by the `forbidigo` linter introduced in open-telemetry#47506. This continues the work tracked in open-telemetry#46116, following the same pattern as recent migrations (open-telemetry#48066, open-telemetry#48240, open-telemetry#48281, open-telemetry#47893). No behavior change for users: the feature gate ID, stage, description, and `from_version` are preserved exactly. A `reference_url` was added pointing to the PR that introduced the gate (open-telemetry#45595), which is required by mdatagen. #### Link to tracking issue Updates open-telemetry#46116 #### Testing From `exporter/signalfxexporter`: - `make mdatagen` — clean re-generation, no diff after `make fmt && make gci`. - `go build ./...` — passes. - `go test ./... -count=1` — passes. - `golangci-lint run --config=<repo>/.golangci.yml ./...` (v2.7) — clean. #### Documentation `documentation.md` is now generated from `metadata.yaml` and lists the feature gate. Signed-off-by: iahsanGill <mgill.bese22seecs@seecs.edu.pk>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
pkg/ottlfeature gates to metadata.yaml:ottl.PanicDuplicateNameottl.contexts.enableOtelColContextottl.PanicDuplicateNamewith 'from' version and reference URLforbidigolinter exclusion frompgk/ottlLink to tracking issue
Part of #46116
Testing
make testandmake lint