Need to get status code based on the http response code. Currently its showing only the default status code. How can we set up status code using hhtp response code.
Please do the needful.
Need to get status code based on the http response code. Currently its showing only the default status code. How can we set up status code using hhtp response code.
Please do the needful.
Hi,
I strongly believe that it’s the role of the application to set the status_code
of the span, therefore a lot will depend on your application and the library that you’re using in there. For now, you can check if your spans have attributes with HTTP codes and try to use that in your queries?