Skip to content

Commit

Permalink
Enable auto refresh for grafana dashboard (#167)
Browse files Browse the repository at this point in the history
* enabled auto refresh for grafana dashboard

Signed-off-by: lifeng <[email protected]>

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Signed-off-by: lifeng <[email protected]>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
LifengWang and pre-commit-ci[bot] authored Oct 22, 2024
1 parent 79a4ad3 commit ea8bf5d
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 25 deletions.
37 changes: 15 additions & 22 deletions evals/benchmark/grafana/chatqna_megaservice_grafana.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"__inputs": [
{
"name": "DS_PROMETHEUS",
"label": "Prometheus Data Source",
"label": "prometheus",
"description": "",
"type": "datasource",
"pluginId": "prometheus",
Expand All @@ -11,23 +11,11 @@
],
"__elements": {},
"__requires": [
{
"type": "panel",
"id": "gauge",
"name": "Gauge",
"version": ""
},
{
"type": "grafana",
"id": "grafana",
"name": "Grafana",
"version": "10.0.2"
},
{
"type": "panel",
"id": "heatmap",
"name": "Heatmap",
"version": ""
"version": "11.0.0"
},
{
"type": "datasource",
Expand Down Expand Up @@ -61,7 +49,7 @@
"editable": true,
"fiscalYearStartMonth": 0,
"graphTooltip": 0,
"id": 1,
"id": null,
"links": [],
"liveNow": false,
"panels": [
Expand Down Expand Up @@ -873,17 +861,13 @@
"type": "timeseries"
}
],
"refresh": "",
"refresh": "5s",
"schemaVersion": 39,
"tags": [],
"templating": {
"list": [
{
"current": {
"selected": true,
"text": "chatqna-megaservice",
"value": "chatqna-megaservice"
},
"current": {},
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
Expand Down Expand Up @@ -951,7 +935,16 @@
"timeRangeUpdatedDuringEditOrView": false,
"timepicker": {
"refresh_intervals": [
"3s"
"5s",
"10s",
"30s",
"1m",
"5m",
"15m",
"30m",
"1h",
"2h",
"1d"
],
"time_options": [
"5m",
Expand Down
2 changes: 1 addition & 1 deletion evals/benchmark/grafana/gaudi_grafana.json
Original file line number Diff line number Diff line change
Expand Up @@ -1267,7 +1267,7 @@
"type": "timeseries"
}
],
"refresh": "",
"refresh": "5s",
"schemaVersion": 39,
"tags": [
"prometheus",
Expand Down
2 changes: 1 addition & 1 deletion evals/benchmark/grafana/tei_grafana.json
Original file line number Diff line number Diff line change
Expand Up @@ -2198,7 +2198,7 @@
"type": "row"
}
],
"refresh": "",
"refresh": "5s",
"schemaVersion": 39,
"tags": [],
"templating": {
Expand Down
2 changes: 1 addition & 1 deletion evals/benchmark/grafana/tgi_grafana.json
Original file line number Diff line number Diff line change
Expand Up @@ -3958,7 +3958,7 @@
"yBucketBound": "auto"
}
],
"refresh": "",
"refresh": "5s",
"schemaVersion": 39,
"tags": [],
"templating": {
Expand Down

0 comments on commit ea8bf5d

Please sign in to comment.