Files
telemetry/otelcol/testdata/components-output.yaml
a287ce00b1 fix(cli): components subcommand should return providers and converters in sorted order (#14477)
<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue.
Ex. Adding a feature - Explain what this achieves.-->
#### Description

`otel components` does not print provider schemes and converter modules
in a stable order in it's output

<!-- Issue number if applicable -->
#### Link to tracking issue
Fixes #14476

<!--Describe what testing was performed and which tests were added.-->
#### Testing

Running the subcommand from the built distribution.

~I opted not to add additional tests to command_components_test.go,
since stability order for other components was not being unit-tested
either. Open to adding tests for these cases, let me know!~

added unit tests for the new providers / converters stable output &
added tests for the existing behaviour for components
(receivers,processors,exporters,connectors,extensions) that are already
output in stable order
<!--Describe the documentation added.-->
#### Documentation

N/A

---------

Co-authored-by: Evan Bradley <[email protected]>
2026-02-22 00:54:49 -08:00

51 lines
1.5 KiB
YAML

buildinfo:
command: otelcol
description: OpenTelemetry Collector
version: latest
receivers:
- name: nop
module: go.opentelemetry.io/collector/receiver/receivertest v1.2.3
stability:
logs: Stable
metrics: Stable
traces: Stable
processors:
- name: nop
module: go.opentelemetry.io/collector/processor/processortest v1.2.3
stability:
logs: Stable
metrics: Stable
traces: Stable
exporters:
- name: nop
module: go.opentelemetry.io/collector/exporter/exportertest v1.2.3
stability:
logs: Stable
metrics: Stable
traces: Stable
connectors:
- name: nop
module: go.opentelemetry.io/collector/connector/connectortest v1.2.3
stability:
logs-to-logs: Development
logs-to-metrics: Development
logs-to-traces: Development
metrics-to-logs: Development
metrics-to-metrics: Development
metrics-to-traces: Development
traces-to-logs: Development
traces-to-metrics: Development
traces-to-traces: Development
extensions:
- name: nop
module: go.opentelemetry.io/collector/extension/extensiontest v1.2.3
stability:
extension: Stable
providers:
- scheme: env
module: go.opentelemetry.io/collector/confmap/provider/testprovider v1.2.3
- scheme: file
module: go.opentelemetry.io/collector/confmap/provider/testprovider v1.2.3
converters:
- module: go.opentelemetry.io/collector/converter/testconverter v1.2.3