-
Notifications
You must be signed in to change notification settings - Fork 105
Return measurements to users in HTTP response #1130
Comments
would it solve the problem if jaeger was sufficiently low overhead (e.g. via sampling or perhaps even disabled by default) and you had a way to make sure a specific request is not being sampled away? e.g. some kind of request flag to forcibly make sure a request gets instrumented via jaeger? |
Part of it is visibility to end users, where our current tracing in Jaeger is far too verbose and not exposed. These stats are visible in the query inspector in Grafana, so it's very convenient for our users to see these stats. |
OK. |
Prometheus exposes similar stats when a parameter is present: prometheus/prometheus#2408 |
I think at the common Grafana level we should stay simple and have a list of name with durations. Right now I dont think this would be used outside the query inspector. As for the Graphite response, I would love to use an object instead of an array but I'm guessing we would be the only use of such feature so I think I would prefer headers in this case. The Graphite datasource plugin could then translate those headers to the internal model. |
fixed by #1344 |
Metrictank publishes a lot of metrics around cache hits, timings, etc. but while optimizing / analyzing individual queries, a lot of this gets lost. Jaeger is somewhat helpful but not sufficient for a variety of reasons (request volume, sampling, etc).
It would be nice if there could be a flag to indicate that stats should be returned with the response that can aid in figuring out what was triggered by this request. Some useful stats might be:
Most of these stats are already collected for Jaeger and/or publishing as aggregate metrics.
The text was updated successfully, but these errors were encountered: