Skip to content
This repository has been archived by the owner on Oct 7, 2021. It is now read-only.

Add metrics chart display recommendations #31

Merged
merged 3 commits into from
Aug 25, 2018

Conversation

cshinn
Copy link
Contributor

@cshinn cshinn commented Aug 14, 2018

Adds two options for displaying charts on the service metrics page and some other small changes.

Adds .gitignore file

Closes #12

@@ -0,0 +1 @@
.DS_Store
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what is this for? :)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Mac computers create these little metadata files and they get annoying

- Charts should be displayed at a fixed height, but if this is not possible/practical both charts in each pair should have the same height.

![alternative service metrics page](img/service-metrics-alt.png)
- Alternatively, charts could be grouped into cards by the metric that they represent. In this case, they would exhibit the same behaviors described above.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not clear what does "group charts into cards" mean ? having several different metrics in the same graph?

Copy link
Contributor Author

@cshinn cshinn Aug 15, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's just a different visual presentation of the same information, putting the charts for input and output request volume on a card for instance rather than having everything on a white page.

![alternative service metrics page](img/service-metrics-alt.png)
- Alternatively, charts could be grouped into cards by the metric that they represent. In this case, they would exhibit the same behaviors described above.

![expanded metrics chart](img/service-metrics-expanded.png)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is this image with visible legend correct? (I mean the legend visible below the graph at all times)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That should only be when a graph is expanded to fill the whole screen. I'll update to make that clearer

@abonas
Copy link
Contributor

abonas commented Aug 15, 2018

@jotak fyi, please review

@jotak
Copy link

jotak commented Aug 16, 2018

@cshinn , @abonas I like the idea of grouping in/out charts by pairs in cards. Also, I wonder when they're grouped horizontally like this, we could maybe take the legend back (every chart wouldn't have the same height, but at least they would be aligned). 'Cause I fear removing the bottom legend has too many drawbacks: the bottom legend has the advantage to be interactive, makes it more immediate to understand the chart, also is probably more printing/screenshot-friendly.

It's great to be able to filter on histogram stats: it's a step in the direction of enhancing this screen, but we could also do more: see https://issues.jboss.org/browse/KIALI-936 (created a while ago but still valid). It would be nice to be able to filter out from label values (so, this is dynamic filtering as we don't know in advance what those values are).

Use Case Example: I want to compare metrics between v5 and v6 of my service. So I ask to show metrics by version, and get v1/v2/v3/v4/v5/v6. I'm only interested in the last two, others is noise. We could be able to remove v1 to 4 from the list of version values.

@abonas
Copy link
Contributor

abonas commented Aug 16, 2018

@jotak thanks for your inputs. I too like grouping into cards.
Regarding the legend, lets discuss with @cshinn what can be done

@cshinn
Copy link
Contributor Author

cshinn commented Aug 16, 2018

@jotak I think that's a good point. Having the charts paired could let us use the legend without messing up alignment. We should try that and see if it works well in unusual situations.

@abonas
Copy link
Contributor

abonas commented Aug 22, 2018

@cshinn just making sure I understand this correctly - this is waiting for some updates from your side on the paired charts legend?

@cshinn
Copy link
Contributor Author

cshinn commented Aug 23, 2018

@abonas I've updated the recommendations to reflect our discussion

@serenamarie125 serenamarie125 merged commit 1afbdc1 into kiali:master Aug 25, 2018
@cshinn cshinn deleted the charts branch August 28, 2018 16:33
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants