Skip to content

Commit

Permalink
fix: parameterise grafana table names
Browse files Browse the repository at this point in the history
  • Loading branch information
leonyork committed Nov 28, 2022
1 parent 9909b45 commit 6890d8f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions grafana/dashboards/loadtest/loadtest.json
Original file line number Diff line number Diff line change
Expand Up @@ -606,7 +606,7 @@
"measure": "$Measurement",
"rawQuery": "SELECT AVG(measure_value::double) AS $__measure\nFROM \"$__database\".\"$__table\"\nWHERE measure_name = '$__measure'\nAND $__timeFilter\nAND $Filter LIKE '$FilterValue'",
"refId": "A",
"table": "test"
"table": "\"$Table\""
}
],
"title": "$Measurement (mean)",
Expand Down Expand Up @@ -919,7 +919,7 @@
"measure": "$Measurement",
"rawQuery": "SELECT APPROX_PERCENTILE(measure_value::double, 0.9) AS $__measure\nFROM \"$__database\".\"$__table\"\nWHERE measure_name = '$__measure'\nAND $__timeFilter\nAND $Filter LIKE '$FilterValue'",
"refId": "A",
"table": "test"
"table": "\"$Table\""
}
],
"title": "$Measurement (p90)",
Expand Down Expand Up @@ -997,7 +997,7 @@
"measure": "$Measurement",
"rawQuery": "SELECT APPROX_PERCENTILE(measure_value::double, 0.95) AS $__measure\nFROM \"$__database\".\"$__table\"\nWHERE measure_name = '$__measure'\nAND $__timeFilter\nAND $Filter LIKE '$FilterValue'",
"refId": "A",
"table": "test"
"table": "\"$Table\""
}
],
"title": "$Measurement (p95)",
Expand Down

0 comments on commit 6890d8f

Please sign in to comment.