From 9e6bb75a2abdae6e416af0672db9a8774a705e4a Mon Sep 17 00:00:00 2001 From: Vitaly Zhuravlev Date: Wed, 11 May 2022 19:04:03 +0400 Subject: [PATCH] jsonnet fmt --- .gitignore | 4 +++- prometheus/apache-http-mixin/config.libsonnet | 2 +- .../dashboards/apache-exporter-full.libsonnet | 2 -- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index c678a1a..bea4aff 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,3 @@ -prometheus/apache-http-mixin/vendor \ No newline at end of file +vendor +dashboards_out +prometheus_alerts.yaml \ No newline at end of file diff --git a/prometheus/apache-http-mixin/config.libsonnet b/prometheus/apache-http-mixin/config.libsonnet index bf3dd11..f948910 100644 --- a/prometheus/apache-http-mixin/config.libsonnet +++ b/prometheus/apache-http-mixin/config.libsonnet @@ -6,6 +6,6 @@ dashboardRefresh: '1m', // for alerts - alertsWarningWorkersBusy: '80', // % + alertsWarningWorkersBusy: '80', // % }, } diff --git a/prometheus/apache-http-mixin/dashboards/apache-exporter-full.libsonnet b/prometheus/apache-http-mixin/dashboards/apache-exporter-full.libsonnet index 90b3950..f5b5361 100644 --- a/prometheus/apache-http-mixin/dashboards/apache-exporter-full.libsonnet +++ b/prometheus/apache-http-mixin/dashboards/apache-exporter-full.libsonnet @@ -2,11 +2,9 @@ local grafana = import 'github.com/grafana/grafonnet-lib/grafonnet/grafana.libso local dashboard = grafana.dashboard; local template = grafana.template; - { grafanaDashboards+:: { - 'apache-http.json': dashboard.new( 'Apache HTTP server',