Skip to content

service: configuration example for telemetry causes startup issue #12661

Closed
@codeboten

Description

@codeboten

Component(s)

service

What happened?

the basic config for emitting internal metrics through OTLP from the docs, which worked in 0.121.0, crashes the 0.122.0 Collector
with the message:

2025/03/18 19:10:19 collector server run finished with error: failed to create SDK: must not specify multiple metric reader type

Collector version

v0.122.0

Environment information

No response

OpenTelemetry Collector configuration

receivers:
  nop:
exporters:
  nop:
service:
  pipelines:
    logs:
      receivers: [nop]
      processors: []
      exporters: [nop]
  telemetry:
    metrics:
      readers:
        - periodic:
            exporter:
              otlp:
                protocol: http/protobuf
                endpoint: https://backend:4318

Log output

Additional context

No response

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions