Skip to content

Commit

Permalink
Merge pull request #38 from JoeyBarnes/main
Browse files Browse the repository at this point in the history
Fixed spacing issue in Grafana template
  • Loading branch information
JoeyBarnes authored Oct 17, 2023
2 parents 5a28db4 + eff17bd commit 3addd67
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/layouts/partials/templates/grafana/dashboard.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
{{ $types := slice "Log" "Metric" }}
{{ $alerts := where .alerts "visible" true }}
{{ $alerts := where $alerts "type" "in" $types }}
{
"__inputs": [],
"__elements": {},
Expand Down Expand Up @@ -26,9 +29,6 @@
"links": [],
"liveNow": false,
"panels": [
{{ $types := slice "Log" "Metric" }}
{{ $alerts := where .alerts "visible" true }}
{{ $alerts := where $alerts "type" "in" $types }}
{{ range $idx, $value := sort $alerts "name" "asc" }}{{ if ne $idx 0}},
{{ end }} {
"title": "{{ $value.name }}",
Expand Down

0 comments on commit 3addd67

Please sign in to comment.