Repository navigation
Conversation
Contributor
Contributor
🟢 Java Benchmark SLOs — All performance SLOs passed
PR vs. master results
Commit: Load and DaCapo benchmarks can be triggered manually in the GitLab pipeline. Results will appear in the Benchmarking Platform UI after completion. |
chojomok
changed the base branch from
master
to
mohammad-islam/java-instrumentation-manifest-pilot
November 20, 2026 18:17
chojomok
changed the base branch from
mohammad-islam/java-instrumentation-manifest-pilot
to
master
November 20, 2026 18:17
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>
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.
|
| 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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.yamlfile 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:
axis2)cxf)grpc)jakarta-rs)jakarta-websocket)jakarta-ws)javax-websocket)jax-rs)jax-ws)rmi)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.
axis2rpc.client,rpc.server2021-02-11cxfother2023-12-08grpcrpc.client,rpc.servergrpc2018-07-19jakarta-rshttp.server2021-11-16jakarta-websocketwebsocket.client,websocket.server2025-03-10jakarta-wsrpc.server2024-10-31javax-websocketwebsocket.client,websocket.server2025-03-10jax-rshttp.client,http.server2018-02-12jax-wsrpc.server2021-03-04rmirpc.client,rpc.server2019-12-05sofarpcrpc.client,rpc.serversofarpc2026-04-23Field-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_v1nameaxis2display_nameApache Axis2descriptionInstruments Apache Axis2 SOAP message processing and outbound transport calls, including asynchronous WebSphere transport handling and outbound trace-context propagation.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.
packagesorg.apache.axis2:axis2-kernel]category: rpc.clientrpc.clientrpc.clientdefinitioncategory: rpc.serverrpc.serverrpc.serverdefinitionsystems[]creation_date2021-02-11cxf— accepted field evidence_v1namecxfdisplay_nameApache CXFdescriptionInstruments Apache CXF service invocations to continue servlet request trace context during asynchronous request resumption.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.
packagesorg.apache.cxf:cxf-api,org.apache.cxf:cxf-core]category: otherotherotherdefinitionsystems[]creation_date2023-12-08grpc— accepted field evidence_v1namegrpcsource — The declared module GrpcServerModule calls super("grpc", "grpc-server"), and QueuedCommandInstrumentation calls super("grpc", "grpc-netty"). Every declared module names grpc first.
display_namegRPCdescriptionInstruments 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.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.
packagescom.linecorp.armeria:armeria-grpc,io.grpc:grpc-core]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.clientrpc.clientrpc.clientdefinitioncategory: rpc.serverrpc.serverrpc.serverdefinitionsystems: grpcgrpcgrpcdefinitioncreation_date2018-07-19jakarta-rs— accepted field evidence_v1namejakarta-rssource — super("jakarta-rs") is the sole name of the AppSec MessageBodyWriter module, so it belongs to the same integration.
display_nameJakarta RESTful Web ServicesdescriptionInstruments Jakarta REST resource methods to trace inbound HTTP request handling, including asynchronous and aborted requests, and inspect JSON response bodies for AppSec blocking.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'.
packagesjakarta.ws.rs:jakarta.ws.rs-api]category: http.serverhttp.serverhttp.serverdefinitionsystems[]creation_date2021-11-16jakarta-websocket— accepted field evidence_v1namejakarta-websocketsource — The protected constructor passes instrumentationName (jakarta-websocket) as the primary InstrumenterModule.Tracing name.
display_nameJakarta WebSocketsource — 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.
descriptionInstruments Jakarta WebSocket API message sends, receives, and closes.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.
packagesjakarta.websocket:jakarta.websocket-client-api]category: websocket.clientwebsocket.clientwebsocket.clientdefinitioncategory: websocket.serverwebsocket.serverwebsocket.serverdefinitionsystems[]creation_date2025-03-10jakarta-ws— accepted field evidence_v1namejakarta-wssource — The decorator's instrumentationNames() returns {"jakarta-ws"}, which confirms the identity.
display_nameJakarta Web Services Metadata APIdescriptionTraces invocations of public methods on Jakarta Web Services 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.
packagesjakarta.jws:jakarta.jws-api]category: rpc.serverrpc.serverrpc.serverdefinitionsystems[]creation_date2024-10-31javax-websocket— accepted field evidence_v1namejavax-websocketdisplay_nameJava API for WebSocketdescriptionInstruments JSR 356 (Java API for WebSocket) client and server endpoints, tracing message send, receive, and session close operations.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).
packagesjavax.websocket:javax.websocket-api]category: websocket.clientwebsocket.clientwebsocket.clientdefinitioncategory: websocket.serverwebsocket.serverwebsocket.serverdefinitionsystems[]creation_date2025-03-10Evidence for
jax-rs,jax-ws,rmi,sofarpccontinues 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
type:and (comp:orinst:) labels in addition to any other useful labelsclose,fix, or any linking keywords when referencing an issueUse
solvesinstead, and assign the PR milestone to the issueJira ticket: IDMPL-594