Skip to content

Commit

Permalink
updated the cilium k8s performance dashboard
Browse files Browse the repository at this point in the history
  • Loading branch information
smanda99 committed Dec 27, 2023
1 parent 602a159 commit 9b2537f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions assets/cilium-k8s-perf/panels.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ local g = import 'github.com/grafana/grafonnet/gen/grafonnet-latest/main.libsonn
base(title, unit, targets, gridPos):
timeSeries.new(title)
+ timeSeries.queryOptions.withTargets(targets)
+ timeSeries.datasource.withType('elasticsearch')
+ timeSeries.datasource.withType('prometheus')
+ timeSeries.datasource.withUid('$Datasource')
+ timeSeries.standardOptions.withUnit(unit)
+ timeSeries.gridPos.withX(gridPos.x)
Expand Down Expand Up @@ -56,7 +56,7 @@ local g = import 'github.com/grafana/grafonnet/gen/grafonnet-latest/main.libsonn

base(title, unit, targets, gridPos):
stat.new(title)
+ stat.datasource.withType('elasticsearch')
+ stat.datasource.withType('prometheus')
+ stat.datasource.withUid('$Datasource')
+ stat.standardOptions.withUnit(unit)
+ stat.queryOptions.withTargets(targets)
Expand Down

0 comments on commit 9b2537f

Please sign in to comment.