Skip to content

Latest commit

 

History

History
28 lines (20 loc) · 843 Bytes

README.md

File metadata and controls

28 lines (20 loc) · 843 Bytes

Consul Monitoring Mixin

Grafana dashboards and Prometheus alerts for operating Consul, in the form of a monitoring mixin. They are easiest to use with the prometheus-ksonnet package.

To use this mixin, install Tanka and Jsonnet Bundler.

Then you can install the mixin with:

jb install github.com/grafana/jsonnet-libs/consul-mixin

To use, in your Tanka environment's main.jsonnet file:

local prometheus = (import "prometheus-ksonnet/prometheus-ksonnet.libsonnet");
local consul_mixin = (import "consul-mixin/mixin.libsonnet");

prometheus + consul_mixin {
  _config+:: {
    namespace: "default",
  },
}