Heatmap
Use these settings to adjust how axes are displayed in your visualization.
- Unit - The display unit for the Y axis value
- Scale - The scale to use for the Y axis value.
- log (base 2) - Logarithmic scale with base 2.
- log (base 10) - Logarithmic scale with base 10.
- log (base 32) - Logarithmic scale with base 32.
- log (base 1024) - Logarithmic scale with base 1024.
- Y-Min - The minimum Y value (default auto).
- Y-Max - The maximum Y value (default auto).
- Decimals - Number of decimals to render Y axis values with (default auto).
Buckets
- Y Axis Buckets - Number of buckets Y axis will be split into.
- Size - (Only visible if Scale is linear). Size of each Y axis bucket. This option has priority over Y Axis Buckets.
- Split Factor - (Only visible if Scale is log (base 2) or greater). By default Grafana splits Y values by log base. This option allows to split each default bucket into specified number of buckets.
- X Axis Buckets - Number of buckets X axis will be split into.
- Size - Size of each X axis bucket. Number or time interval (10s, 5m, 1h, etc). Supported intervals: ms, s, m, h, d, w, M, y. This option has priority over X Axis Buckets.
Bucket bound
Bucket size
The Bucket count and size options are used by Grafana to calculate how big each cell in the heatmap is. You can define the bucket size either by count (the first input box) or by specifying a size interval. For the Y-Axis the size interval is just a value but for the X-bucket you can specify a time interval in the Size input, for example, the time range 1h. This will make the cells 1h wide on the X-axis.
Data format
Choose an option in the Format list.
- Time series - Grafana does the bucketing by going through all time series values. The bucket sizes and intervals are set in the Buckets options.
- Time series buckets - Each time series already represents a Y-Axis bucket. The time series name (alias) needs to be a numeric value representing the upper or lower interval for the bucket. Grafana does no bucketing, so the bucket size options are hidden.
Display options
The color spectrum controls the mapping between value count (in each bucket) and the color assigned to each bucket. The leftmost color on the spectrum represents the minimum count and the color on the right most side represents the maximum count. Some color schemes are automatically inverted when using the light theme.
You can also change the color mode to Opacity. In this case, the color will not change but the amount of opacity will change with the bucket count
Color scale
- Min - Minimum value using for cell color calculation. If the bucket value is less than Min, then it is mapped to the “minimum” color. Default is series min value.
- Max - Maximum value using for cell color calculation. If the bucket value is greater than Max, then it is mapped to the “maximum” color. Default is series max value.
Choose whether to display the heatmap legend on the visualization or not.
Buckets
- Hide zero - Do not draw cells with zero values.
- Space - Space in pixels between cells. Default is 1 pixel.
- Round - Cell roundness in pixels. Default is 0.
- Show tooltip - Show heatmap tooltip.
- Decimals - Number of decimals to render bucket value with (default auto).