Cannot able to send data from Jaeger to Elastic APM with APM secret token

Hi Team,

We are trying to send the data from jaeger to Elastic APM using the jaeger agent.

We are trying as per the elastic documentation. We are using below config.

args:
  - --reporter.grpc.host-port=<apm-endpoint:8200>
  - --reporter.grpc.tls.enabled=true
  - --agent.tags="elastic-apm-auth=Bearer <secret-token>"

We are getting an error while running jaeger.

"msg":"Could not send spans over gRPC","error":"rpc error: code = Unauthenticated desc = authentication failed: missing or improperly formatted Authorization header: expected 'Authorization: Bearer secret_token' or 'Authorization: ApiKey base64(API key ID:API key)'"

Could you please hep us with this.

Solved by changing agent.tags with jaeger.tags.

args:
  - --reporter.grpc.host-port=<apm-endpoint:8200>
  - --reporter.grpc.tls.enabled=true
  - --jaeger.tags=elastic-apm-auth=Bearer <secret-token>
1 Like

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.