21 May 2026 04:53 PM
Currently In Distributed Tracing, I can see the value as below, under Request attributes, using the below mentioned payload.
1. [key1,key2,key3] when "argumentIndex": 1
2. [value1,value2,value3] when "argumentIndex": 2
Please advise on how I can get the value of "Request-attributes-1" as only "value2"?
{
"name": "Request-attributes-1",
"enabled": true,
"dataType": "STRING",
"dataSources": [
{
"enabled": true,
"source": "METHOD_PARAM",
"technology": "JAVA",
"methods": [
{
"method": {
"visibility": "PUBLIC",
"modifiers": [
"ABSTRACT"
],
"className": "javax.class1.class2",
"methodName": "setAttribute",
"argumentTypes": [
"java.lang.String",
"java.lang.Object"
],
"returnType": "void"
},
"capture": "ARGUMENT",
"argumentIndex": X,
"deepObjectAccess": "toString().trim()"
}
]
}
],
"normalization": "ORIGINAL",
"aggregation": "ALL_DISTINCT_VALUES",
"confidential": false,
"skipPersonalDataMasking": false
}Featured Posts