Kie Tools 0.30.0 is out and with it we have multiple improvements to Dashbuilder. This post also includes Dashbuilder 0.29.0.
For NPM package users just update the dashbuilder-client dependency version to 0.30.0.
This KIE Tooling release highlight is the new interface for the Web Editor! It comes with a new Samples section which includes dashboards:
Datasets are an important part of Dashbuilder. In this release we have multiple improvements related to datasets:
You can declare global datasets that can have its values overridden by the local declaration. This can specially useful when we have multiple datasets that share the same configuration such as cache or url.
Dataset now may have a type. With this we can easily consume some known sources of data and not be required to transform the data, it will done internally in Dashbuilder. For example, if you are consuming from Prometheus query API you just have to declare the dataset with "type" prometheus and it will work!
A dataset can have a separated declaration for query parameters. Using the field "query" you can declare a map with parameters that will be added to the query parameters for the dataset URL.
A new field "join" allow users to join other datasets into a single result. This is specially important to prometheus datasets because allow users to join two different metrics result into a single dataset. The join also adds a new column with the dataset uuid and it can be used as series in a XY chart. Important to notice that the joined datasets must have compatible columns (same type of columns in each position), otherwise the join fails!
A few new components were added to this release, let’s talk about them.
It is possible to use markdown language. It is an alternative to html component. Markdown are easier to read and write and you still can apply CSS properties to it using the properties map. To use this component just add a markdown declaration followed by the markdown content.
A collapsible panel is now available. With it you can embed pages but with a title that can be collapsed. The panel title is always the page name, you just have to use the following component declaration: panel: page name
The timeseries is now an internal component and it works like the old external component: it accepts three columns, the first has the series, the second the timestamp and the last the value. This makes it compatible with Prometheus queries.
This version also brings a few more improvements to Dashbuilder:
- Column settings support for timeseries and meter charts;
- Updated the metrics dashboard deployed from Kubesmarts
- Metrics datasets now prevent problems with NaN
- Cleanup of outdated files
In this article we described another exciting new release for Dashbuilder! The goal of this release was to make Dashbuilder a better tool for monitoring services, hence a new post will cover Prometheus dashboards with Dashbuilder.