Missing traces/spans for requests
See original GitHub issueWe have a third party docker containers were we have injected the opentelemetry java agent. That works great. Metrics, logging are extracted.
But not for all requests (actual the requests I want to know more about), are not traced.
This is information from the metrics (prometheus endpoint): Irrelevant information is stripped
http_server_duration_count{http_flavor="1.1",http_host="internal_hostname:8081",http_method="POST",http_scheme="http",http_status_code="200",service_name="myservice"} 1366 1650014515741
http_server_duration_count{http_flavor="1.1",http_host="x_internal_ip.x.x.x:8081",http_method="POST",http_route="/api/v1/aangiftes/berekening",http_scheme="http",http_status_code="500",service_name="myservice"} 1 1650014515741
http_server_duration_count{http_flavor="1.1",http_host="localhost:8081",http_method="OPTIONS",http_route="/*",http_scheme="http",http_status_code="202",service_name="myservice"} 1187 1650014515741
http_server_duration_count{http_flavor="1.1",http_host="internal_hostname:8081",http_method="POST",http_route="/api/v1/aangiftes/berekening",http_scheme="http",http_status_code="500",service_name="myservice"} 1 1650014515741
otlp_exporter_exported{service_name="myservice",success="true",type="span"} 1191 1650014515741
otlp_exporter_seen{service_name="myservice",type="span"} 1191 1650014515741
processedSpans{dropped="false",service_name="myservice",spanProcessorType="BatchSpanProcessor"} 1191 1650014515741
I see a number of requests without an http_route. These requests do not get traced. All the other requests are send either curl or by the monitoring (the OPTIONS requests). These requests do get traced.
The third party Java service is using Spring boot with Jersey JaxRS.
The invocation of these services is done by .Net code in Azure. HttpClient postAsync with a payload. These are also send to /api/v1/aangiftes/berekening, but apparently not recognized for that http_route.
My question is: How can we get the metrics right, then it also gets the http_route and how do we get the traces for these requests as well.
Issue Analytics
- State:
- Created a year ago
- Comments:11 (5 by maintainers)
@trask @mateuszrzeszutek Thanks, I just started using 1.13.0 and the issue is solved!
hi @cbos! current target for 1.13.0 release is Monday.