| title | Distribution Widget | |||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| widget_type | distribution | |||||||||||||||||||||||||||||||||||
| description | Graph a metric distribution aggregated across one or several tags. | |||||||||||||||||||||||||||||||||||
| aliases |
|
|||||||||||||||||||||||||||||||||||
| further_reading |
|
The Distribution visualization shows data aggregated across one or several tags, such as hosts. Unlike the heatmap, a distribution graph's x-axis is quantity rather than time.
This visualization displays only a single query; additional queries are disregarded.
Note: Outlier detection cannot be performed for this visualization.
{{< img src="/dashboards/widgets/distribution/distribution_fullscreen.png" alt="Distribution graph for JVM heap average by host">}}
- Choose the data to graph. The Distribution visualization supports many sources, including metrics, live processes, APM request latency, log events, and RUM events.
- Make a selection in the
avg/last/max/min/sumcontrol to see your data across the associated tags. - Customize your graph with the available options.
The Distribution widget supports these histogram types:
- Histogram of points: Each individual datapoint (for example, a raw request latency measurement) contributes to a bucket based on its value. Use this when you want to see the full distribution of measurements across all recordings.
- Histogram of groups: Each group (such as a service or host) is first reduced to a single aggregated value (for example, the p75 latency), and then those aggregated values are distributed across buckets. The resulting shape reflects the spread of per-group summary values, not individual measurements.
With APM request distributions, you can add percentile markers on the x-axis.
{{< img src="dashboards/widgets/options/distribution_marker_controls.jpg" alt="Marker control preferences" style="width:80%;">}}
Axis controls are available through the UI and the JSON editor.
They allow you to:
- Clip the x and y-axes to specific ranges.
- Automatically change x-axis bounds based on a percentile or an absolute value threshold. This threshold can be applied to one or both ends of the graph (lower and upper) to remove "outlier" bins.
- Change the y-axis scale from linear to log.
{{< img src="dashboards/widgets/options/distribution_axis_controls.jpg" alt="Distribution axis control preferences" style="width:80%;">}}
In addition to the standard full screen options, you can use x-axis controls to zoom in to a specific percentile.
This widget can be used with the Dashboards API. See the following table for the widget JSON schema definition:
{{< dashboards-widgets-api >}}
{{< partial name="whats-next/whats-next.html" >}}