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',