Closed albertteoh closed 2 years ago
The prometheus query executed while hitting /api/metrics/latencies
has label filter as span_kind =~ "SPAN_KIND_SERVER"
while the operation HTTP GET
has label span_kind = "SPAN_KIND_CLIENT"
. Hence it gets filtered out.
Ah, thanks for investigating, @Ashmita152!
Yes, it's all coming back to me now; we filter on SPAN_KIND_SERVER
because we want to aggregate on ingress rather than egress requests (the latter wouldn't make sense IMO).
I'll close this ticket since it's expected (although potentially confusing) behaviour. I'll include this note in the documentation task for ATM.
Describe the bug
Context: https://github.com/jaegertracing/jaeger-ui/pull/815#issuecomment-968717141
To Reproduce Steps to reproduce the behavior:
cd docker-compose/monitor/
docker-compose up
/api/metrics/latencies?service=driver&endTs=1636969517360&groupByOperation=true&lookback=7200000&quantile=0.95&ratePer=3600000&step=60000
/FindNearest
.driver
service. Both/FindNearest
andHTTP GET
operations are present.Expected behavior Receive latency metrics for two operations:
HTTP GET
/FindNearest
Version (please complete the following information):