2022-05-26 23:06:25 +08:00
---
aliases:
2022-12-10 00:36:04 +08:00
- ../../features/panels/heatmap/
- ../../visualizations/heatmap/
2022-05-26 23:06:25 +08:00
description: Heatmap visualization documentation
keywords:
- grafana
- heatmap
- panel
- documentation
Explicitly set all front matter labels in the source files (#71548)
* Set every page to have defaults of 'Enterprise' and 'Open source' labels
Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
* Set administration pages to have of 'Cloud', 'Enterprise', and 'Open source' labels
Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
* Set administration/enterprise-licensing pages to have 'Enterprise' labels
Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
* Set administration/organization-management pages to have 'Enterprise' and 'Open source' labels
Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
* Set administration/provisioning pages to have 'Enterprise' and 'Open source' labels
Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
* Set administration/recorded-queries pages to have labels cloud,enterprise
* Set administration/roles-and-permissions/access-control pages to have labels cloud,enterprise
Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
* Set administration/stats-and-license pages to have labels cloud,enterprise
* Set alerting pages to have labels cloud,enterprise,oss
* Set breaking-changes pages to have labels cloud,enterprise,oss
* Set dashboards pages to have labels cloud,enterprise,oss
* Set datasources pages to have labels cloud,enterprise,oss
* Set explore pages to have labels cloud,enterprise,oss
* Set fundamentals pages to have labels cloud,enterprise,oss
* Set introduction/grafana-cloud pages to have labels cloud
Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
* Fix introduction pages products
Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
* Set panels-visualizations pages to have labels cloud,enterprise,oss
* Set release-notes pages to have labels cloud,enterprise,oss
* Set search pages to have labels cloud,enterprise,oss
* Set setup-grafana/configure-security/audit-grafana pages to have labels cloud,enterprise
Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
* Set setup-grafana/configure-security/configure-authentication pages to have labels cloud,enterprise,oss
* Set setup-grafana/configure-security/configure-authentication/enhanced-ldap pages to have labels cloud,enterprise
* Set setup-grafana/configure-security/configure-authentication/saml pages to have labels cloud,enterprise
* Set setup-grafana/configure-security/configure-database-encryption/encrypt-secrets-using-hashicorp-key-vault pages to have labels cloud,enterprise
* Set setup-grafana/configure-security/configure-request-security pages to have labels cloud,enterprise,oss
Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
* Set setup-grafana/configure-security/configure-team-sync pages to have labels cloud,enterprise
Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
* Set setup-grafana/configure-security/export-logs pages to have labels cloud,enterprise
Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
* Set troubleshooting pages to have labels cloud,enterprise,oss
* Set whatsnew pages to have labels cloud,enterprise,oss
* Apply updated labels from review
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com>
Co-authored-by: Isabel <76437239+imatwawana@users.noreply.github.com>
---------
Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com>
Co-authored-by: Isabel <76437239+imatwawana@users.noreply.github.com>
2023-07-18 16:10:12 +08:00
labels:
products:
- cloud
- enterprise
- oss
2022-05-26 23:06:25 +08:00
title: Heatmap
2023-09-01 02:31:37 +08:00
weight: 100
2022-05-26 23:06:25 +08:00
---
2020-05-16 00:06:55 +08:00
2021-06-04 03:22:26 +08:00
# Heatmap
2020-05-16 00:06:55 +08:00
2022-10-14 04:57:58 +08:00
The Heatmap panel visualization allows you to view histograms over time. For more information about histograms, refer to [Introduction to histograms and heatmaps ]({{< relref "../../../fundamentals/intro-histograms/" >}} ).
2020-05-16 00:06:55 +08:00
2021-05-28 17:27:40 +08:00

2020-05-16 00:06:55 +08:00
2022-08-23 01:50:34 +08:00
## Calculate from data
2020-05-16 04:58:39 +08:00
2022-08-23 01:50:34 +08:00
This setting determines if the data is already a calculated heatmap (from the data source/transformer), or one that should be
calculated in the panel.
2020-05-16 00:06:55 +08:00
2022-08-23 01:50:34 +08:00
### X Bucket
2020-05-16 00:06:55 +08:00
2022-08-23 01:50:34 +08:00
This setting determines how the X-axis is split into buckets. You can specify a time interval in the **Size** input. For example, a time range of `1h` makes the cells 1-hour wide on the X-axis.
2020-05-16 00:06:55 +08:00
2022-08-23 01:50:34 +08:00
### Y Bucket
2020-05-16 00:06:55 +08:00
2022-08-23 01:50:34 +08:00
This setting determines how the Y-axis is split into buckets.
2020-05-16 00:06:55 +08:00
2022-08-23 01:50:34 +08:00
### Y Bucket scale
2020-05-16 00:06:55 +08:00
2022-08-23 01:50:34 +08:00
Select one of the following Y-axis value scales:
2020-05-16 00:06:55 +08:00
2022-08-23 01:50:34 +08:00
- **linear -** Linear scale.
- **log (base 2) -** Logarithmic scale with base 2.
- **log (base 10) -** Logarithmic scale with base 10.
2023-07-06 01:43:54 +08:00
- **symlog -** Symlog scale.
2020-05-16 00:06:55 +08:00
2022-08-23 01:50:34 +08:00
## Y Axes
2020-05-16 00:06:55 +08:00
2022-08-23 01:50:34 +08:00
Defines how the Y axis is displayed
2020-05-16 00:06:55 +08:00
2022-08-23 01:50:34 +08:00
### Placement
2020-05-16 00:06:55 +08:00
2022-08-23 01:50:34 +08:00
- **Left** On the left
- **Right** On the right
- **Hidden** Hidden
2021-08-06 21:52:36 +08:00
2022-08-23 01:50:34 +08:00
### Unit
2020-05-16 00:06:55 +08:00
2022-08-23 01:50:34 +08:00
Unit configuration
2020-05-16 00:06:55 +08:00
2022-08-23 01:50:34 +08:00
### Decimals
This setting determines decimal configuration.
### Min/Max value
This setting configures the axis range.
2020-05-16 00:06:55 +08:00
2023-07-06 01:43:54 +08:00
### Axis width
This setting configures the width for the axis.
### Axis value
This setting configures the axis value.
2022-08-23 01:50:34 +08:00
### Reverse
When selected, the axis appears in reverse order.
## Colors
2020-05-16 00:06:55 +08:00
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
- **Mode**
2022-08-23 01:50:34 +08:00
- **Scheme -** Bucket value represented by cell color.
- **Scheme -** If the mode is **scheme** , then select a color scheme.
2020-05-16 00:06:55 +08:00
- **opacity -** Bucket value represented by cell opacity. Opaque cell means maximum value.
- **Color -** Cell base color.
- **Scale -** Scale for mapping bucket values to the opacity.
- **linear -** Linear scale. Bucket value maps linearly to the opacity.
- **sqrt -** Power scale. Cell opacity calculated as `value ^ k` , where `k` is a configured **Exponent** value. If exponent is less than `1` , you will get a logarithmic scale. If exponent is greater than `1` , you will get an exponential scale. In case of `1` , scale will be the same as linear.
- **Exponent -** value of the exponent, greater than `0` .
2022-08-23 01:50:34 +08:00
### Start/end color from value
2020-05-16 00:06:55 +08:00
2022-08-23 01:50:34 +08:00
By default, Grafana calculates cell colors based on minimum and maximum bucket values. With Min and Max you can overwrite those values. Consider a bucket value as a Z-axis and Min and Max as Z-Min and Z-Max, respectively.
2020-05-16 00:06:55 +08:00
2022-08-23 01:50:34 +08:00
- **Start -** Minimum value using for cell color calculation. If the bucket value is less than Min, then it is mapped to the "minimum" color. The series min value is the default value.
- **End -** Maximum value using for cell color calculation. If the bucket value is greater than Max, then it is mapped to the "maximum" color. The series max value is the default value.
2020-05-16 00:06:55 +08:00
2022-08-23 01:50:34 +08:00
## Cell display
2020-05-16 00:06:55 +08:00
2022-08-23 01:50:34 +08:00
Use these settings to refine your visualization.
2020-05-16 00:06:55 +08:00
2022-08-23 01:50:34 +08:00
## Additional display options
2020-05-16 00:06:55 +08:00
### Tooltip
- **Show tooltip -** Show heatmap tooltip.
2022-08-23 01:50:34 +08:00
- **Show Histogram -** Show a Y-axis histogram on the tooltip. A histogram represents the distribution of the bucket values for a specific timestamp.
### Legend
Choose whether you want to display the heatmap legend on the visualization.
### Exemplars
Set the color used to show exemplar data.