I want to show a heading in my health check dashboard. Color of this heading should be able to change to Green, Yellow and Red depending on the health status. I could not find any straight forward way to create this visualization.
I don't think you can do that with Dashboards. Instead, Canvas is perfectly suited for that kind of requirement.
The closest thing I've figured out for Dashboards is to use the Markdown output for TSVB where you can output text and style backgrounds and texts using CSS.
For example this dashboard shows two TSVB panels that filter the count of records by two values, same as the pie chart below.
In fact, depending on your data query you may be able to do this using the Metric output in TSVB that has what is called Color Rules where you can change the background and text color based in the metric value.
In my example I want a ratio between status: OK and status: Error so after switching to the Metric output, in Panel Options I can add the color rules to use 0.5 as my threshold
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.