Skip to content

Commit

Permalink
Set queryType=range in logs links to fix volume chart
Browse files Browse the repository at this point in the history
  • Loading branch information
Fizzadar committed Aug 5, 2024
1 parent 81ef3b8 commit b63c49e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ const utils = {
{
"refId": "A",
"expr": `{env="${data.labels.env}",cluster_id="${data.labels.cluster_id}",namespace="${data.labels.namespace}",pod="${data.labels.pod}"}`,
"queryType": "range",
}
],
"range": { "from": "now-15m", "to": "now" }
Expand All @@ -125,6 +126,7 @@ const utils = {
{
"refId": "A",
"expr": `{env="${data.labels.env}",cluster_id="${data.labels.cluster_id}",nodename="${data.labels.nodename}",job="${data.labels.exported_job}",level="${data.labels.level}"}`,
"queryType": "range",
}
],
"range": { "from": "now-15m", "to": "now" }
Expand Down

0 comments on commit b63c49e

Please sign in to comment.