Skip to content

Add integration manifests for Java rpc websocket - #13430

Draft
chojomok wants to merge 4 commits into
mohammad-islam/java-instrumentation-manifest-pilotfrom
mohammad/manifests-rpc-websocket
Draft

chojomok wants to merge 4 commits into
mohammad-islam/java-instrumentation-manifest-pilotfrom
mohammad/manifests-rpc-websocket

Conversation

@chojomok

@chojomok chojomok commented Nov 12, 2026 •

Copy link
Copy Markdown

What Does This Do

Adds Manifest v1 integration manifests for Apache Axis2, Apache CXF, gRPC, Jakarta RESTful Web Services, Jakarta WebSocket, Jakarta Web Services Metadata API, Java API for WebSocket, JAX-RS, JAX-WS, Java RMI, and SOFARPC. This is declarative metadata only. Runtime instrumentation and public APIs are unchanged.

Motivation

Introduces a .manifest.yaml file alongside each instrumentation in every dd-trace-* tracer repository, describing its metadata in a structured, machine-readable format. An external service can scrape these files to discover and catalog all integrations supported across all Datadog tracers without parsing language-specific source code. Each manifest represents the latest state of its instrumentation and is meant to be updated as the instrumentation changes over time.

Additional Notes

This change adds structured, machine-readable integration manifests for Java rpc websocket:

  • Apache Axis2 (axis2)
  • Apache CXF (cxf)
  • gRPC (grpc)
  • Jakarta RESTful Web Services (jakarta-rs)
  • Jakarta WebSocket (jakarta-websocket)
  • Jakarta Web Services Metadata API (jakarta-ws)
  • Java API for WebSocket (javax-websocket)
  • JAX-RS (jax-rs)
  • JAX-WS (jax-ws)
  • Java RMI (rmi)
  • SOFARPC (sofarpc)

This is declarative metadata only. Runtime instrumentation and public APIs are unchanged.

Detailed field-level review evidence for every manifest is provided below.
It has the same information as the changed files, so reviewing this description and its evidence comment is enough to understand the changes being proposed.

Integration Categories Systems Creation date
axis2 rpc.client, rpc.server none 2021-02-11
cxf other none 2023-12-08
grpc rpc.client, rpc.server grpc 2018-07-19
jakarta-rs http.server none 2021-11-16
jakarta-websocket websocket.client, websocket.server none 2025-03-10
jakarta-ws rpc.server none 2024-10-31
javax-websocket websocket.client, websocket.server none 2025-03-10
jax-rs http.client, http.server none 2018-02-12
jax-ws rpc.server none 2021-03-04
rmi rpc.client, rpc.server none 2019-12-05
sofarpc rpc.client, rpc.server sofarpc 2026-04-23

Field-level review evidence

Tracer links show the instrumented behavior behind each value and are pinned to the reviewed source revision. Category and system values use the Manifest v1 vocabulary. Package names describe Maven delivery of the instrumented code. Display names use the official product branding. Creation dates use the first functional instrumentation commit.

axis2 — accepted field evidence
Field or member Published value Derivation authority Accepted evidence
_v 1 Manifest v1 contract Deterministic schema gate passed.
name axis2 Tracer integration identity source — Axis2Module, the only module in the grounding entry and the declared one, calls super("axis2"). The grounding integrations key is also axis2, with config_names and member_names both [axis2].
display_name Apache Axis2 Official product name source — The integration instruments the Axis2 engine (org.apache.axis2.engine.AxisEngine), which is the core of the Apache Axis2 web services product. The POM name 'Apache Axis 2.0 - Kernel' names the kernel sub-module, so the established product name 'Apache Axis2' is the right label.
description Instruments Apache Axis2 SOAP message processing and outbound transport calls, including asynchronous WebSphere transport handling and outbound trace-context propagation. Complete Datadog patch-surface inventory source — AxisEngine receive/send/sendFault (lines 34-38) and the resume variants (lines 39-43) create measured axis2.message spans of span type SOAP (AxisMessageDecorator:43). The resource is the SOAP action. invoke SUSPEND captures a continuation for resume. This is the SOAP message processing family.
source — TransportSender.invoke on the WebSphere HTTPTransportSender or a configured transport class creates axis2.transport spans with span.kind client and peer tags (AxisMessageDecorator.onTransport:106). TransportContextPropagationAdvice (lines 96-113) injects trace context into TRANSPORT_HEADERS. Together these are the outbound transport calls and the outbound propagation.
source — SOAPOverHTTPSender.sendSOAPRequestAsync captures the transport span, and releaseBuffer finishes it with the HTTP status. This is the asynchronous WebSphere transport handling the description mentions.
packages [org.apache.axis2:axis2-kernel] Tracer-to-Maven package mapping source — The muzzle pass block covers group org.apache.axis2, module axis2-kernel, versions [1.3,). It is the only pass directive and matches the grounding publication_packages under package_source muzzle.
category: rpc.client rpc.client Manifest v1 category policy · rpc.client definition instrumentation source — Axis2 is a SOAP web-services engine whose client API (ServiceClient/OperationClient) invokes remote service operations. That is an independent RPC contract, not transport beneath another one. The integration creates its own spans for this: AxisEngine.send (AxisEngineInstrumentation:36,57) emits axis2.message spans named by SOAP action, and transport invoke emits axis2.transport spans tagged span.kind client (AxisMessageDecorator:106). http.client is rejected because HTTP is only the transport of this dedicated SOAP client, and the caller does not choose the method or URL.
category: rpc.server rpc.server Manifest v1 category policy · rpc.server definition instrumentation source — Server-side AxisEngine.receive for messages with an operation context (shouldTrace:52) creates an axis2.message span for the SOAP service operation (AxisEngineInstrumentation:57). It can also promote the SOAP action to the local root resource name. That is handling of RPC calls through the Axis2 service API, which is the integration's own span. http.server is rejected because the inbound HTTP span belongs to the hosting servlet or container integration, not Axis2. serialization, messaging, and the other categories have no instrumented contract here, so nothing is omitted.
systems [] Manifest v1 system policy instrumentation source — The only identities in the instrumented surface are the SOAP span type, the axis2 component, and WebSphere transport classes. SOAP and Axis2 are a protocol and a framework with no admitted rpc.system enum value, and WebSphere is not an admitted system. Outbound targets are runtime-selected endpoint URLs (onTransport:107-112) with no bounded backend. No x-system-definitions entry qualifies, so systems: [] is correct.
creation_date 2021-02-11 first commit adding working instrumentation instrumentation source — git log --follow --diff-filter=A on this file returns commit the linked commit ('Axis2 (and Synapse) instrumentation', Stuart McCulloch, author date 2021-02-11), which added dd-java-agent/instrumentation/axis-2 with AxisEngineInstrumentation and AxisMessageDecorator. A grep of the history for axis finds no earlier commit. Later commits (2024 transport propagation, 2025 module move, 2026 module grouping) are additions or relocations.
cxf — accepted field evidence
Field or member Published value Derivation authority Accepted evidence
_v 1 Manifest v1 contract Deterministic schema gate passed.
name cxf Tracer integration identity source — The only module in the integration (assignment 'declared' in grounding) declares super("cxf", "cxf-invoker"), so its first configuration name is 'cxf', which matches the grounding integrations key.
display_name Apache CXF Official product name source — The integration hooks the org.apache.cxf.service.invoker.Invoker framework interface. That interface lives in cxf-api for 2.x and in cxf-core for 3+, so the integration covers the Apache CXF framework as a whole, not only the cxf-api module.
description Instruments Apache CXF service invocations to continue servlet request trace context during asynchronous request resumption. Complete Datadog patch-surface inventory source — PropagateSpanAdvice on Invoker.invoke(Exchange) runs only when no span is active. It reads the HttpServerDecorator.DD_CONTEXT_ATTRIBUTE servlet request attribute from the in-message 'HTTP.REQUEST' (lines 55-58), attaches that Context (line 60), and closes the scope on exit (lines 66-69). It creates no span.
source — getServletRequestAttribute reads the attribute reflectively from javax or jakarta ServletRequest. This confirms the context comes from the servlet request.
source — DD_CONTEXT_ATTRIBUTE = "datadog.context" is the servlet attribute where the HTTP server decorator stores the request Context.
source — This test is corroboration only. 'should propagate context on async request resume' uses a @suspended AsyncResponse.resume (TestResource.java:10-12) and asserts the TestExceptionMapper span is parented to the servlet.request span. This matches the 'asynchronous request resumption' wording and the first-add commit title.
packages [org.apache.cxf:cxf-api, org.apache.cxf:cxf-core] Tracer-to-Maven package mapping source — The muzzle pass blocks cover org.apache.cxf:cxf-api [2.0.6,) (lines 6-11) and org.apache.cxf:cxf-core [3,) (lines 12-18). Grounding records package_source muzzle with publication_packages [cxf-api, cxf-core], which matches exactly.
category: other other Manifest v1 category policy · other definition instrumentation source — The full patch inventory is one module with one advice: Invoker.invoke, which re-attaches an existing servlet Context and creates no span or other signal. http.server and rpc.server have trace signal_scope. They are rejected because the integration only propagates context into an operation whose spans come from the separately instrumented servlet/jetty and jax-rs integrations, and the applicability policy rejects categories supported only by propagation. Every other category (http.client, messaging, serialization, task.execution, etc.) has no hook in this module. Since no admitted category applies, the exclusive 'other' is correct.
systems [] Manifest v1 system policy instrumentation source — The only hook is the server-side org.apache.cxf.service.invoker.Invoker hierarchy, used for in-process service invocation. It has no dedicated client for a database, messaging, cloud, or AI provider. CXF is a framework, which the schema does not admit as a system. It is not an admitted RPC protocol identity (grpc, dubbo, jsonrpc, etc.), and the advice only propagates context. No concrete, statically bounded system qualifies.
creation_date 2023-12-08 first commit adding working instrumentation instrumentation source — git log --follow on this file ends at commit the linked commit ('Make propagation happen on AsyncResponse using CFX JAX-RS (#6313)', author date 2023-12-08). That commit adds InvokerInstrumentation, ServletHelper, and build.gradle with no predecessor. A pickaxe search for '"cxf"' found older commits, 19b94da (2018-03-13) and e260b1d (2019-05-28), but they only use CXF's ClientBuilderImpl in jax-rs-client tests, which is a different integration. So this commit is the first functional cxf instrumentation.
grpc — accepted field evidence
Field or member Published value Derivation authority Accepted evidence
_v 1 Manifest v1 contract Deterministic schema gate passed.
name grpc Tracer integration identity source — The declared module GrpcClientModule calls super("grpc", "grpc-client", "grpc-message"), so grpc is its first configuration name. grpc is also the grounding integrations key. The Armeria modules are governed members (armeria-grpc-client and armeria-grpc-server) that fold into this entry.
source — The declared module GrpcServerModule calls super("grpc", "grpc-server"), and QueuedCommandInstrumentation calls super("grpc", "grpc-netty"). Every declared module names grpc first.
display_name gRPC Official product name source — The tracer names spans by operationForProtocol("grpc"). Both the grpc-java hooks (io.grpc.internal.ClientCallImpl, io.grpc.ServerBuilder) and the Armeria hooks (the io.grpc.ClientCall implementation and gRPC ServerServiceDefinition registration) instrument the gRPC framework. So gRPC, in its established capitalization, names exactly what is instrumented. It is not a Maven coordinate or a mechanically title-cased name.
description Instruments gRPC and Armeria gRPC client and server calls, including per-message server spans and optional client message spans, with trace propagation, Data Streams checkpoints, and server security callbacks. Complete Datadog patch-surface inventory source — gRPC client calls: the ClientCallImpl constructor advice calls DECORATE.startCall(method), which starts a grpc-client span (GrpcClientDecorator.java:101). The span is finished in the closeObserver and cancel advice.
source — gRPC server calls: BuildAdvice registers TracingServerInterceptor on ServerBuilder.build() (GrpcServerBuilderInstrumentation.java:70). The interceptor extracts the context and starts a grpc.server span. It sets a Data Streams checkpoint at line 82, calls the AppSec/IAST gateway callbacks at lines 85-88, and starts a grpc.message span for each request message in onMessage at line 153.
source — Client message spans are optional: the ReceiveMessages advice, which starts a grpc.message span at line 60, is applied only when grpc-message is enabled, and it defaults to false. Armeria has the same gate: armeria-grpc-message or grpc-message, default false (armeria ClientCallImplInstrumentation.java:76).
source — On the client, injectContext adds an outbound grpc Data Streams context when DSM is enabled and propagates it into the request Metadata through defaultPropagator().inject (line 118).
source — Armeria gRPC client: advice on the ArmeriaClientCall constructor (instrumented type at line 39) starts an armeria-grpc-client span. The Armeria server side intercepts every ServerServiceDefinition passed to HandlerRegistry$Builder.addService (HandlerRegistryBuilderInstrumentation.java:56), and the Armeria TracingServerInterceptor starts server and per-message spans.
packages [com.linecorp.armeria:armeria-grpc, io.grpc:grpc-core] Tracer-to-Maven package mapping source — The muzzle pass block is group io.grpc, module grpc-core, versions [1.5.0,). This matches the grounding publication_packages (package_source muzzle).
source — The muzzle pass block is group com.linecorp.armeria, module armeria-grpc, versions [0.84.0,), with assertInverse. The two packages match the grounding publication_packages exactly, with no versions or test-only coordinates.
category: rpc.client rpc.client Manifest v1 category policy · rpc.client definition instrumentation source — gRPC is itself an independent, customer-facing RPC API: generated stubs and channels invoke service methods through io.grpc.ClientCall. The integration's own advice on ClientCallImpl (and on ArmeriaClientCall, armeria ClientCallImplInstrumentation.java:86) creates client spans with span type RPC (GrpcClientDecorator.java:86 and :101) for each invoked method. It does not implement a more specific service, messaging, or AI contract, so the trace-scoped rpc.client category applies.
category: rpc.server rpc.server Manifest v1 category policy · rpc.server definition instrumentation source — A ServerInterceptor is registered on ServerBuilder.build() (GrpcServerBuilderInstrumentation.java:70) and on Armeria HandlerRegistry$Builder.addService (HandlerRegistryBuilderInstrumentation.java:56). It creates RPC-type grpc.server spans for gRPC service implementations, so it handles RPCs through the gRPC service API. Applicability: Armeria carries gRPC over HTTP/2, but that HTTP is transport beneath the RPC contract, so http.server and http.client are rejected. Per-message spans are part of the same RPC operation. Protobuf marshalling is internal to RPC, so serialization is rejected. Netty write-queue propagation is a profiling and context mechanism, not a task contract. Security callbacks, DSM, and code origin establish no category. No other admitted category qualifies.
systems: grpc grpc Manifest v1 system policy · grpc definition instrumentation source — Identity: grpc is an admitted protocol-kind system (OTel rpc.system.name=grpc). Binding: the advice targets the gRPC framework's own classes: io.grpc.internal.ClientCallImpl, io.grpc.ServerBuilder subclasses (GrpcServerBuilderInstrumentation.java:32-45), and Armeria's io.grpc.ClientCall implementation and gRPC ServerServiceDefinition registry. These APIs exist only to speak the gRPC protocol and cannot dispatch to any other RPC protocol, so the identity follows from what the hooked API is, not from a hardcoded tag. gRPC is an independent customer-facing protocol contract here, not the transport of a more specific operation. No database, messaging, or provider identity is bound by these hooks, so no other system applies.
creation_date 2018-07-19 first commit adding working instrumentation instrumentation source — git log --diff-filter=A --follow on this build file leads back to commit the linked commit, 'Instrument gRPC' by Tyler Benson, author date 2018-07-19 12:57:13 +1000. That commit added grpc-1.5.gradle along with functional code: TracingClientInterceptor, TracingServerInterceptor, GrpcClientBuilderInstrumentation, and GrpcServerBuilderInstrumentation. No earlier commit mentions grpc. The Armeria member was added later, in df4aad2 (2023-09-20).
jakarta-rs — accepted field evidence
Field or member Published value Derivation authority Accepted evidence
_v 1 Manifest v1 contract Deterministic schema gate passed.
name jakarta-rs Tracer integration identity source — super("jakarta-rs", "jakartars", "jakarta-rs-annotations"): jakarta-rs is the first configuration name. JakartaRsAsyncResponseInstrumentation (line 27) and AbstractRequestContextInstrumentation (line 17, inherited by DefaultRequestContextInstrumentation), ContainerRequestFilterInstrumentation (line 27) and MessageBodyWriterInstrumentation (line 31) also declare jakarta-rs first. All five modules are 'declared' in the grounding entry keyed jakarta-rs.
source — super("jakarta-rs") is the sole name of the AppSec MessageBodyWriter module, so it belongs to the same integration.
display_name Jakarta RESTful Web Services Official product name source — The instrumentation targets the jakarta.ws.rs.* annotations (Path, GET, POST, ...), i.e. the Jakarta RESTful Web Services API itself rather than one implementation (Jersey/RESTEasy) or a broader shared module. That makes the spec name the right scope.
description Instruments Jakarta REST resource methods to trace inbound HTTP request handling, including asynchronous and aborted requests, and inspect JSON response bodies for AppSec blocking. Complete Datadog patch-surface inventory source — Advice on methods with Jakarta REST annotations (line 81) starts a 'jakarta-rs.request' span with component jakarta-rs-controller. It is decorated via onJakartaRsSpan and finished on exit unless the AsyncResponse is suspended (lines 146-157).
source — AsyncResponse.resume(Object), resume(Throwable) and cancel() are advised (lines 48-56) to finish the stored request span, with an error or a canceled tag. This supports 'asynchronous' requests.
source — ContainerRequestContext.abortWith(Response) (matched in AbstractRequestContextInstrumentation line 34) starts a 'jakarta-rs.request.abort' span named after the filter class. ContainerRequestFilterInstrumentation records that class. This supports 'aborted requests'.
source — The AppSec module advises MessageBodyWriter.writeTo and returns early unless the media type is APPLICATION_JSON-compatible. It then invokes EVENTS.responseBody() (line 64) and on a RequestBlockingAction commits a blocking response and throws BlockingException (line 79). This supports 'inspect JSON response bodies for AppSec blocking'.
source — Spans are typed HTTP_SERVER. The HTTP route is derived from @Path/@HttpMethod and applied to the root span or local-root parent (lines 66-74). This supports 'trace inbound HTTP request handling'.
packages [jakarta.ws.rs:jakarta.ws.rs-api] Tracer-to-Maven package mapping source — The muzzle pass block has group = "jakarta.ws.rs", module = "jakarta.ws.rs-api", versions "[3.0.0,]". It is the only muzzle directive in the integration's sole Gradle project and matches grounding publication_packages (package_source: muzzle). No version is included in the manifest.
category: http.server http.server Manifest v1 category policy · http.server definition instrumentation source — The integration's own advice on Jakarta REST resource methods (inbound request handlers) creates a jakarta-rs.request span, typed HTTP_SERVER in JakartaRsAnnotationsDecorator line 61, and sets the HTTP route on the server root span (decorator lines 66-74). Abort spans for filters (DefaultRequestContextInstrumentation line 38) and async completion belong to the same server-side handling contract. Jakarta REST is a server-side framework API for handling inbound HTTP requests, which is a customer-facing capability, not transport beneath a more specific contract. The trace signal_scope is satisfied by spans the integration creates. Other categories were checked and none apply. serialization is rejected because MessageBodyWriter.writeTo is AppSec-only and serialization is internal to the HTTP response. http.client is rejected because no client API is hooked. rpc.server and websocket.server are rejected because there is no independent RPC/WebSocket contract. other is not applicable.
systems [] Manifest v1 system policy instrumentation source — The full patch surface was checked: resource-method annotations, AsyncResponse, ContainerRequestFilter/ContainerRequestContext.abortWith and MessageBodyWriter.writeTo. Every hook is a generic Jakarta REST framework hierarchy matcher, served by any runtime-selected implementation (Jersey, RESTEasy, etc.) over HTTP. No database, messaging, cloud provider/service, platform, GenAI provider or schema-admitted RPC protocol identity is reached. Frameworks and HTTP are not system identities under x-system-applicability, so an empty array is affirmatively correct.
creation_date 2021-11-16 first commit adding working instrumentation instrumentation source — git log --follow shows this file renamed (R100) from dd-java-agent/instrumentation/rs/jakarta-rs-annotations-3 in 6ccbc06 (2025-12-18). Before that it was renamed from dd-java-agent/instrumentation/jakarta-rs-annotations-3 in 8d53878 (2025-11-18). Both are relocations. It was first created as a copy (C077) of the javax jax-rs-annotations-2 file in the linked commit 'Add instrumentation for jakarta3'. That commit's author date is 2021-11-16 and it added all the jakarta3 instrumentation classes plus tests. Earlier history belongs to the separate javax.ws.rs (jax-rs) integration. A pickaxe search for 'jakarta.ws.rs' under dd-java-agent/instrumentation also finds 334dee7 as the earliest commit.
jakarta-websocket — accepted field evidence
Field or member Published value Derivation authority Accepted evidence
_v 1 Manifest v1 contract Deterministic schema gate passed.
name jakarta-websocket Tracer integration identity source — The only declared module, JakartaWebsocketModule, calls super("jakarta", "jakarta-websocket", "websocket"). The first configuration name is jakarta-websocket, and 'websocket' is the shared umbrella toggle. This matches the grounding integrations key jakarta-websocket.
source — The protected constructor passes instrumentationName (jakarta-websocket) as the primary InstrumenterModule.Tracing name.
display_name Jakarta WebSocket Official product name source — Advice shading javax->jakarta, plus the 'jakarta' namespace, binds the integration to the jakarta.websocket API (the Jakarta WebSocket specification).
source — The tests use both jakarta.websocket.ClientEndpointConfig and jakarta.websocket.server.ServerEndpointConfig. The integration covers the whole Jakarta WebSocket API, not only the client-api artifact. The POM name 'Jakarta WebSocket - Client API' is therefore narrower than what is instrumented, and dropping the artifact suffix is correct.
description Instruments Jakarta WebSocket API message sends, receives, and closes. Complete Datadog patch-surface inventory source — Sends: the RemoteEndpoint.Basic sendText, sendBinary and sendObject methods and the getSendStream/getSendWriter wrappers all call DECORATE.startOutboundFrameSpan, which creates 'websocket.send' producer spans. AsyncRemoteEndpointInstrumentation (line 99) does the same for async sends, finishing them in TracingSendHandler.
source — Receives: MessageHandler.onMessage (whole and partial) calls DECORATE.startInboundFrameSpan, which creates 'websocket.receive' consumer spans.
source — Closes: Session.close(CloseReason) and Session.close() call startOutboundCloseSpan. Endpoint.onClose calls startInboundCloseSpan (EndpointInstrumentation line 93). Both produce 'websocket.close' spans (WebsocketDecorator lines 79-94). Endpoint.onOpen and addMessageHandler only capture or link the handshake context, so the description correctly leaves the handshake out.
packages [jakarta.websocket:jakarta.websocket-client-api] Tracer-to-Maven package mapping source — The muzzle pass block is named jakarta-websocket, with group jakarta.websocket, module jakarta.websocket-client-api, and versions [2.0.0,). It matches JakartaWebsocketModule.muzzleDirective() = "jakarta-websocket" and the grounding publication_packages.
category: websocket.client websocket.client Manifest v1 category policy · websocket.client definition instrumentation source — Jakarta WebSocket is an independent customer-facing WebSocket API. Its client side is WebSocketContainer.connectToServer with a client Endpoint. Endpoint.onOpen stores the active handshake span as session context, and the Session, RemoteEndpoint, and MessageHandler advice then create send, receive, and close spans through WebsocketDecorator.onFrameStart/startSpan (WebsocketDecorator line 142). WebsocketTest.groovy line 67 connects a client Endpoint under an 'http.request' client handshake span and asserts websocketSendSpan and websocketCloseSpan for the client side (lines 106-107). The frames are the operation itself, not transport for a more specific client contract.
category: websocket.server websocket.server Manifest v1 category policy · websocket.server definition instrumentation source — Server Endpoints deployed through ServerEndpointConfig share the same Endpoint, Session, and MessageHandler hooks. onOpen captures the servlet handshake span, then onMessage creates websocket.receive consumer spans and onClose creates inbound websocket.close spans. WebsocketTest.groovy lines 81 and 111-114 assert receive and close spans linked to the 'servlet.request' server handshake. This is a distinct server-side handler capability, not merely an HTTP upgrade handler. No other category qualifies: http.server and http.client are excluded because the HTTP handshake is not instrumented here (only linked), and nothing is broker messaging, RPC, or serialization.
systems [] Manifest v1 system policy instrumentation source — The hooks match any implementation of the jakarta.websocket.Session, MessageHandler, RemoteEndpoint, and Endpoint interfaces. The peer is a runtime-selected WebSocket endpoint served by any container (Tyrus, Jetty, Tomcat, Undertow and others). WebsocketDecorator (line 36) only hardcodes the component name 'websocket'. WebSocket is not an admitted system or RPC protocol in the enum, and no dedicated client binds a bounded backend, so the array is correctly empty.
creation_date 2025-03-10 first commit adding working instrumentation instrumentation source — Git log with --diff-filter=A shows that commit the linked commit, 'Instrument Java Websocket API (JSR356) (#8440)', authored 2025-03-10 12:01:44 +0100, added JakartaWebsocketModule.java, build.gradle and the tests. The earliest -S 'jakarta-websocket' and -S 'jakarta.websocket' matches under dd-java-agent are this same commit, so there is no earlier predecessor. The --follow hit 0c2f7ff (2025-01-06) is a false similarity match to a JMS jakarta module, not websocket.
jakarta-ws — accepted field evidence
Field or member Published value Derivation authority Accepted evidence
_v 1 Manifest v1 contract Deterministic schema gate passed.
name jakarta-ws Tracer integration identity source — The sole declared module WebServiceInstrumentation (InstrumenterModule.Tracing) calls super("jakarta-ws"). That matches the grounding key 'jakarta-ws', which has one declared module and no folded member names.
source — The decorator's instrumentationNames() returns {"jakarta-ws"}, which confirms the identity.
display_name Jakarta Web Services Metadata API Official product name source — The instrumentation matches only on the jakarta.jws.WebService annotation (line 34, applied at lines 47 and 58) and imports jakarta.jws.WebService (line 24). That annotation is the Jakarta Web Services Metadata API. The integration does not hook the broader Jakarta XML Web Services runtime (jakarta.xml.ws), so the label names exactly the instrumented API and is neither broader nor narrower.
description Traces invocations of public methods on Jakarta Web Services endpoint classes and interfaces annotated with @WebService. Complete Datadog patch-surface inventory source — The type matcher (line 47) selects types whose hierarchy declares @jakarta.jws.WebService. Advice is applied to public, non-static methods that override or declare a method of a @WebService-annotated class or interface (lines 53-58). This matches the description's endpoint classes and interfaces annotated with @webservice.
source — InvokeAdvice starts a 'jakarta-ws.request' span for the outermost call only, using the call-depth guard at lines 67-70. It sets the resource to Class.method (decorator line 34), records errors, and finishes the span on exit (lines 79-95). This is the single operation family the description names, and the description invents no extra behavior.
packages [jakarta.jws:jakarta.jws-api] Tracer-to-Maven package mapping source — The only muzzle pass block is group 'jakarta.jws', module 'jakarta.jws-api', versions '[3.0.0,]' (lines 6-10). That matches the grounding publication_packages for this package_source=muzzle entry, with no versions or test-only coordinates.
category: rpc.server rpc.server Manifest v1 category policy · rpc.server definition instrumentation source — @webservice is the Jakarta service-endpoint API: annotated SEI and implementation methods are the remote operations the web-services runtime dispatches inbound SOAP calls to. The integration's own advice creates a span per service-method invocation, so the trace-scope requirement is met by the integration itself. The decorator tags it span type SOAP (WebServiceDecorator.java:25), with the resource set to the service class and method. This is an independent RPC service API, not an ingress adapter for a more specific contract, so rpc.server qualifies. Remaining categories were checked and excluded: http.server is the underlying transport, which the integration does not hook; serialization is not hooked; rpc.client does not apply because the advice targets endpoint methods and there is no client-stub contract. No other category describes the patch surface, so the set is complete and 'other' is not needed.
systems [] Manifest v1 system policy instrumentation source — The only protocol identity is the SOAP span type. SOAP/JAX-WS is not an admitted system ID. The admitted protocol-kind IDs (grpc, dubbo, connectrpc, jsonrpc, twirp, sofarpc) are not involved, and a span type alone would not prove a system anyway. The @webservice hook runs on whichever Jakarta web-services runtime the application deploys, with no dedicated client, provider, or bounded backend. No x-system-definitions entry qualifies, so [] is correct.
creation_date 2024-10-31 first commit adding working instrumentation instrumentation source — git log --follow traces this file through a pure move (R100) in 8d53878 (2025-11-18, 'Refactor jaxws / jaxrs instrumentations'), from dd-java-agent/instrumentation/jakarta-ws-annotations, back to commit 16a53f2. That commit (Jordan Wong, author date 2024-10-31, 'Add Jakarta WebService Instrumentation (#7854)') first added the functional jakarta-ws module: build.gradle, decorator, instrumentation, tests, and settings.gradle. Git reports the file as a C086 copy of the javax jax-ws-annotations-1 instrumentation, but the javax jax-ws integration (2021-03-04, 2807be8) is a separate, still-existing integration for the javax.jws namespace (ws/jax-ws/jax-ws-annotations-1.1 and -2.0). The first jakarta-ws commit is therefore 2024-10-31.
javax-websocket — accepted field evidence
Field or member Published value Derivation authority Accepted evidence
_v 1 Manifest v1 contract Deterministic schema gate passed.
name javax-websocket Tracer integration identity source — The sole declared module, JavaxWebsocketModule (an InstrumenterModule.Tracing), calls this("javax", "javax-websocket", "websocket") and passes them to super(instrumentationName, additionalNames) at line 23. So javax-websocket is its first configuration name. 'websocket' is a broader shared toggle that the jetty-websocket modules also use. This matches the grounding integrations key javax-websocket.
display_name Java API for WebSocket Official product name source — typeInstrumentations() applies Endpoint, Session, MessageHandler, and RemoteEndpoint Basic/Async instrumentations to the javax.websocket namespace (package jsr256, i.e. the JSR 356 API). It does not target any single vendor implementation.
description Instruments JSR 356 (Java API for WebSocket) client and server endpoints, tracing message send, receive, and session close operations. Complete Datadog patch-surface inventory source — Sends are traced. RemoteEndpoint.Basic sendText, sendBinary, and sendObject, and the getSendStream/getSendWriter wrappers (TracingOutputStream, TracingWriter), start websocket.send spans via DECORATE.startOutboundFrameSpan. AsyncRemoteEndpointInstrumentation lines 98-106 does the same for Async sends and wraps the SendHandler.
source — Receives are traced. MessageHandler.onMessage, whole and partial, starts websocket.receive spans via DECORATE.startInboundFrameSpan.
source — Close is traced. Session.close(CloseReason) and close() start outbound websocket.close spans (lines 160, 188). EndpointInstrumentation.SessionCloseAdvice (line 93) starts inbound close spans on Endpoint.onClose. Endpoint.onOpen only captures the already-active handshake span and does not create a span, so the description correctly omits handshake creation.
source — Client and server are both covered. Tests show the client session (connectToServer, line 70) emitting send and close spans linked to the client handshake, and the server endpoint emitting receive and close spans linked to the server handshake (lines 114-117).
packages [javax.websocket:javax.websocket-api] Tracer-to-Maven package mapping source — There is one muzzle pass block, name javax-websocket, for group javax.websocket and module javax.websocket-api at versions [1.0,). The module's muzzleDirective() returns 'javax-websocket' (JavaxWebsocketModule.java line 43), so this block applies. It matches the grounding publication_packages (package_source muzzle).
category: websocket.client websocket.client Manifest v1 category policy · websocket.client definition instrumentation source — The javax.websocket API includes the client contract (WebSocketContainer.connectToServer, client Endpoint). The same Endpoint/Session/RemoteEndpoint advice applies to client sessions. When a client handshake span is active at onOpen (EndpointInstrumentation.java line 73), client sends create websocket.send producer spans (BasicRemoteEndpointInstrumentation.java line 88, WebsocketDecorator.java line 101) and Session.close creates outbound websocket.close spans (SessionInstrumentation.java line 160). Test lines 106-110 assert client-side send/close spans linked to clientHandshake. This is a distinct qualifying client capability, not a transport layer. No other category applies: there are no HTTP client/server, messaging, or serialization contracts, and Encoders/Decoders are explicitly not instrumented (BasicRemoteEndpointInstrumentation lines 167-170).
category: websocket.server websocket.server Manifest v1 category policy · websocket.server definition instrumentation source — JSR 356 is itself an independent WebSocket handler API, not transport under a more specific contract. Endpoint.onOpen binds the session to the active HTTP upgrade (server handshake) span. MessageHandler.onMessage advice creates websocket.receive consumer spans (WebsocketDecorator.java line 75), and Endpoint.onClose creates inbound websocket.close spans (line 93). RemoteEndpoint sends from server endpoints create websocket.send spans. The integration creates these spans itself. WebsocketTest.groovy lines 113-117 asserts receive/close spans linked to the server handshake. The HTTP upgrade request itself belongs to servlet/server integrations, so http.server is not claimed.
systems [] Manifest v1 system policy instrumentation source — No system qualifies. Spans carry only component/type 'websocket', and peer.hostname is copied at runtime from the handshake span. The advice hooks generic JSR 356 interfaces that any container (Tyrus, Tomcat, Undertow, Jetty) implements and that any remote peer may serve. WebSocket is a general-purpose transport, not an admitted system or RPC protocol in the closed systems vocabulary, so no concrete, statically bounded identity qualifies.
creation_date 2025-03-10 first commit adding working instrumentation instrumentation source — git log --follow --diff-filter=A on this file returns a single add, commit the linked commit ('Instrument Java Websocket API (JSR356) (#8440)'). Its author date is 2025-03-10 12:01:44 +0100. That commit also adds every jsr256 advice class, WebsocketDecorator, and HandlerContext, so it is the functional first add and not a relocation. A repo-wide search for earlier added websocket-named paths found nothing before this commit.

Evidence for jax-rs, jax-ws, rmi, sofarpc continues in the PR comment "Field-level review evidence (continued)", in the same format.

Testing

None. This PR only adds metadata files.

Risks

The added YAML is declarative metadata and introduces no runtime instrumentation or public API change. Metadata can become stale if later instrumentation changes do not update its manifest. Package lists describe Maven delivery and are not a complete list of targeted assemblies or modules.

Contributor Checklist

Jira ticket: IDMPL-594

@chojomok chojomok added tag: ai generated Largely based on code generated by an AI or LLM tag: no release notes Changes to exclude from release notes type: documentation comp: tooling Build & Tooling labels Nov 12, 2026 — with ChatGPT Codex Connector
@datadog-official

datadog-official Bot commented Nov 12, 2026 •

Copy link
Copy Markdown
Contributor

🎯 Code Coverage (details)
• Patch Coverage: 100.00%
• Overall Coverage: 60.20% (-0.70%)

This comment will be updated automatically if new data arrives.
🔗 Commit SHA: bd21583 | Docs | Give us feedback!

@dd-octo-sts

dd-octo-sts Bot commented Nov 12, 2026 •

Copy link
Copy Markdown
Contributor

🟢 Java Benchmark SLOs — All performance SLOs passed

Suite Status
Startup 🟢 pass

SLO thresholds are defined here based on automatically generated metrics. A warning is raised when results are within 5% of the threshold.

PR vs. master results
Scenario Candidate master Δ (95% CI of mean)
startup:insecure-bank:iast:Agent 14.90 s 14.70 s [+0.4%; +2.4%] (maybe worse)
startup:insecure-bank:tracing:Agent 13.63 s 13.72 s [-1.6%; +0.3%] (no difference)
startup:petclinic:appsec:Agent 17.81 s 17.64 s [+0.1%; +1.8%] (maybe worse)
startup:petclinic:iast:Agent 17.64 s 17.70 s [-1.2%; +0.6%] (no difference)
startup:petclinic:profiling:Agent 17.22 s 17.46 s [-2.7%; -0.1%] (maybe better)
startup:petclinic:sca:Agent 17.47 s 17.11 s [-2.3%; +6.5%] (no difference)
startup:petclinic:tracing:Agent 16.67 s 16.77 s [-1.4%; +0.3%] (no difference)

Commit: bd21583d · CI Pipeline · Benchmarking Platform UI


Load and DaCapo benchmarks can be triggered manually in the GitLab pipeline. Results will appear in the Benchmarking Platform UI after completion.

@chojomok chojomok changed the title Add instrumentation manifests for Java rpc websocket Add integration manifests for Java rpc websocket Nov 17, 2026
@chojomok
chojomok changed the base branch from master to mohammad-islam/java-instrumentation-manifest-pilot November 20, 2026 18:17
@chojomok
chojomok changed the base branch from mohammad-islam/java-instrumentation-manifest-pilot to master November 20, 2026 18:17
@chojomok
chojomok changed the base branch from master to mohammad-islam/java-instrumentation-manifest-pilot November 20, 2026 18:25
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@chojomok

Copy link
Copy Markdown
Author

Field-level review evidence (continued)

Tracer links show the instrumented behavior behind each value and are pinned to the reviewed source revision. Category and system values use the Manifest v1 vocabulary. Package names describe Maven delivery of the instrumented code. Display names use the official product branding. Creation dates use the first functional instrumentation commit.

jax-rs — accepted field evidence
Field or member Published value Derivation authority Accepted evidence
_v 1 Manifest v1 contract Deterministic schema gate passed.
name jax-rs Tracer integration identity source — Declared module calls super("jax-rs", "jaxrs", "jax-rs-annotations"); jax-rs is the first configuration name. The grounding integrations map has key jax-rs with every module assignment 'declared' and first name jax-rs (client modules at JaxRsClientInstrumentation.java:22, JaxRsClientV1Instrumentation.java:37, filter modules via AbstractRequestContextInstrumentation.java:17, MessageBodyWriterInstrumentation.java:31).
source — Client module also declares super("jax-rs", "jaxrs", "jax-rs-client"), confirming jax-rs as the shared first name.
display_name JAX-RS Official product name source — Instrumentation matches javax.ws.rs.Path / GET / POST etc. annotations of the JAX-RS (Jakarta RESTful Web Services, javax.ws.rs) API; client modules hook javax.ws.rs.client.ClientBuilder. 'JAX-RS' is the established public name of that API spec; the POM 'javax.ws.rs-api' is an artifact ID and is correctly replaced.
source — Decorator tags the parent span component as "jax-rs", binding the integration to the JAX-RS identity.
description Instruments JAX-RS server resource handlers and clients, creating HTTP server and client spans, propagating trace context, and supplying JSON response bodies to AppSec. Complete Datadog patch-surface inventory source — Advice on JAX-RS annotated resource methods starts a jax-rs.request span; JaxRsAnnotationsDecorator.java:60 sets span type InternalSpanTypes.HTTP_SERVER and applies the HTTP route to the span or local root. JAX-RS 1 equivalent at jax-rs-annotations-1.1.1 JaxRsAnnotationsInstrumentation.java:91; filter abort spans at RequestFilterHelper.java:30.
source — ClientTracingFilter (registered on every built javax.ws.rs Client) starts a jax-rs.client HTTP client span (JaxRsClientDecorator extends HttpClientDecorator) and injects trace context into request headers.
source — Jersey 1 ClientHandler.handle advice creates a client span (line 70) and injects context into request headers (line 100). Jersey 2 / RESTEasy connection-error modules finish client spans on ProcessingException (ClientRuntimeInstrumentation.java:49).
source — AppSec module on MessageBodyWriter.writeTo passes JSON-compatible response entities to the AppSec responseBody callback (line 63 checks APPLICATION_JSON) and can block the request.
packages [com.sun.jersey:jersey-client, io.dropwizard:dropwizard-client, javax.ws.rs:javax.ws.rs-api, javax.ws.rs:jsr311-api, org.glassfish.jersey.core:jersey-client, org.glassfish.jersey.core:jersey-server, org.jboss.resteasy:resteasy-client, org.jboss.resteasy:resteasy-jaxrs] Tracer-to-Maven package mapping source — Muzzle pass blocks for javax.ws.rs:javax.ws.rs-api [2.0,) and io.dropwizard:dropwizard-client [0.8.0,4) (line 11).
source — Muzzle pass for javax.ws.rs:jsr311-api [0.5,).
source — Muzzle pass for com.sun.jersey:jersey-client [1.1,].
source — Muzzle pass for org.glassfish.jersey.core:jersey-client [2.0,3.0.0); jersey-filter-2.0/build.gradle:8 passes org.glassfish.jersey.core:jersey-server.
source — Muzzle pass for org.jboss.resteasy:resteasy-client [2.0,); filter-resteasy-3.0/3.1 build.gradle:10 pass org.jboss.resteasy:resteasy-jaxrs. Set equals grounding publication_packages exactly.
category: http.client http.client Manifest v1 category policy · http.client definition instrumentation source — The JAX-RS Client API (and Jersey 1 client) is a general-purpose outbound HTTP API where the caller chooses method and URI; ClientTracingFilter creates its own HTTP client span (JaxRsClientDecorator extends HttpClientDecorator, method/url from ClientRequestContext). Not a dedicated service client, so http.client applies.
category: http.server http.server Manifest v1 category policy · http.server definition instrumentation source — JAX-RS resource handlers are an inbound HTTP framework API; JaxRsAnnotationsInstrumentation.java:122 starts the integration's own jax-rs.request span which onJaxRsSpan types as HTTP_SERVER and routes via HTTP_RESOURCE_DECORATOR. No other category qualifies: MessageBodyWriter AppSec hook is serialization internal to the HTTP response (serialization reject_when), and no RPC/websocket/messaging contract exists.
systems [] Manifest v1 system policy instrumentation source — Client target URI is taken from the runtime request (getUri), so the backend is runtime-selected; server modules handle generic HTTP routes. JAX-RS/Jersey/RESTEasy are frameworks, not admitted systems, and HTTP is not an admitted protocol-kind system, so no x-system-definitions entry qualifies.
creation_date 2018-02-12 first commit adding working instrumentation instrumentation source — Git log --diff-filter=A over JAX-RS paths shows the earliest add is c9da16f (2018-02-12, 'Add resource naming instrumentation for jax-rs'), adding dd-java-agent/instrumentation/jax-rs/.../JaxRsInstrumentation.java (functional advice, predecessor of this jax-rs.request annotations module). Earlier javax.ws.rs/jersey references are only dd-trace-examples Dropwizard apps; no earlier agent code exists.
jax-ws — accepted field evidence
Field or member Published value Derivation authority Accepted evidence
_v 1 Manifest v1 contract Deterministic schema gate passed.
name jax-ws Tracer integration identity source — WebServiceInstrumentation (a declared module) calls super("jax-ws"), so jax-ws is its first and only configuration name.
source — WebServiceProviderInstrumentation (the other declared module) also calls super("jax-ws"). Only these two modules declare super("jax-ws") anywhere under dd-java-agent/instrumentation, which matches the grounding entry's key and its member_names [jax-ws].
display_name JAX-WS Official product name source — The integration instruments the JAX-WS service endpoint APIs: javax.xml.ws.Provider with @javax.xml.ws.WebServiceProvider here, and @javax.jws.WebService endpoints in the 1.1 module. The 1.1 module's javax.jws annotations are the JAX-WS endpoint annotations, so 'JAX-WS' covers exactly what is instrumented. It is neither broader nor narrower, and it is not a coordinate or an artifact ID.
description Instruments JAX-WS WebService and WebServiceProvider service methods, creating SOAP spans for server-side requests. Complete Datadog patch-surface inventory source — This advice wraps public, non-static methods that override a method declared by a type annotated with @javax.jws.WebService (lines 47 and 52-59). On entry (line 72) it calls startSpan("jax-ws-endpoint", "jax-ws.request"), marks the span measured, and sets the resource to Class.method. On exit it records errors and finishes the span.
source — This advice wraps the one-argument invoke() method of javax.xml.ws.Provider implementations that are annotated with @WebServiceProvider. It creates the same jax-ws.request span (line 66).
source — Both decorators return InternalSpanTypes.SOAP as the span type, with component jax-ws-endpoint. So 'SOAP spans' on service-endpoint (server-side) invocations is accurate. The description covers both operation families and invents no behavior.
packages [javax.jws:javax.jws-api, javax.xml.ws:jaxws-api] Tracer-to-Maven package mapping source — The muzzle pass block has group javax.jws, module javax.jws-api, versions [1.1,).
source — The muzzle pass block has group javax.xml.ws, module jaxws-api, versions [2.0,). Together the two blocks match the grounding publication_packages (package_source: muzzle) exactly, with no versions or test-only coordinates.
category: rpc.server rpc.server Manifest v1 category policy · rpc.server definition instrumentation source — JAX-WS is a customer-facing SOAP web-service (RPC) service API. Customers implement @webservice service endpoint methods and Provider.invoke handlers, and the integration creates its own server span (jax-ws.request, type soap) around each service-method invocation: here and at WebServiceProviderInstrumentation.java:66. That matches the rpc.server definition: it handles remote procedure calls through an RPC service API. None of the rpc.server reject_when conditions apply: the hooks are not client-only, and they are an independent RPC service contract rather than an ingress adapter for a more specific operation family. http.server is rejected because HTTP is only the transport beneath the SOAP service contract, and no servlet or HTTP hook exists in either module. rpc.client is rejected because there is no client or stub hook. serialization is rejected because XML marshalling is not hooked. The two modules contain no other hooks, so no qualifying category is omitted.
systems [] Manifest v1 system policy instrumentation source — The only identity that is emitted is span type SOAP (component jax-ws-endpoint), and no SOAP or JAX-WS system exists in the closed systems enum. The protocol-kind members (grpc, dubbo, connectrpc, jsonrpc, twirp, sofarpc) are different RPC protocols. Neither module carries a database, messaging, cloud, or provider identity. The hooks are bound only to customer-implemented annotated endpoint classes (WebServiceProviderInstrumentation.java:45-46), so no qualifying system definition applies and an empty set is correct.
creation_date 2021-03-04 first commit adding working instrumentation instrumentation source — Running git log --follow on both module instrumentation files traces them back through their earlier jax-ws-annotations-1 and jax-ws-annotations-2 paths. Both were first added (status A) in commit the linked commit, 'JAX-WS WebService and WebServiceProvider instrumentation (disabled by default)', with author date 2021-03-04 (commit date 2021-03-09). Searching messages and paths up to 2021-03-05 for jax-ws, jaxws, or WebService turns up no earlier JAX-WS instrumentation. This is the first functional commit.
rmi — accepted field evidence
Field or member Published value Derivation authority Accepted evidence
_v 1 Manifest v1 contract Deterministic schema gate passed.
name rmi Tracer integration identity source — RmiClientInstrumentation declares super("rmi", "rmi-client"); 'rmi' is the first configuration name. The grounding entry 'rmi' lists all four modules as assignment 'declared'.
source — RmiServerInstrumentation declares super("rmi", "rmi-server"). The context modules (RmiClientContextInstrumentation line 53, RmiServerContextInstrumentation line 27) also declare 'rmi' first.
display_name Java RMI Official product name source — The integration hooks JDK Java Remote Method Invocation types (java.rmi.server.RemoteServer; client sun.rmi.server.UnicastRef). 'Java RMI' is the established name of that JDK API, matches the reviewed_runtime label in display-name.json, and is neither a Maven coordinate nor a mechanical title-case of 'rmi'.
description Instruments Java RMI client invocations and server method handling, creating RPC spans and propagating trace context between instrumented peers. Complete Datadog patch-surface inventory source — Advice on UnicastRef.invoke(Remote, Method, ...) starts an 'rmi-client' span (when a parent span is active) and RmiClientDecorator sets span type RPC, resource from the method, and rpc.service (RmiClientDecorator.java lines 29-47).
source — Advice on public non-static methods of RemoteServer subclasses starts an 'rmi-server' span of type RPC (RmiServerDecorator line 25), parented to context taken from THREAD_LOCAL_CONTEXT when present.
source — Client StreamRemoteCall constructor advice first sends a check call, then a synthetic payload call carrying the span context. It does this only after confirming the peer is instrumented. ContextDispatcher (lines 42-48), installed via the ObjectTable.getTarget advice, extracts the context on the server. This supports 'propagating trace context between instrumented peers'. The description covers both operation families with no invented specifics.
packages [] Tracer-to-Maven package mapping source — Muzzle pass uses coreJdk() only, with no Maven coordinate. Grounding records package_source 'reviewed', scope_kind 'runtime', publication_packages [] (reason: JDK API). A runtime integration must publish [].
category: rpc.client rpc.client Manifest v1 category policy · rpc.client definition instrumentation source — The integration's own advice on UnicastRef.invoke creates a client span of type RPC for each remote method invocation through an RMI stub/proxy. Java RMI is itself an independent customer-facing RPC API, not transport beneath a more specific service, messaging, or task contract, so rpc.client survives the applicability exclusions.
category: rpc.server rpc.server Manifest v1 category policy · rpc.server definition instrumentation source — The integration's own advice on remote object (RemoteServer subclass) public methods creates server RPC spans. This is a distinct directional capability of the RMI service API. The context propagator modules (StreamRemoteCall/ObjectTable hooks) are propagation mechanisms beneath these RPC operations and add no category. RMI object serialization is internal to RPC transport, so serialization is rejected. No other admitted category (http, messaging, task.execution, etc.) applies; nothing is omitted.
systems [] Manifest v1 system policy instrumentation source — The only concrete identity at the instrumented boundary is the Java RMI protocol itself (operationForProtocol("rmi"), component rmi-client/rmi-server). The closed systems vocabulary has no Java RMI member: its protocol-kind members are connectrpc, dubbo, grpc, jsonrpc, sofarpc, and twirp, none of which RMI implements. Remote endpoints are arbitrary user JVMs, not a bounded backend. No admitted system qualifies, so [] is affirmatively grounded.
creation_date 2019-12-05 first commit adding working instrumentation instrumentation source — git log --diff-filter=A over the RMI instrumentation paths shows the earliest add is the linked commit, '[rmi] Instrumentation for RMI 1.2 and later', author date 2019-12-05 12:43:45 +0100. It added the functional RmiClientInstrumentation, RmiServerInstrumentation, ClientAdvice, and ServerAdvice under dd-java-agent/instrumentation/rmi. Later adds (2019-12-13, 2019-12-20, 2025-12-18 refactor/relocation) are enhancements or moves. No earlier RMI instrumentation commit exists.
sofarpc — accepted field evidence
Field or member Published value Derivation authority Accepted evidence
_v 1 Manifest v1 contract Deterministic schema gate passed.
name sofarpc Tracer integration identity source — SofaRpcModule (the only module, assignment 'declared' in the grounding entry) extends InstrumenterModule.Tracing and calls super("sofarpc"), so the first and only configuration name is exactly 'sofarpc'.
display_name SOFARPC Official product name source — The integration instruments the SOFARPC framework itself (com.alipay.sofa.rpc.* classes: AbstractCluster, ProviderProxyInvoker, transport handlers), not a broader shared module, so the library's name is the right label.
description Instruments SOFARPC client and server remote procedure calls, creating spans and propagating trace context across its supported transports. Complete Datadog patch-surface inventory source — Client side: AbstractCluster.invoke(SofaRequest) advice starts a client span (SofaRpcClientDecorator, span type RPC) and at line 55 injects trace context into the SofaRequest via SofaRpcInjectAdapter (addRequestProp).
source — Server side: ProviderProxyInvoker.invoke(SofaRequest) advice extracts context from request props and starts a server span, but only when a transport hook (Bolt/H2C/REST/Triple, set via SofaRpcProtocolContext in the four transport instrumentations) has marked the thread (lines 46-49).
source — typeInstrumentations lists the client cluster hook, the four server transport hooks (Bolt, H2C, REST, Triple), and the provider invoker hook; this is the full patch surface, and the description covers client and server RPC spans plus propagation.
packages [com.alipay.sofa:sofa-rpc-all] Tracer-to-Maven package mapping source — The muzzle pass block has group com.alipay.sofa, module sofa-rpc-all, versions [5.0.0,) with assertInverse. This matches grounding publication_packages (package_source: muzzle). The instrumented classes (com.alipay.sofa.rpc.*) ship in that artifact.
category: rpc.client rpc.client Manifest v1 category policy · rpc.client definition instrumentation source — The advice on the consumer-side AbstractCluster.invoke(SofaRequest) creates a client span itself (startSpan with SOFA_RPC_CLIENT, a ClientDecorator with span type RPC, rpc.service/rpc.method tags in SofaRpcClientDecorator). SOFARPC is a standalone RPC framework whose consumer proxy is an independent customer-facing RPC API, not transport under a more specific messaging, AI, or service contract, so rpc.client qualifies.
category: rpc.server rpc.server Manifest v1 category policy · rpc.server definition instrumentation source — The provider-side ProviderProxyInvoker.invoke(SofaRequest) advice creates a server span itself (SOFA_RPC_SERVER, a ServerDecorator with span type RPC) for the RPC service-implementation call. This is SOFARPC's own service API, so rpc.server qualifies. http.server is rejected because the REST/H2C transport hooks only set a thread-local protocol marker beneath this RPC operation (and the HTTP spans come from other integrations). serialization, messaging, task.execution, and the other categories have no hook in the inventory.
systems: sofarpc sofarpc Manifest v1 system policy · sofarpc definition instrumentation source — Identity and binding: the hooks target SOFARPC's own dedicated classes (com.alipay.sofa.rpc.client.AbstractCluster here, plus com.alipay.sofa.rpc.server.ProviderProxyInvoker). These are the SOFARPC framework's RPC contract, so no other RPC backend is runtime-selected through them. 'sofarpc' is a schema-admitted protocol-kind RPC identity with an independent customer-facing contract, and it matches the rpc.system tag set in SofaRpcClientDecorator line 43. grpc is not published: Triple is only one SOFARPC transport, and this integration hooks UniqueIdInvoker only to set a thread-local, leaving any grpc spans to the separate grpc integration.
creation_date 2026-04-23 first commit adding working instrumentation instrumentation source — git log --follow --diff-filter=A on SofaRpcModule.java returns only the linked commit ('Add Sofa RPC instrumentation (Bolt, H2C, REST, Triple) (#11135)', author date 2026-04-23). A repository-wide pickaxe search (-S sofarpc, case-insensitive, reversed) lists this commit as the earliest; every later commit is maintenance. So this is the first functional add, with no predecessor.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

comp: tooling Build & Tooling tag: ai generated Largely based on code generated by an AI or LLM tag: no release notes Changes to exclude from release notes type: documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant