-
Notifications
You must be signed in to change notification settings - Fork 458
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
Convert Istio dashboards to Kibana Lens #5268
Conversation
"dataType": "number", | ||
"isBucketed": false, | ||
"label": " ", | ||
"operationType": "max", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should this be max?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
About this metric. I don't even know what it's doing but it is not one of those ones reported by Stephen to convert from Max to Sum. Before I change that, I'll have a chat with Stephen.
"title": "Galley Validation Failed", | ||
"type": "visualization", | ||
"version": "8.4.0" | ||
"title": "Galley Validation Failed by Label", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just tempted to ask if we need Galley in general. Do you think it gives value? Do you think we can remove it?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have no idea what it is yet. @ChrsMark do you know?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Istiod still reports this metric, right? If so, why to remove it?
The definition of this metric seems to be Count of validations failed by the configuration validation webhook
. The metric is reported as galley_validation_failed{group="networking.istio.io",reason="invalid_resource",resource="gateways",version="v1alpha3"} 1
.
So I would say if it's still provided, it's a valuable indicator that Istio provides and some other tools use it to create alerts. See an example here. So I wouldn't remove it if there is room for it in the dashboard but it's up to you folks to make the last call.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll have a look at that metric and I'll write here about it.
We can keep adding short info for how we test and also screenshots to provide evidence for your results. Also in general the description text like Some more ideas like grouping Pilot XDs together or Time related visualisation can also be handy. Especially in overview I am getting lost to read so many information. Also @constanca-m used markdown to group specific visualisations. You can also group by this your visualisations like here elastic/beats#34161 Overall great improvement Giuseppe! |
I agree. I opened this PR in
I am not sure what to put in there. I just wanted to convey that those metrics in
Looks good. I'll have a look into those. Thanks
|
@constanca-m and @gizas
It looks great that piece of markdown. Unfortunately it's a TSVB panel and the styling with custom CSS is not available in Lens. Given that the topic of this PR is to move away from TSVB I am not sure that I should add a TSVB panel for styling some markdown. |
🌐 Coverage report
|
|
I would like to start a discussion about the changes applied to migrate from TSVB to Lens. I'll highlight every change in a separate comment so that we easily reference them and comment them.
|
Hey @bvader, |
The problem with that is it's coming from a Gauge TSVB visualization. Since there was lot of focus on moving the Istio integration entirely to Lens, I am now wondering how much of hour current dashboards still rely on TSVB given that I have seen at least
|
At the moment all above changes LGTM.
|
5642aea
to
17702b0
Compare
About the foot label. I can either remove the label entirely or customize the this is how you remove the and this is how it looks with no X axis label. What do you suggest?
I can't modify any of the visual aspect of this Metric visualization, meaning either the aspect of the number or the headers. TSVB has lot more customization capabilities (via CSS) than Lens. The only alternative is to have a single big percentage number but we will be getting rid of the color that indicate a possible range of values. |
This is unfortunately true. There are other things that Lens can't do yet, so I wouldn't call having this text as a problem. Example of another thing: summing the last value of some metric that breaks down in a label (Limitations section in this PR) |
If it were me, I would try to remove the axis labels, and try to be clear with the title and the legend (if it exists). And there is no reason to add the unit type (example, sec, %) in the title, if we can write the axis value with a suffix - like 4 sec. @gsantoro |
I am more than glad to remove the X axis entirely, fix the This is how it looks with no X axis and 1h fixed timeframe |
The visualization is very understandable, I don't see a problem in not having a suffix in the x values. |
Here it is the updated look of the dashboard. Changes are:
|
The link to the screenshot just leads me to the description of the PR @gsantoro |
Such kind f information can go to a small markdown if you think the user should know. Sth like Overall LGTM |
@constanca-m sorry about that. I fixed the screenshot now. @gizas I am personally not a huge fan of adding a markdown text to explain the decision behind a choice that might affect the performance of a dashboard. I would have preferred to keep the time frame dynamic like we do elsewhere and then do not required the markdown. Nevertheless, I am happy to go with this solution if you think it is better. |
Sure no strong opinion on this, just an alternative if you wanted to consider. |
I got some feedback from Stephen Brown that the Istiod Dashboards with 3 visualization per row are a This is how it looks with 2 visualization per row instead. I agree with him that it looks better now. So I'll keep it like this unless someone object here. About the time frame being fixed or not from a previous discussion. This is really what I would like to do:
Since we don't have strong guidelines on the previous topics, this is what I think it's sensible but feel free to point out to a better way to do this or some documentation. |
A couple of small changes:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Package istio - 0.2.4 containing this change is available at https://epr.elastic.co/search?package=istio |
* convert dashboards from TSVB to Lens * add data_set.datastream pre-filter * some other layout optimizations
* convert dashboards from TSVB to Lens * add data_set.datastream pre-filter * some other layout optimizations
What does this PR do?
Convert the Istio dashboards to Lens
Checklist
changelog.yml
file.Author's Checklist
How to test this PR locally
Related issues
Screenshots