当前位置:网站首页>Grafana 9.0 is officially released! It's the strongest!

Grafana 9.0 is officially released! It's the strongest!

2022-07-06 18:16:00 Migrant worker brother

spot 129f273bc9eed6833e43acb1f7191805.gif Focus on official account , reply “1024” obtain 2TB Learning resources !

Produce | OSC The open source community (ID:oschina2013)

Grafana 9.0 The main focus of is improvement Grafana User experience , Make observability and data visualization easier to use and more accessible . Whether through Prometheus and Loki The visual query builder is also a panel and dashboard search function ,Grafana 9.0 Have introduced an updated workflow , Make finding and investigating data easier and more intuitive .

58adbe62ac27b00647de85ec450d9557.png

Visual Prometheus Query builder

8d96be2e517131813a1f10ddb235fb2c.png

Even though PromQL Is a powerful query language , But when it comes to writing queries , It is not the simplest , It is not easy to understand them . about Prometheus beginners , Starting to write queries can be daunting .

Prometheus The new query builder is built to solve this problem . stay Grafana 9.0 in , You will be in Explore See a new visual query builder interface in , Allow anyone to write 、 Edit and understand the role of a query .

There are many ways to write queries

You are already familiar with Explore The interface now adds a switch field , You can select in text editing mode (Code) Or visual generator mode (Builder) Written in PromQL Inquire about . When you choose Builder Mode time , A new visual interface allows you to select the indicators of interest through the multi word search drop-down menu to make your query . You can switch between these modes , Keep your text changes as well .

Generate your query with metrics and tag filters

This new Query Builder allows you to search and select an indicator through multi word search . You can start by selecting an indicator or a tag filter .

Perform mathematical operations on the indicators

Operations Fields are used to pass through various functions 、 Aggregation and binary operations perform mathematical operations on metrics of interest . You can go through + Operation Buttons layer these operations . because Operations Is presented in the order of execution , Not in reverse order in the text query , This makes it easier to read and edit queries .

Continuous learning through in app guidelines

If you are PromQL novice , You can use the third mode , namely Explain, Use the in app guide to learn about the queries that have been written . You can Builder Patterns and Explain Switch between modes , Keep the query at the same time , To learn more about the queried indicators and the operations performed .114175a5887df7a95b114e0b70a0e87b.png Upper figure : Switch to Explain Pattern get in app guide to understand queries .7fd130822e0327758cd1548ff53a333f.png Upper figure : View the detailed description of what the different parameters of the query represent .

The new visualization generator is also called "hints" The advice of , Will provide timely suggestions for correct operation 517b6950040b3db0b28cb0a2a1fe3ab1.png Upper figure :Hints Guide you to select the most suitable operation for the index to be queried .

Visual Grafana Loki Query builder

stay Grafana 9.0 in , To write LogQL The query is also assisted by a visual query generation interface . in many ways LogQL Than PromQL More complicated , There is more grammar to remember . The new query builder will help you write and understand Loki Inquire about , Without having to remember any grammar .

As shown in the figure below Loki Query builder , You can add and edit tag filters 、 Parsers and functions, etc .Loki The query builder supports the Prometheus All the functions of the query builder , Include Explain Pattern , And in Code Patterns and Builder The function of switching between modes .b75f87aeecf353058c7e9886f0f232dc.png

Explore-to-dashboard Workflow

although Grafana It always supports moving from the dashboard to Explore Without losing the function of context , But not vice versa .

Grafana 9.0 Announced a new Explore Workflow to dashboard , Allow you to go directly from Explore Mode to create a panel or dashboard . When a complex query works , You no longer have to painstakingly copy it or rewrite it to a new dashboard . Instead, simply indicate Grafana, By clicking a button ( See the picture below ), You can directly from Explore Create a new panel / Dashboard or add to an existing panel .996b581e96d72d7c9a5d5c74ada28fde.png

new heatmap panel

New and revised heatmap The panel has undergone architectural changes , Make it have higher performance ( Can be more than 20 Time series are presented on 10000 data points ), The speed has also increased by several orders of magnitude . In addition to performance ,heatmap The resolution on the panel is also higher , You can now customize and fine control the chromatogram .e9c1569e9c18a0d8639a655b7b173de7.png

Command Panel

The command panel is a great productivity boost for those who use keyboard shortcuts . Use cmd+K(macOS) or ctrl+K(Linux/Windows), You can call up a command panel , Make navigation and dashboard search easier . According to what you're doing Grafana Location in the user interface , You can run a query quickly 、 Switch to split view 、 Navigate between dashboards , Or change the theme preference .50edaf179df33600ae19472b454a4b52.png

Panel search

If you manage multiple dashboards and many different panels under each dashboard , Searching for panel titles saves time scrolling through dashboards or switching between dashboards to find the right panel . With the latest updates to the search function , You can now search the panel by title .bf3aa51e12c31ff75affedd001ab45c5.png

In the instrument cluster Trace panel

stay Grafana 9.0 in , You can now add... In the dashboard Trace panel , adopt Trace View to visualize , Not in Explore View them in mode . This feature is currently in Grafana 9.0 In the testing phase .

Dashboard preview

This beta feature provides a summary overview of all available dashboards , When the name is insufficient , It can help you quickly find the dashboard you need .223c32abad2b44c1d1f10f7362114a0a.png

New navigation

Expand the navigation bar , In order to better understand Grafana And the integration you installed .Grafana 9 A method will also be introduced , Let you fill your dashboard with stars , And easily access them from the navigation menu . You can open savedItems Function to select access to the marked dashboard .

Grafana Alerting Improvement

stay v8.0 in ,Grafana A new alarm user experience is introduced , To simplify the process of spanning multiple data sources and Grafana Deployed alarm creation and management . stay Grafana 9.0 in , This is now the default setting , With this change ,Grafana It also further improves the alarm experience —— especially UI And documentation .

download

  • link :https://grafana.com/grafana/download

  • More details can be found at :https://github.com/grafana/grafana/releases/tag/v9.0.0

bf26f5343dfd6040ed170148e126152d.png

471307b4564715cd52760d6509452e4a.png

Recommended reading   Click on the title to jump to

Docker became angry ! External network can be directly accessed and mapped to 127.0.0.1 Service for

Famous compression software in Russia 7Zip Be boycotted ! Pseudo open source 、 And the back door

GitLab Entering China is to serve Chinese users , Or harvest Chinese leeks ?

Heavy pound ! The first domestic desktop operating system developer platform was officially released

You're still using paid document management tools ? I have a better choice

Our company uses 7 This universal solution in , A steady group of !

1ce6e12a2f6e453096e4b4591fe5e16d.png

forward Focus on

Light up the bottom “ Looking at ” Icon

More people see

原网站

版权声明
本文为[Migrant worker brother]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/187/202207061012070177.html