Unknown type: "headers_setter" for id: "headers_setter" (valid values: [health_check pprof zpages memory_ballast])

unknown type: “headers_setter” for id: “headers_setter” (valid values: [health_check pprof zpages memory_ballast])

We have installed otelcol version 0.75.0 and trying to send traces to otel trace gateway collector running on port 4317 .

When i try to run the otel collector running on linux machine , it throws error unknown type: “headers_setter”
below is our configuration file -

extensions:
  headers_setter:
    headers:
      - action: upsert
        key: X-Scope-OrgID
        value: devenv

receivers:
  otlp:
    protocols:
      grpc:
      http:

exporters:
  otlphttp:
    endpoint: https://TRACEGW.DOMAIN:4317
    tls:
      insecure_skip_verify: true
    auth:
      authenticator: headers_setter

service:
  extensions: [headers_setter]
  pipelines:
    traces:
      receivers: [otlp]
      processors: []
      exporters: [otlphttp]

Our aim is to send headers from otel-collector to otel gateway configured to receive headers and then to tempo as traces backend-

Any suggestions would be very helpfull.

1 Like

That’s minimal distribution with minimum number of components. Use contrib distribution. Or build own distribution with components, which you need for your case.

indeed ,missed that point , thanks for the reply .