From the course: Prometheus and Grafana: Visualizing Application Performance

Unlock this course with a free trial

Join today to access over 24,900 courses taught by industry experts.

Grafana transformations

Grafana transformations

- [Instructor] In Grafana, a transformation is a powerful concept that allows you to manipulate and reshape data before it reaches your panels. A transformation is an intermediary between your raw data and stunning visual displays. It can help you enhance your clarity, consolidate data, and improve visualization. Some common transformations include add field, convert field type, and extract fields. Imagine you are monitoring server CPU usage over time in a table panel. Prometheus might return timestamps in the epoch format, which isn't very user friendly. To solve this problem, you can use the format time transformation to convert the timestamps into a human readable format. This will make it much easier for you to correlate events and trends over time. Here are a couple of things to know to make the best use of transformations. The first is that the order is important. Since transformations are applied sequentially, the order can significantly impact the final results. Plan your…

Contents