-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
track "dashboard experience" (load failures, data duration) #21
Comments
Comment by Dieterbe if the clientside js code can post the metrics back to the grafana backend, we can submit them from there through statsd. |
Comment by torkelo Yes, this is absolutist something we need. I would implement this in a generic way for the frontend to take measurements (timings), that are sent to the backend, that are then sent to statsd with a very long interval (like a minute or more) so we can get very good percentiles. Frontend timing measurements are going to vary by orders of magnitude so it is very important to have something like statsdaemon infront with a flush interval long enough for us to get good percentiles. I already have some timing/perf measurement code in the frontend (nothing that sends to the backend at the moment, but prints to the console). You can enable this executing this in the js console: localStorage.setItem('profilingEnabled', 'true') This will print some dashboard loading times, number of angular scopes, digest timings etc. I have some panel timing stuff in place. all this could be extended and coupled with some component that can send them to the backend as well. |
Comment by Dieterbe
problem is statsd, statsdaemon, dogstasd just use 1 interval that gets applied to all incoming metrics. currently this is set to 10s. we could also use go-metrics to maintain long running weighted percentiles and get those metrics via expvar. anyway i'll gladly take care of the backend if somebody can do the frontend. |
Comment by torkelo I can do the frontend |
Comment by woodsaj This is really great as it will also allow us to store more customer-experience metrics as well. |
Comment by nopzor1200 I'd really like to rekindle this ticket and move forward on this. Big picture wise, I feel like we're flying blind (relatively speaking) with this kind of data. |
Issue by Dieterbe
Thursday Aug 27, 2015 at 10:36 GMT
Originally opened as raintank/grafana#433
we should track:
ideally, the metrics should be separated by how long ago are they querying, and how long is the period.
but not a super high accuracy to keep the metrics space sane. I'm thinking something like
the
xd.yd
at the end would be how many days ago is the from, and the y would be how many days ago is the until, with per-day resolution.The text was updated successfully, but these errors were encountered: