Showing results for 
Show  only  | Search instead for 
Did you mean: 

OpenTelemetry business transactions only show HTTP Post


For 3 Spring Boot applications (2 classic servlet and one spring cloud gateway in front) I have enabled OTEL and see the first metrics arriving successfully in my Controller.

Due to whatever reasons it seems that the Business Transactions only show that the app is NodeJS & the name of the Transaction is HTTP Post. I don't see the different routes that are available via the gateway & routed to the 2 classic spring boot applications.

For a short test I also reconfigured the collector to log every request instead of forwarding it to the controller, please see attached details about the request:

Resource attributes:
     -> appdynamics.controller.account: Str(acme)
     -> Str(
     -> appdynamics.controller.port: Int(443)
     -> Str(gateway)
     -> service.namespace: Str(acme-namespace)
     -> telemetry.sdk.language: Str(java)
     -> Str(opentelemetry)
     -> telemetry.sdk.version: Str(1.16.0)
ScopeSpans #0
ScopeSpans SchemaURL:
Span #0
    Trace ID       : 5fea943a828ccd2fff3072992d4e5ab6
    Parent ID      :
    ID             : 5a8b847d55a33279
    Name           : HTTP GET
    Kind           : SPAN_KIND_SERVER
    Start time     : 2022-10-29 17:19:45.595667 +0000 UTC
    End time       : 2022-10-29 17:19:45.640038791 +0000 UTC
    Status code    : STATUS_CODE_ERROR
    Status message :
     -> Str(localhost:8881)
     -> http.method: Str(GET)
     -> http.path: Str(/api/acme/endpoint)
     -> http.route: Str(/api/acme/endpoint)
     -> http.scheme: Str(http)
     -> http.status_code: Int(500)
     -> Str(/api/acme/endpoint)
     -> http.user_agent: Str(curl/7.79.1)
     -> Str(localhost)
     -> net.transport: Str(http)
SpanEvent #0
     -> Name: exception
     -> Timestamp: 2022-10-29 17:19:45.637675125 +0000 UTC
     -> DroppedAttributesCount: 0
     -> Attributes::
          -> exception.message: Str(Connection refused: localhost/[0:0:0:0:0:0:0:1]:8884)
          -> exception.stacktrace: Str($AnnotatedConnectException: Connection refused: localhost/[0:0:0:0:0:0:0:1]:8884
	Suppressed: The stacktrace has been enhanced by Reactor, refer to additional information below:
Error has been observed at the following site(s):
	*__checkpoint ⇢ [DefaultWebFilterChain]
	*__checkpoint ⇢ [DefaultWebFilterChain]
	*__checkpoint ⇢ [DefaultWebFilterChain]
	*__checkpoint ⇢ [DefaultWebFilterChain]
	*__checkpoint ⇢ [DefaultWebFilterChain]
	*__checkpoint ⇢ [DefaultWebFilterChain]
	*__checkpoint ⇢ [DefaultWebFilterChain]
	*__checkpoint ⇢ [DefaultWebFilterChain]
	*__checkpoint ⇢ [DefaultWebFilterChain]
	*__checkpoint ⇢$ServerWebExchangeReactorContextWebFilter [DefaultWebFilterChain]
	*__checkpoint ⇢ [DefaultWebFilterChain]
Original Stack Trace:
Caused by: Connection refused
	at java.base/ Method)
	at java.base/
	at java.base/
	at io.netty.util.concurrent.SingleThreadEventExecutor$
	at io.netty.util.internal.ThreadExecutorMap$
	at java.base/
          -> exception.type: Str(

Any idea?


AppDynamics Team


It seems that the Business Transactions in the AppDynamics Controller are not able to differentiate between the different routes that are available via the gateway and routed to the 2 classic Spring Boot applications. This is likely because the routes are not being properly instrumented with OTEL.

To fix this issue, you should make sure that all the necessary libraries are being instrumented with OTEL and that the necessary spans are being created for each route. You may also need to check the configuration of the OTEL collector to ensure that it is properly forwarding all the data to the AppDynamics Controller.

Looking at the log you provided, it seems that there was an error connecting to a service running on port 8884. This could be related to the issue you are experiencing with the Business Transactions not being properly identified. You may need to investigate this error further and resolve it before the Business Transactions can be properly instrumented.

Satbir Singh

Found something helpful? Click the Accept as Solution button to help others find answers faster.
Liked something? Click the Thumbs Up button.