Skip to content

RabbitMQ OTEL transactions not recognized as "messaging" #10780

@drewhammond

Description

@drewhammond

Starting with OpenTelemetry java agent 1.23.0, RabbitMQ transactions are being categorized as "unknown" in the APM UI.

I believe it may be related to changes in the spec here: open-telemetry/opentelemetry-specification#2957

APM Server version (apm-server version):

8.7.1

Description of the problem including expected versus actual behavior:

Prior to 1.23.0, these <queue> process transactions were located under the "messaging" dropdown item in the APM UI.
Now they are found under "unknown".

Steps to reproduce:

  1. Create basic java RabbitMQ consumer process
  2. Attach otel java agent 1.23.0 (or newer) with auto-instrumentation and nothing fancy
otel.traces.exporter=otlp
otel.traces.sampler=parentbased_always_on
otel.exporter.otlp.protocol=http/protobuf
otel.exporter.otlp.traces.protocol=http/protobuf
  1. Send traces to local opentelemetry collector (v0.73.0) that then sends to APM server using OTLP.
  2. Consume messages
  3. Verify in APM UI that <queue> process transactions are only found after selecting "unknown" transaction type dropdown

OTEL collector config

receivers:
  otlp:
    protocols:
      http:
exporters:
  otlp/local:
    endpoint: apm-server:8200
    tls:
      insecure: true
service:
  pipelines:
    traces/1:
      receivers: [otlp]
      exporters: [otlp/local]

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions