Skip to content

[receiver/tls_check] rename to tls_check with deprecated alias tlscheck#47516

Merged
atoulme merged 1 commit into
open-telemetry:mainfrom
nicknikolakakis:fix/45339-rename-tls_check-receiver
Apr 10, 2026
Merged

[receiver/tls_check] rename to tls_check with deprecated alias tlscheck#47516
atoulme merged 1 commit into
open-telemetry:mainfrom
nicknikolakakis:fix/45339-rename-tls_check-receiver

Conversation

@nicknikolakakis

Copy link
Copy Markdown
Contributor

Part of:

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 #45339.

Link to tracking issue

Part of #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:

…check`

Part of:
- open-telemetry#45339

Signed-off-by: Nick Nikolakakis <nonicked@protonmail.com>
@atoulme atoulme merged commit 5a67a11 into open-telemetry:main Apr 10, 2026
195 checks passed
@otelbot

otelbot Bot commented Apr 10, 2026

Copy link
Copy Markdown
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>
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.

3 participants