当前位置:网站首页>grafana可视化配置图表histogram
grafana可视化配置图表histogram
2022-07-19 19:50:00 【51CTO】
直方图histogram
直方图可视化计算值的分布并将它们显示为条形图。Y 轴和每个条的高度表示落入每个括号的值的计数,而 X 轴表示值范围。
支持的数据格式Supported data formats
直方图可视化支持时间序列和具有一个或多个数字字段的任何表格结果。
显示选项Display options
使用以下选项来优化您的可视化。
桶大小Bucket size
桶的大小。将此留空以自动调整存储桶大小(约 10% 的全范围)。
桶偏移Bucket offset
如果第一个桶不应该从零开始。非零偏移具有移动聚合窗口的效果。例如,大小为 0-5、5-10、10-15 且默认偏移量为 0 的 5 大小桶将变为偏移量为 2 的 2-7、7-12、12-17;在这种情况下,0、5 或 10 的偏移量实际上不会做任何事情。通常,此选项将与明确定义的存储桶大小一起使用,而不是自动使用。要使此设置生效,偏移量应大于 0 且小于桶大小;此范围之外的值将与此范围内的值具有相同的效果。
组合系列Combine series
这会将所有系列和字段合并为一个组合直方图。
行宽Line width
控制条的线宽。
填充不透明度Fill opacity
控制填充不透明度条。
渐变模式Gradient mode
设置渐变填充的模式。填充渐变基于线条颜色。要更改颜色,请使用标准 配色方案字段选项。
渐变显示受填充不透明度设置的影响。
没有任何None
没有渐变填充。这是默认设置。
不透明度Opacity
梯度的透明度是根据 Y 轴上的值计算的。填充的不透明度随着 Y 轴上的值而增加。
色调Hue
渐变色是根据线条颜色的色调生成的。
工具提示模式Tooltip mode
当您将光标悬停在可视化上时,Grafana 可以显示工具提示。选择工具提示的行为方式。
- 单一Single -悬停工具提示仅显示一个系列,即您悬停在可视化上的系列。
- 全部All -悬停工具提示显示可视化中的所有系列。Grafana 在工具提示的系列列表中以粗体突出显示您悬停的系列。
- 隐藏Hidden -与可视化交互时不显示工具提示。
注意:使用覆盖从工具提示中隐藏单个系列。
图例模式Legend mode
使用这些设置来优化图例在可视化中的显示方式。
- 列表List -将图例显示为列表。这是图例的默认显示模式。
- 表格table -将图例显示为表格。
- 隐藏hidden -隐藏图例。
图例放置Legend placement
选择显示图例的位置。
- 底部Bottom -图表下方。
- 右Right -在图表的右侧。
图例计算
选择要在图例中显示的 标准计算。您可以选择多个。
如下:
计算类型Calculation types
Calculation | Description |
All nulls | 当所有值都为空时为真 |
All zeros | 当所有值都为 0 时为真 |
Change count | 字段值更改的次数 |
Count | 字段中的值数 |
Delta | Cumulative change in value, only counts increments;价值的累积变化,只计算增量 |
Difference | Difference between first and last value of a field;字段的第一个值和最后一个值之间的差异 |
Difference percent | Percentage change between first and last value of a field字段的第一个值和最后一个值之间的百分比变化 |
Distinct count | Number of unique values in a field字段中唯一值的数量 |
First (not null) | First, not null value in a field第一个,字段中的非空值 |
Max | Maximum value of a field字段的最大值 |
Mean | Mean value of all values in a field字段中所有值的平均值 |
Min | Minimum value of a field字段的最小值 |
Min (above zero) | Minimum, positive value of a field字段的最小值,正值 |
Range | Difference between maximum and minimum values of a field字段的最大值和最小值之间的差异 |
Step | Minimal interval between values of a field字段值之间的最小间隔 |
Total | Sum of all values in a field字段中所有值的总和 |
边栏推荐
- 去做难的工作
- R语言使用ggpubr包的gghistogram函数可视化分组箱图、添加分组均值、自定义分组色彩、添加轴须图(rug)、添加密度曲线、添加双y轴分别表示频率以及密度曲线的密度值
- 最新《神经数据压缩导论》综述
- 服务器内网与外网的四大区别?
- Data distribution optimization: how to deal with data skew?
- 金融×元宇宙:虚实交融共进下的金融体系
- Part of the second Shanxi Network Security Skills Competition (Enterprise Group) WP (VI)
- 小米100W快充、50W无线充电技术曝光!OPPO沈义人回应:无聊!
- 10000人游戏服务器怎么选?
- 发布两年仍未上市,苹果AirPower被迫取消!原因揭秘!
猜你喜欢
[development tutorial 3] open source Bluetooth heart rate waterproof sports Bracelet - development environment construction
几点建议:给想进入Web3的创作者们
Pytest+yaml framework environment configuration and use tutorial
易基因|ChIP-seq分析方法:实用的工作流程和高级应用
Reinforcement based mobile robot navigation in dynamic environment
Alternative interpretation of the macro situation: the Federal Reserve may soon end the process of raising interest rates and return to quantitative easing?
如何在微信小游戏制作工具中实现递归函数
没想到MySQL还会问这些...
Icml2022 | Xai for transformers: better explanation through conservative communication
[development tutorial 5] crazy shell arm function mobile phone serial port experiment tutorial
随机推荐
一张图看懂华为2018年财报
How to choose a 10000 person game server?
2022杭电多校联赛第一场 题解
A review of the latest introduction to neural data compression
蓝图-类视图方法
远程登陆----radius认证
[development tutorial 5] crazy shell arm function mobile phone serial port experiment tutorial
HTC全新VR一体机Vive Focus Plus发布:定价5699元!
Arrays.sort()自定义比较函数
【开发教程3】开源蓝牙心率防水运动手环-开发环境搭建
中芯国际2018年营收33.6亿美元,14nm技术于今年量产
Depth traversal: count the number of nodes with the highest score
牛客每日刷题之数组
Jenkins, you can't play yet, slap your face no
源码 | OpenCV DNN + YOLOv7目标检测
Redis 日志篇:无畏宕机快速恢复的杀手锏
Overview | comprehensive comparative research on image denoising
Alternative interpretation of the macro situation: the Federal Reserve may soon end the process of raising interest rates and return to quantitative easing?
robotframework实战(三)衍生——以百度搜索功能为例编写测试用例
Mysql基础学习Day06