Kiali Sprint #35 — enhanced metric charts, new validations

Edgar Hernandez
Mar 4, 2020 · 4 min read

Hello all! Sprint #35 finished on February 21st and Kiali 1.14 was released that same day as scheduled.

This Sprint there are a few improvements on the correlation features that were added in the last Sprints — the focus was on navigation between Kiali pages. Also, two new validations on Istio objects were added, and there are new features that allow more flexibility when querying data. The list is short, so this should be a quick read.

If you would like to watch the recorded demo, here is the video:

Although the recording is 33 minutes long, the demo starts at 6:40 and finishes at 24:30, so it really is about 18 minutes long.

In case you prefer to read, let’s start with the list of enhancements.

New validations for AuthorizationPolicy

Two new validations were added to check miss-configurations of the AuthorizationPolicy Istio object:

  • Namespace not found. AuthorizationPolicy lets you specify the namespaces that are the source of traffic going to the target workloads. If any of the specified namespaces doesn’t exist, Kiali will show a warning.
  • No matching workload found. AuthorizationPolicy lets you specify the target workloads by including a selector. Kiali will show a warning if no workloads match the selector of the AuthorizationPolicy.

Read the documentation available at Kiali’s website for a detailed description of these new validations.

Navigation to Traces page from metric charts

Over the last two sprints, Jaeger spans were added to the metric charts. If you wanted more insight into the trace spans, you needed to switch to the dedicated Traces page.

The need to go to the Traces page and manually find the same spans you saw in the metrics page is not ideal. This Sprint the metric charts were enhanced to let you click on a trace and Kiali will display the selected trace on the Traces page:

Custom time range in metrics

In metrics pages, you are able to see metrics from the present and to a time-span in the past. A drop-down is used to choose the desired time-span. In this drop-down, a new Custom option has been added which will show date-time selectors that will let you specify an arbitrary time range to query metrics.

This complements the Graph replay feature that was added in the previous Sprint.

Interactive time-range selection in charts

The past point talks about custom time-range in metric charts. That’s nice, right? What is even nicer is that you can interactively choose a time-range.

If you see something interesting to inspect, click and hold in the charts, then drag to select the portion of interest, and release to finish the selection. Once you finish the selection, the time-range drop-down will switch to Custom and the selected time-span will be preset:

A note: all charts in the page are time-range synced. So, when using this feature, all charts will be refreshed to show the chosen time-range.

Navigate to detail pages from drilled down graph

In the Kiali’s main graph, when you double-click on a node the graph will change to show only the neighborhood of the node — the Kiali team usually refers to this state as a drilled down graph.

Once in the drilled down graph of a node, you can double-click other nodes and the graph will change and show the neighborhood of the new chosen node. But what happens if you want to double-click the same node that you already double-clicked? Previously, nothing happened. But we understand that you may want more details of that node. So, this action will now show the detail page of the double-clicked node.

Main navigation menu now using PatternFly 4 styles

This is the before-and-after screenshot:

Because of the PatternFly 4 migration that happened some Sprints ago, we had to override some styles to keep consistency of the UI. But these style customizations create technical debt and make the Kiali codebase larger. So, these customizations were removed and the main navigation is now looking the way the PatternFly 4 designers carefully crafted 😃

Stay in touch

That’s the update of this Sprint… and half of Sprint #35 has already passed! Expect soon the upcoming Kiali 1.15 release.

In the meantime, try Kiali if you haven’t used it! It’s easy to install. Read our Getting started guide, available in the website.

I remind you that Kiali project has a Twitter account. Follow us! We post news about the project, videos, talks, the presence of the team in conferences, and more.

Kiali

Service Mesh Observability

Medium is an open platform where 170 million readers come to find insightful and dynamic thinking. Here, expert and undiscovered voices alike dive into the heart of any topic and bring new ideas to the surface. Learn more

Follow the writers, publications, and topics that matter to you, and you’ll see them on your homepage and in your inbox. Explore

If you have a story to tell, knowledge to share, or a perspective to offer — welcome home. It’s easy and free to post your thinking on any topic. Write on Medium

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store