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

Unknown transaction.type with OTLP and GRPC Spans created by OTEL Java agent #14937

Open
NicklasWallgren opened this issue Dec 13, 2024 · 0 comments
Labels

Comments

@NicklasWallgren
Copy link

NicklasWallgren commented Dec 13, 2024

OpenTelemetry gRPC spans sent to the APM Server OTLP endpoint result in a derived transaction with a transaction.type set to unknown when the spans originate from the Java OpenTelemetry Agent.

Image

Image

APM Server version (apm-server version):
8.10.4

OTEL Java Agent version:
2.10.0

Expected Behavior:
Should have a transaction type of request.

Steps to reproduce:
Instrument an java application using the OTEL java agent - opentelemetry-java-instrumentation

Span Context from OTEL collector

collector-1  | Span #0
collector-1  |     Trace ID       : 680b29fae4704be1521db3b5ad307802
collector-1  |     Parent ID      : 
collector-1  |     ID             : c920c8bc47f87dca
collector-1  |     Name           : PATCH /hello
collector-1  |     Kind           : Server
collector-1  |     Start time     : 2024-12-13 09:43:50.941603596 +0000 UTC
collector-1  |     End time       : 2024-12-13 09:43:58.284177181 +0000 UTC
collector-1  |     Status code    : Unset
collector-1  |     Status message : 
collector-1  | Attributes:
collector-1  |      -> url.scheme: Str(http)
collector-1  |      -> thread.name: Str(tomcat-handler-0)
collector-1  |      -> network.protocol.version: Str(1.1)
collector-1  |      -> network.peer.port: Int(43701)
collector-1  |      -> user_agent.original: Str(Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36 Edg/131.0.0.0)
collector-1  |      -> http.route: Str(/hello)
collector-1  |      -> server.port: Int(8080)
collector-1  |      -> http.request.method: Str(PATCH)
collector-1  |      -> url.path: Str(/hello)
collector-1  |      -> thread.id: Int(50)
collector-1  |      -> network.peer.address: Str(192.168.65.1)
collector-1  |      -> server.address: Str(localhost)
collector-1  |      -> client.address: Str(192.168.65.1)
collector-1  |      -> http.response.status_code: Int(200)
@NicklasWallgren NicklasWallgren changed the title Unknown transaction.type with OTLP and GRPC Spans Created by OTEL Java agent Unknown transaction.type with OTLP and GRPC Spans created by OTEL Java agent Dec 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant