当前位置:网站首页>Grafana 9.0 released, Prometheus and Loki query builders, new navigation, heatmap panels and more!
Grafana 9.0 released, Prometheus and Loki query builders, new navigation, heatmap panels and more!
2022-08-01 12:32:00 【Zabbix】
https://grafana.com/grafana/plugins/alexanderzobnin-zabbix-app/
Grafana 9.0 的主要重点是改善 Grafana 的用户体验,使可观察性和数据可视化更易用也更容易获得.无论是通过 Prometheus 和 Loki 可视化查询生成器还是面板和仪表板搜索功能,Grafana 9.0 都引入了更新的工作流程,使发现和调查数据变得更加容易和直观.New features at a glance.
目 录
- 可视化Prometheus查询生成器
- Multiple ways to write queries
- Build queries with metric and tag filters
- 对指标进行数学运算
- 通过应用内指南持续学习
- 可视化Grafana Loki查询生成器
- Explore-to-dashboard 工作流程
- 新建heatmap(热图)面板
- 命令面板
- 面板搜索
- 仪表板中的“Trace”面板
- 仪表盘预览
- 全新导航
- GrafanaAlerting improvements
可视化Prometheus查询生成器
尽管 PromQL 是一种强大的查询语言,但当涉及到编写查询时,它并不是最简单的,也不容易理解它们.对于 Prometheus 新手来说,开始编写查询可能是令人生畏的.Prometheus 的新查询生成器正是为了解决这个问题而建立的.在 Grafana 9.0 中,你将在 Explore 中看到一个全新的可视化查询生成器界面,允许任何人编写、编辑和理解一个查询的作用.
Multiple ways to write queries
你已经熟悉的 Explore 界面现在增加了切换字段,可以选择在文本编辑模式(Code)或可视化生成器模式(Builder)中编写 PromQL 查询.当你选择 Builder 模式时,一个新的可视化界面允许你通过多词搜索下拉菜单选择感兴趣的指标来制作你的查询.你可以在这些模式之间进行切换,同时保留你的文字修改.
Build queries with metric and tag filters
This new query builder allows you to search and select metrics via a multi-word search.You can start by selecting a measure or label filter,Because they both act as filters for each other.
对指标进行数学运算
Operations 字段用于通过各种函数、聚合和二进制操作对感兴趣的指标进行数学操作.你可以通过 + Operation 按钮将这些操作分层.由于 Operations 是按照执行的顺序呈现的,而不是按照文本查询中的倒序排列,这使得阅读和编辑查询变得更加容易.
通过应用内指南持续学习
如果你是PromQL的新手,你可以使用第三种模式Explain,通过应用内指南了解已经写好的查询.您可以在Builder模式和Explain模式之间切换,同时保留查询,to learn more about the metric being queried and the action being performed.
上图:切换到“Explain”模式,Get the in-app guide to understand queries.
上图:See a detailed description of what the different parameters of the query represent.
The new visualization builder also provides called “hints”的建议,These suggestions will suggest correct action,Customize for the metric under consideration,and has common but difficult operations,For example to draw a histogram.
上图:Prompts guide you in choosing the most appropriate action for the metric you query.
可视化Grafana Loki查询生成器
在 Grafana 9.0 中,编写 LogQL Queries can also be aided by a visual query building interface.在许多方面,LogQL 比 PromQL 更复杂,And there's more syntax to remember.The new query builder will help you write and understandLoki查询,without having to remember any syntax.在下面显示的 Loki 查询生成器中,Tag filters can be added and edited、row filter、Analyzers and functions.Loki 查询生成器支持上面列出的 Prometheus 查询生成器的所有功能,包括 Explain 模式,以及在 Code 模式和 Builder 模式之间切换的功能.
Explore-to-dashboard 工作流程
虽然 Grafana 一直支持从仪表盘移动到 Explore 而不丢失上下文的功能,但反过来却不行.Grafana 9.0 公布了一个新的 Explore 到仪表盘的工作流程,允许你直接从 Explore 模式中创建面板或仪表盘.当一个复杂的查询起作用时,你不再需要费力地复制它或重写它到一个新的仪表板.相反只需指示 Grafana,通过点击一个按钮(见下图),就可以直接从 Explore 创建一个新的面板 / 仪表盘或添加到一个现有的面板中.
上图:新的“Explore to Dashboard”工作流.
新建heatmap面板
新的和修订的 heatmap 面板经历了架构上的变化,使其具有更高的性能(能够在超过 20 万个数据点上呈现时间序列),速度也提高了几个数量级.除了性能,heatmap 面板上的分辨率也更高,你现在可以对色谱进行自定义和精细控制.
上图:New heatmap panel.
命令面板
命令面板对于那些常用键盘快捷键的用户来说是一次很大的生产力提升.使用 cmd+K(macOS)或 ctrl+K(Linux/Windows),你可以调出一个命令面板,使导航和仪表盘搜索更加容易.根据你在 Grafana 用户界面中的位置,你可以快速运行一个查询、切换到分割视图、在仪表盘之间导航,或改变主题偏好.
面板搜索
If you manage multiple dashboards and many different panels under each dashboard,Then searching for the panel title can optimize the time it takes to scroll the dashboard or switch between dashboards to find the correct panel.随着搜索功能的最新更新,You can now search for panels by title.(This is currently an opt-in feature.)
仪表板中的“Trace”面板
在 Grafana 9.0 中,你现在可以在仪表盘中添加 Trace 面板,通过 Trace 视图来可视化,而不是在 Explore 模式中查看它们.这项功能目前在 Grafana 9.0 中处于测试阶段.
仪表盘预览
这个测试版功能提供了所有可用仪表盘的摘要概述,当名称不足时,可以帮助你快速找到你需要的仪表盘.
全新导航
Expand the navigation bar,以便更好地了解 Grafana features and integrations of your installation.Grafana 9A method will also be introduced,Lets you star the dashboard,并从导航菜单中轻松访问它们.您可以通过打开savedItemsFeature toggle to choose to access starred dashboards.
GrafanaAlerting improvements
在 v8.0 中,Grafana 引入了一种新的告警用户体验,以简化跨多个数据源和 Grafana 部署的告警创建和管理.在 Grafana 9.0 中,这是现在的默认设置,随着这一变化,Grafana 还进一步改善了告警体验 —— 特别是 UI 和文档.
边栏推荐
- 安装apex报错
- 大中型网站列表页翻页过多怎么优化?
- The CAN communication standard frame and extended frame is introduced
- formatdatetime函数 mysql(date sub函数)
- Envoy 源码流程图
- STM32 CAN filter configuration details
- MVVM响应式
- mysql进阶(二十二)MySQL错误之Incorrect string value中文字符输入错误问题分析
- R语言检验时间序列的平稳性:使用tseries包的adf.test函数实现增强的Dickey-Fuller(ADF)检验、检验时序数据是否具有均值回归特性(平稳性)、具有均值回归特性的案例
- MySQL调优
猜你喜欢

2022 Go ecosystem rpc framework Benchmark

基于ArkUI eTS开发的坚果食谱(NutRecipes)

千万级乘客排队系统重构&压测方案——总结篇

How to use DevExpress controls to draw flowcharts?After reading this article, you will understand!

如何利用DevExpress控件绘制流程图?看完这篇文章就懂了!

Dameng replaces the officially authorized dm.key

安装apex报错

The CAN communication standard frame and extended frame is introduced

.NET analyzes the LINQ framework in depth (three: the elegant prelude of LINQ)

深入解析volatile关键字
随机推荐
实现集中式身份认证管理的案例
Tencent Cloud Native: Service Mesh Practice of Areaki Mesh in the 2022 Winter Olympics Video Live Application
Aeraki Mesh Joins CNCF Cloud Native Panorama
[Cloud Enjoying Freshness] Community Weekly Vol.73- DTSE Tech Talk: 1 hour in-depth interpretation of SaaS application system design
【CLion】CLion 总是提示 “This file does not belong to any project target xxx” 的解决方法
浏览器存储
R语言ggplot2可视化:使用ggpubr包的geom_exec函数执行geom_*函数(没有任何参数需要放置在aes中)
一文带你彻底厘清 Kubernetes 中的证书工作机制
leetcode/子矩阵元素和
(ES6以上以及TS) Map对象转数组
阿里云官方 Redis 开发规范
[5 days countdown] to explore the secret behind the great quality promotion, gift waiting for you to take of $one thousand
如何将第三方服务中心注册集成到 Istio ?
How to get the address of WeChat video account (link address of WeChat public account)
[Unity3D Plugin] AVPro Video Plugin Share "Video Player Plugin"
大中型网站列表页翻页过多怎么优化?
Promise learning (4) The ultimate solution for asynchronous programming async + await: write asynchronous code in a synchronous way
爱可可AI前沿推介(8.1)
易周金融分析 | 银行ATM机智能化改造提速;互联网贷款新规带来挑战
The CAN communication standard frame and extended frame is introduced