I am using io.opentracing
to get the trace and log it.
But, getting duplicate trace. One with http.status_code
as string and other as integer
Example trace:
{
tags:
{
"http.url":"http://localhost:8080",
"http.status_code" : "200",
"http.method":"POST"
}
}
and
{
tags:
{
"http.url":"http://localhost:8080",
"http.status_code" : 200,
"http.method":"POST"
}
}
Expected output
{
tags:
{
"http.url":"http://localhost:8080",
"http.status_code" : 200,
"http.method":"POST"
}
}
Any suggestions are greatly appreciated.
Setting the TracingPolicy to IGNORE solves the issue.