Skip to content
Branch: master
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
README.md
alerts.libsonnet
dashboard.png
dashboards.libsonnet
jsonnetfile.json
mixin.libsonnet
statsd-mapping.yaml

README.md

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 install this mixin, use ksonnet:

$ go get github.com/jsonnet-bundler/jsonnet-bundler/cmd/jb
$ jb install https://github.com/kausalco/public/consul-mixin

Then to use, in your 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",
  },
}
You can’t perform that action at this time.