Hide:Label-展示,Variable-隐藏。如果选择隐藏后,在面板页面看不到输入参数的地方。 Default value:变量默认值,可以为空。 1.2.2 Text box变量展示效果 添加之后,我们返回面板,看一下效果。 1.3 添加Query变量 1.3.1 Query变量设置 query类型的变量需要通过查询语句获取结果,用户使用时,可以通过使用下拉的方式选择已...
The $__interval_ms Variable 这个是$__interval的毫秒变量(而不是一个时间间隔的格式化字符串)。例如, $__interval是20分,那么$__interval_ms是1200000。 2、The $timeFilter or $__timeFilter Variable $timefilter变量返回当前选择的时间范围为表达。例如,时间范围区间的Last 7 days 表达时间> now() 7D。
Variable values are always synced to the URL using the syntaxvar-=value.
# instance name, defaults to HOSTNAME environment variable value or hostname if HOSTNAME var is empty ;instance_name = ${HOSTNAME} # force migration will run migrations that might cause dataloss ;force_migration = false ### Paths ### [paths] # Path to where grafana can store temp files...
(解开注释,去掉";") things you want to 4 # change 5 6 # possible values : production, development 7 app_mode = production 8 9 # grafana-server instance name, defaults to HOSTNAME environment variable value or hostname if HOSTNAME var is empty 10 # Used in logging and internal metrics ...
Variable name: 变量名,比如我这里取名为ip,到时候要使用这个变量名就用$ip来调用。 type: 变量类型,变量类型有多种,其中query表示这个变量是一个查询语句,type也可以是datasource,datasource就表示该变量代表一个数据源,如果是datasource你可以用该变量修改整个DashBoard的数据源,变量类型还可以是时间间隔Interval等等...
If you don’t enter a display name, the dropdown label will be the variable name. Choose a Hide option: No selection (blank) –The variable dropdown list displays the variable Name or Label value. This is the default. Label –The variable dropdown list displays only the selected ...
单击New variable。 按照如下参数配置模板变量,然后单击Add。 重要参数说明如下表所示。 效果展示。 配置域名的模板变量 在Variables页面,单击New。 按照如下参数配置模板变量,然后单击Add。 效果展示。 配置变量替换日志库列表 Variables 设置页面选择custom类型。name 字段作为独立标识,必须包含 'logstore' 字符串,不区分...
If not set, the default value is /teams. If you configure teams_url, you must also configure team_ids_attribute_path. tls_skip_verify_insecure No No If set to true, the client accepts any certificate presented by the server and any host name in that certificate. You should only us...
The default value limits the number of possible concurrent connections with Grafana Live. Also, be aware that the preceding configuration only works when the proxy_pass value for location / is a literal string. If you want to use a variable here, you must instead use a rewrite rule. For ...