Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for providers in components command #11900

Open
wants to merge 8 commits into
base: main
Choose a base branch
from

Conversation

ChrsMark
Copy link
Member

Description

This PR adds support for printing config providers with the components command.

Link to tracking issue

Related to #11570

Testing

Documentation

Signed-off-by: ChrsMark <[email protected]>
Signed-off-by: ChrsMark <[email protected]>
Signed-off-by: ChrsMark <[email protected]>
@ChrsMark
Copy link
Member Author

Sample output

./bin/otelcorecol_linux_amd64 components
buildinfo:
    command: otelcorecol
    description: Local OpenTelemetry Collector binary, testing only.
    version: 0.115.0-dev
receivers:
    - name: nop
      module: go.opentelemetry.io/collector/receiver/nopreceiver v0.115.0
      stability:
        logs: Beta
        metrics: Beta
        traces: Beta
    - name: otlp
      module: go.opentelemetry.io/collector/receiver/otlpreceiver v0.115.0
      stability:
        logs: Beta
        metrics: Stable
        traces: Stable
processors:
    - name: batch
      module: go.opentelemetry.io/collector/processor/batchprocessor v0.115.0
      stability:
        logs: Beta
        metrics: Beta
        traces: Beta
    - name: memory_limiter
      module: go.opentelemetry.io/collector/processor/memorylimiterprocessor v0.115.0
      stability:
        logs: Beta
        metrics: Beta
        traces: Beta
exporters:
    - name: debug
      module: go.opentelemetry.io/collector/exporter/debugexporter v0.115.0
      stability:
        logs: Development
        metrics: Development
        traces: Development
    - name: nop
      module: go.opentelemetry.io/collector/exporter/nopexporter v0.115.0
      stability:
        logs: Beta
        metrics: Beta
        traces: Beta
    - name: otlp
      module: go.opentelemetry.io/collector/exporter/otlpexporter v0.115.0
      stability:
        logs: Beta
        metrics: Stable
        traces: Stable
    - name: otlphttp
      module: go.opentelemetry.io/collector/exporter/otlphttpexporter v0.115.0
      stability:
        logs: Beta
        metrics: Stable
        traces: Stable
connectors:
    - name: forward
      module: go.opentelemetry.io/collector/connector/forwardconnector v0.115.0
      stability:
        logs-to-logs: Beta
        logs-to-metrics: Undefined
        logs-to-traces: Undefined
        metrics-to-logs: Undefined
        metrics-to-metrics: Beta
        metrics-to-traces: Undefined
        traces-to-logs: Undefined
        traces-to-metrics: Undefined
        traces-to-traces: Beta
extensions:
    - name: memory_limiter
      module: go.opentelemetry.io/collector/extension/memorylimiterextension v0.115.0
      stability:
        extension: Development
    - name: zpages
      module: go.opentelemetry.io/collector/extension/zpagesextension v0.115.0
      stability:
        extension: Beta
providers:
    - name: env
      module: go.opentelemetry.io/collector/confmap/provider/envprovider v1.21.0
    - name: file
      module: go.opentelemetry.io/collector/confmap/provider/fileprovider v1.21.0
    - name: http
      module: go.opentelemetry.io/collector/confmap/provider/httpprovider v1.21.0
    - name: https
      module: go.opentelemetry.io/collector/confmap/provider/httpsprovider v1.21.0
    - name: yaml
      module: go.opentelemetry.io/collector/confmap/provider/yamlprovider v1.21.0

Signed-off-by: ChrsMark <[email protected]>
@ChrsMark ChrsMark marked this pull request as ready for review December 16, 2024 14:51
@ChrsMark ChrsMark requested review from mx-psi, evan-bradley and a team as code owners December 16, 2024 14:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants