Skip to content

Commit c6acba2

Browse files
opomucDifferentialOrange
authored andcommitted
Remove extra quotation at the end of TDG jobs_average_panel query
1 parent 357ba26 commit c6acba2

6 files changed

+10
-5
lines changed

CHANGELOG.md

+5
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

7+
## Unreleased
8+
9+
### Fixed
10+
- Removed extra quotation mark for TDG jobs_average_panel query (#220)
11+
712
## [2.1.1] - 2023-06-01
813
Grafana revisions: [InfluxDB revision 18](https://grafana.com/api/dashboards/12567/revisions/18/download), [Prometheus revision 18](https://grafana.com/api/dashboards/13054/revisions/18/download), [InfluxDB TDG revision 7](https://grafana.com/api/dashboards/16405/revisions/7/download), [Prometheus TDG revision 7](https://grafana.com/api/dashboards/16406/revisions/7/download).
914

dashboard/panels/tdg/tasks.libsonnet

+1-1
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ local prometheus = grafana.prometheus;
8383
prometheus.target(
8484
expr=std.format(
8585
|||
86-
%(metrics_prefix)s%(metric_name_sum)s{%(filters)s} / %(metrics_prefix)s%(metric_name_count)s{%(filters)s"}
86+
%(metrics_prefix)s%(metric_name_sum)s{%(filters)s} / %(metrics_prefix)s%(metric_name_count)s{%(filters)s}
8787
|||,
8888
{
8989
metrics_prefix: cfg.metrics_prefix,

tests/Prometheus/dashboard_tdg_compiled.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -23275,7 +23275,7 @@
2327523275
"steppedLine": false,
2327623276
"targets": [
2327723277
{
23278-
"expr": "tdg_jobs_execution_time_sum{alias=~\"$alias\",job=~\"$job\"} / tdg_jobs_execution_time_count{alias=~\"$alias\",job=~\"$job\"\"}\n",
23278+
"expr": "tdg_jobs_execution_time_sum{alias=~\"$alias\",job=~\"$job\"} / tdg_jobs_execution_time_count{alias=~\"$alias\",job=~\"$job\"}\n",
2327923279
"format": "time_series",
2328023280
"intervalFactor": 2,
2328123281
"legendFormat": "{{name}} — {{alias}}",

tests/Prometheus/dashboard_tdg_static_compiled.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -23275,7 +23275,7 @@
2327523275
"steppedLine": false,
2327623276
"targets": [
2327723277
{
23278-
"expr": "tdg_jobs_execution_time_sum{job=~\"tarantool\"} / tdg_jobs_execution_time_count{job=~\"tarantool\"\"}\n",
23278+
"expr": "tdg_jobs_execution_time_sum{job=~\"tarantool\"} / tdg_jobs_execution_time_count{job=~\"tarantool\"}\n",
2327923279
"format": "time_series",
2328023280
"intervalFactor": 2,
2328123281
"legendFormat": "{{name}} — {{alias}}",

tests/Prometheus/dashboard_tdg_static_custom_title_compiled.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -23275,7 +23275,7 @@
2327523275
"steppedLine": false,
2327623276
"targets": [
2327723277
{
23278-
"expr": "tdg_jobs_execution_time_sum{job=~\"tarantool\"} / tdg_jobs_execution_time_count{job=~\"tarantool\"\"}\n",
23278+
"expr": "tdg_jobs_execution_time_sum{job=~\"tarantool\"} / tdg_jobs_execution_time_count{job=~\"tarantool\"}\n",
2327923279
"format": "time_series",
2328023280
"intervalFactor": 2,
2328123281
"legendFormat": "{{name}} — {{alias}}",

tests/Prometheus/dashboard_tdg_static_with_instance_variable_compiled.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -23275,7 +23275,7 @@
2327523275
"steppedLine": false,
2327623276
"targets": [
2327723277
{
23278-
"expr": "tdg_jobs_execution_time_sum{alias=~\"$alias\",job=~\"tarantool\"} / tdg_jobs_execution_time_count{alias=~\"$alias\",job=~\"tarantool\"\"}\n",
23278+
"expr": "tdg_jobs_execution_time_sum{alias=~\"$alias\",job=~\"tarantool\"} / tdg_jobs_execution_time_count{alias=~\"$alias\",job=~\"tarantool\"}\n",
2327923279
"format": "time_series",
2328023280
"intervalFactor": 2,
2328123281
"legendFormat": "{{name}} — {{alias}}",

0 commit comments

Comments
 (0)