[receiver/tcp_check] rename to tcp_check with deprecated alias tcpcheck#47507
Merged
codeboten merged 1 commit intoMay 8, 2026
Merged
Conversation
atoulme
approved these changes
Apr 9, 2026
codeboten
approved these changes
Apr 9, 2026
codeboten
reviewed
Apr 10, 2026
codeboten
left a comment
Contributor
There was a problem hiding this comment.
please resolve the conflicts so we can get this merged
560c67d to
87f82b5
Compare
Contributor
Author
|
done. |
Contributor
|
This PR was marked stale due to lack of activity. It will be closed in 14 days. |
33a7239 to
c679c1d
Compare
…check` Part of: - open-telemetry#45339 Signed-off-by: Nick Nikolakakis <nonicked@protonmail.com>
c679c1d to
9365155
Compare
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. |
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
tcpcheckreceiver type totcp_checkto match the snake_case naming convention established in open-telemetry/opentelemetry-collector#14208.The previous type
tcpcheckis preserved as a deprecated alias viaxreceiver.WithDeprecatedTypeAlias, so existing user configurations remain functional and will log a deprecation warning at startup.Metric names (
tcpcheck.*) and the directory layout (receiver/tcpcheckreceiver) are intentionally unchanged to avoid user-facing breakage, matching the precedent set by other receiver renames under #45339 (e.g. #47505, #47369, #47370, #47291, #46750, #46729).Link to tracking issue
Part of #45339
Testing
make generateregeneratesinternal/metadata/generated_status.go,generated_component_test.go,internal/metadata/config.schema.yaml,internal/metadata/generated_config.go, anddocumentation.mdwith the new typego test ./...passes for the receiver (includingTestLoadConfig/tcp_checkafter updatingtestdata/config.yaml)make lintpasses for the receivermake chlog-validatepassesmake gendistributionsandmake generate-chloggen-componentsproduced the same diff as my editsDocumentation
README.mdexplaining the rename and that the deprecated alias is still acceptedREADME.mdto usetcp_check:testdata/config.yamlto use the new receiver key