[receiver/tls_check] rename to tls_check with deprecated alias tlscheck#47516
Merged
atoulme merged 1 commit intoApr 10, 2026
Merged
Conversation
…check` Part of: - open-telemetry#45339 Signed-off-by: Nick Nikolakakis <nonicked@protonmail.com>
atoulme
approved these changes
Apr 10, 2026
Contributor
|
Thank you for your contribution @nicknikolakakis! 🎉 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. |
AndrewCharlesHay
pushed a commit
to AndrewCharlesHay/opentelemetry-collector-contrib
that referenced
this pull request
Apr 23, 2026
…check` (open-telemetry#47516) Part of: - open-telemetry#45339 #### Description Renames the `tlscheck` receiver type to `tls_check` to match the snake_case naming convention established in open-telemetry/opentelemetry-collector#14208. The previous type `tlscheck` is preserved as a deprecated alias via `xreceiver.WithDeprecatedTypeAlias`, so existing user configurations remain functional and will log a deprecation warning at startup. Metric names (`tlscheck.*`) and the directory layout (`receiver/tlscheckreceiver`) are intentionally unchanged to avoid user-facing breakage, matching the precedent set by other receiver renames under open-telemetry#45339. #### Link to tracking issue Part of open-telemetry#45339 #### Testing - `make generate` regenerates all metadata files with the new type - `go test ./...` passes - `make lint` passes (via `make generate` which includes `fmt` + `gci`) - `make chlog-validate` passes - `make gendistributions` and `make generate-chloggen-components` produce matching diffs #### Documentation - Added deprecation note in `README.md` - Updated the config example to use `tls_check:` Signed-off-by: Nick Nikolakakis <nonicked@protonmail.com>
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.
Part of:
Description
Renames the
tlscheckreceiver type totls_checkto match the snake_case naming convention established in open-telemetry/opentelemetry-collector#14208.The previous type
tlscheckis preserved as a deprecated alias viaxreceiver.WithDeprecatedTypeAlias, so existing user configurations remain functional and will log a deprecation warning at startup.Metric names (
tlscheck.*) and the directory layout (receiver/tlscheckreceiver) are intentionally unchanged to avoid user-facing breakage, matching the precedent set by other receiver renames under #45339.Link to tracking issue
Part of #45339
Testing
make generateregenerates all metadata files with the new typego test ./...passesmake lintpasses (viamake generatewhich includesfmt+gci)make chlog-validatepassesmake gendistributionsandmake generate-chloggen-componentsproduce matching diffsDocumentation
README.mdtls_check: