-
Notifications
You must be signed in to change notification settings - Fork 11.7k
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
Enhancement - indication of returned data is rollup data #11700
Comments
That sounds like a good idea. Beyond visualising it like you propose I think the most important thing is to show that the data you are looking at has been rolled up using a specific time window & aggregation function. |
I plan to start working on this shortly.
looping in @DanCech to see if 3 is doable, if not 1 is probably simplest regardless, we'll go ahead and start working on the implementation for MT. |
For this use case, I prefer 1. |
Originally I was thinking of returning this information tied to the response as a whole. Now I'm thinking this could be even better by associating these stats to each returned series. So each returned series would have its own stats about how many and which roll ups and runtime consolidation were used to generate that particular series. We could then also tie this information in the UI directly to each series, rather than having the total numbers for the chart as a whole which are harder to tie back to the individual series. |
If your going to add series meta data then please also add query index so grafana can now the originating query |
How do you plan to use/visualize this information? Note that there may be N series for 1 originating query. As far as whether i'll do the metadata per-response or per-series, i'll see how feasible each are. But there seems benefits to both. do you have a preference? |
Panel Menu > Inspect > Opens side drawer with raw data, request response. And maybe some special handling for showing series rollup meta data. |
notes from meeting:
|
note to self: would be nice also if we can flag why a rollup or runtime consolidation was triggered (i'm thinking specifically when it's due to max-points-per-req-soft) |
metrictank-side work for this has started in grafana/metrictank#1481 |
this is now merged in MT. see above PR for details and output format. We will however, tweak the output format a bit to be more user friendly. |
So we plan to make this data available in the panel inspector drawer (that you access via panel menu). Will this be ok? |
related to #20710 |
I am not 100% sure what exactly that means. It sounds have if I need to use the panel menu to navigate to see the rollup information for the query. I think that would be OK, as long as there is a visual indicator, e.g. a R or something, to indicator that one is looking at rollup data. It would be helpful to see a screen snapshot or two. |
There would be nothing visible in the panel, you would have to open the panel inspect drawer. |
Why not? Is it too difficult to parse the results to determine if you are hitting rollup data? Can you provide a screen snapshot of what you will provide / show for MetricTank once one opens the panel inspect drawer? |
That's a pretty tough thing to interpret. I have no idea what exactly that means although I can guess. At a minimum I would like MetricTank to document each of the lines. But It would preferred if this was shown with more user friendly grammar. Maybe add a link to their documentation? |
Yes, I will refine my thinking on the UI mockup posted above. See ticket grafana/metrictank#1551 I will work with Ryan and our internal UX people on this. |
@shalstea until we have the new UI for this, here are the docs which should hopefully explain everything better: https://github.com/grafana/metrictank/pull/1559/files |
UI proposal: Furthermore, note that:
Typically there will be 1 lineage section in each series metadata section, but it's possible for there to be several. Let's take this hypothetical example: it could result in a response like so:
the lineage could thus be visualized as shown below. suggestion 1i didn't know any better but just describe the normalization and runtime consolidation steps as text. suggestion 2this one tries to make the steps more visual. notes:
|
@sarlinska the comment above might be interesting for you in the context of Inspect Drawer design |
Some progress on showing metric tank query meta in the inspect feature was completed in 6.6, but the panel inspector is still behind feature toggle and not ready. The changes to the panel header to show indication is not yet possible to start on, first we need to unify our panel headers, then redesign the panel header. This work is scheduled for 7.0 |
Not sure what the rollup indicator should say, orange ball icon, and then a tooltip "Rollups was used in calculating result check query inspector for details". And then in the query inspector how to we make sense of this:
|
First iteration of this can be tested in master build soon. The panel header icon placement and style is not final and the panel header will be getting an overhaul later in 7.0 |
You imply there is more work coming specific to this feature. Is there a ticket to track this? |
Not yet, relates to panel header / icon / state design . Will create issue coming week |
What's the link to the issue please? |
Grafana 5.0.3
MetricTank
We have users with many Charts on a single dashboard. Depending on the cardinality of the data and the timerange MetricTank may return rolled up data (in our case, configured for hourly). This can be subtle as potentially only 1 or 2 graphs out of nine are rolled up.
Also when the overall dashboard date range changes, sometimes from as little as 12 hours to 24 hours, rollup data is used.
Updated:
Docs for Metrictank metadata: https://github.com/grafana/metrictank/blob/master/docs/http-api.md#metadata
It would be extremely nice if there were an indicator that rolled up data was used. A mouse over would provide the configuration, e.g. hourly, daily
The text was updated successfully, but these errors were encountered: