Collecting traceparent parameter from transactions.
search cancel

Collecting traceparent parameter from transactions.

book

Article ID: 367964

calendar_today

Updated On:

Products

CA Application Performance Management (APM / Wily / Introscope) DX Application Performance Management CA Application Performance Management Agent (APM / Wily / Introscope)

Issue/Introduction

In the http header, the custom application writes the traceparent parameter using a command similar to the following :

 

Curl localhost:8086/restApp/1 --header "traceparent: 00-12345678912345678912345678912345-1234567891234567-01"

 

The request is to set the httpheader parameter on IntroscopeAgent.profile to collect the traceparent parameter.

Environment

Java agent, any version.

Resolution

Depending on the tracer instrumenting the frontend, a servlet or other correctly implemented HTTP frontend tracer, these properties can be set:

introscope.agent.transactiontracer.parameter.httprequest.headers=traceparent

introscope.agent.transactiontracer.parameter.httprequest.parameters=trace_id