Skip to content

[receiver/tcplog] rename to tcp_log with deprecated alias tcplog#47369

Merged
atoulme merged 7 commits into
open-telemetry:mainfrom
andrzej-stencel:rename-tcp-log-receiver
Apr 4, 2026
Merged

[receiver/tcplog] rename to tcp_log with deprecated alias tcplog#47369
atoulme merged 7 commits into
open-telemetry:mainfrom
andrzej-stencel:rename-tcp-log-receiver

Conversation

@andrzej-stencel

Copy link
Copy Markdown
Member

Part of:

Assisted-by: Cursor with Composer v2

@atoulme atoulme merged commit 3873c96 into open-telemetry:main Apr 4, 2026
186 of 192 checks passed
araiu pushed a commit to araiu/opentelemetry-collector-contrib that referenced this pull request Apr 6, 2026
emiliaFer pushed a commit to emiliaFer/opentelemetry-collector-contrib that referenced this pull request Apr 8, 2026
codeboten pushed a commit that referenced this pull request Apr 9, 2026
…ttpcheck` (#47505)

Part of:
-
#45339

#### Description

Renames the `httpcheck` receiver type to `http_check` to match the
snake_case naming convention established in
open-telemetry/opentelemetry-collector#14208.

The previous type `httpcheck` 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 (`httpcheck.*`) and the directory layout
(`receiver/httpcheckreceiver`) are intentionally unchanged to avoid
user-facing breakage and minimize churn, matching the precedent set by
other receiver renames under #45339 (e.g. #47369, #47370, #47291,
#46750, #46729).

#### Link to tracking issue
Part of #45339

#### Testing
- `make generate` regenerates `internal/metadata/generated_status.go`,
`generated_component_test.go`, `internal/metadata/config.schema.yaml`,
`internal/metadata/generated_config.go`, and `documentation.md` with the
new type
- `go test ./...` passes for the receiver
- `make lint` passes for the receiver
- `make chlog-validate` passes
- `make gendistributions` produces the same diff as the manual edits to
`reports/distributions/{contrib,k8s}.yaml`

#### Documentation
- Added a note at the top of the Configuration section in `README.md`
explaining the rename and that the deprecated alias is still accepted
- Updated all `receivers: httpcheck:` config examples in `README.md` to
`receivers: http_check:`

Signed-off-by: Nick Nikolakakis <nonicked@protonmail.com>
AndrewCharlesHay pushed a commit to AndrewCharlesHay/opentelemetry-collector-contrib that referenced this pull request Apr 23, 2026
AndrewCharlesHay pushed a commit to AndrewCharlesHay/opentelemetry-collector-contrib that referenced this pull request Apr 23, 2026
…ttpcheck` (open-telemetry#47505)

Part of:
-
open-telemetry#45339

#### Description

Renames the `httpcheck` receiver type to `http_check` to match the
snake_case naming convention established in
open-telemetry/opentelemetry-collector#14208.

The previous type `httpcheck` 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 (`httpcheck.*`) and the directory layout
(`receiver/httpcheckreceiver`) are intentionally unchanged to avoid
user-facing breakage and minimize churn, matching the precedent set by
other receiver renames under open-telemetry#45339 (e.g. open-telemetry#47369, open-telemetry#47370, open-telemetry#47291,
open-telemetry#46750, open-telemetry#46729).

#### Link to tracking issue
Part of open-telemetry#45339

#### Testing
- `make generate` regenerates `internal/metadata/generated_status.go`,
`generated_component_test.go`, `internal/metadata/config.schema.yaml`,
`internal/metadata/generated_config.go`, and `documentation.md` with the
new type
- `go test ./...` passes for the receiver
- `make lint` passes for the receiver
- `make chlog-validate` passes
- `make gendistributions` produces the same diff as the manual edits to
`reports/distributions/{contrib,k8s}.yaml`

#### Documentation
- Added a note at the top of the Configuration section in `README.md`
explaining the rename and that the deprecated alias is still accepted
- Updated all `receivers: httpcheck:` config examples in `README.md` to
`receivers: http_check:`

Signed-off-by: Nick Nikolakakis <nonicked@protonmail.com>
codeboten pushed a commit that referenced this pull request May 8, 2026
…check` (#47507)

Part of:
-
#45339

#### Description

Renames the `tcpcheck` receiver type to `tcp_check` to match the
snake_case naming convention established in
open-telemetry/opentelemetry-collector#14208.

The previous type `tcpcheck` 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 (`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 generate` regenerates `internal/metadata/generated_status.go`,
`generated_component_test.go`, `internal/metadata/config.schema.yaml`,
`internal/metadata/generated_config.go`, and `documentation.md` with the
new type
- `go test ./...` passes for the receiver (including
`TestLoadConfig/tcp_check` after updating `testdata/config.yaml`)
- `make lint` passes for the receiver
- `make chlog-validate` passes
- `make gendistributions` and `make generate-chloggen-components`
produced the same diff as my edits

#### Documentation
- Added a note at the top of the Configuration section in `README.md`
explaining the rename and that the deprecated alias is still accepted
- Updated the example config in `README.md` to use `tcp_check:`
- Updated `testdata/config.yaml` to use the new receiver key

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.

4 participants