label_values(traefik_seconds_bucket,instance) 然后建立 path 变量,通过 reference variable,根据已经选择的 instance 的值来筛选 path 的值: label_values(traefik_seconds_bucket{instance="${instance}"}, path) 完成如上两个变量的设置之后,回到看板,就可以让 path 选单的值根据 instance 选单选择的不同值,...
Enter aNamefor the variable. In theSelect variable typedrop-down, chooseQuery. (Optional) InLabel, enter the display name of the variable dropdown. If you don’t enter a display name, then the dropdown label is the variable name.
Dashboard: Template variable - Prometheus label values doesn't work in dashboard variable #91034 closed Jan 17, 2025 Prometheus: Hide metrics explorer option when user is typing in metric select in query builder #88791 closed Jan 17, 2025 Explore metrics: Format OTel resource attributes ...
[[varname]]Do not use. Deprecated old syntax, will be removed in a future release. Before queries are sent to your data source the query isinterpolated, meaning the variable is replaced with its current value. During interpolation, the variable value might beescapedin order to conform to the...
In addition to standard SQL commands, TimescaleDB also provides a number of special functions that are useful for time series data analysis. For example, to find the median of the temperature values, you can use the following query with the percentile_cont function: ...
Toprintthe value of an instant query you canprintits Ref ID using the`index`functionandthe`$values`variable:`{{ index $values "A" }}`For example,givenan instant query that returns the value81.2345, this willprint:`81.2345`Toprintthe value of a range query you must first reduce it from...
若不存在预置查询则通过Add Query添加查询,查询选项条目如下列所示。 Metric:设置指标以及其计算方式。 Group by:设置分组方式。 Then by:添加分组方式。 Query:查询条件选框。其中可以加入语句用作过滤条件,与Group by中的Filters类似。 C、分组(Group by)方式: ...
Explore: Move Query History to be screen wide. #84321, @gelicia MixedDataSource: Support multi value data source variable that issues a query to each data source. #83356, @torkelo PluginExtensions: Make the extensions registry reactive. #83085, @mckn Loki: Use label/<name>/values API ins...
Enter the name of the template variable. Example: hostname. If you use a template variable in a query criteria, you must add a dollar sign ($) preceding the name of the template variable. Example: $hostname. Type Select Custom. Label Enter the name of the domain. Custom Options En...
...,或者依赖dashboard时间范围选择) Query 因数据源不同而不同的特定查询表达式 Regex 正则表达式,用于过滤Query返回的数据(可能我们只需要Query返回中的部分数据,可选。...参考链接: http://docs.grafana.org/reference/templating/ http://docs.grafana.org/features/datasources/influxdb...