*: Generate latest Documentation and manifest for Prom v2.5.0

This commit is contained in:
Matthias Loibl
2018-11-07 16:20:23 +01:00
parent 174e84f3e5
commit 2ffb7cffea
5 changed files with 33 additions and 34 deletions

View File

@@ -10,10 +10,10 @@ local kp =
config: importstr 'alertmanager-config.yaml',
},
grafana+:: {
config: { // http://docs.grafana.org/installation/configuration/
config: { // http://docs.grafana.org/installation/configuration/
sections: {
// Do not require grafana users to login/authenticate
"auth.anonymous": {enabled: true},
'auth.anonymous': { enabled: true },
},
},
},
@@ -27,13 +27,13 @@ local kp =
// Reference info: https://coreos.com/operators/prometheus/docs/latest/api.html#prometheusspec
spec+: {
// An e.g. of the purpose of this is so the "Source" links on http://<alert-manager>/#/alerts are valid.
externalUrl: "http://192.168.99.100:30900",
externalUrl: 'http://192.168.99.100:30900',
// Reference info: "external_labels" on https://prometheus.io/docs/prometheus/latest/configuration/configuration/
externalLabels: {
// This 'cluster' label will be included on every firing prometheus alert. (This is more useful
// when running multiple clusters in a shared environment (e.g. AWS) with other users.)
cluster: "minikube-<INSERT YOUR USERNAME HERE>",
cluster: 'minikube-<INSERT YOUR USERNAME HERE>',
},
},
},
@@ -42,9 +42,9 @@ local kp =
alertmanager+: {
// Reference info: https://github.com/coreos/prometheus-operator/blob/master/Documentation/api.md#alertmanagerspec
spec+: {
externalUrl: "http://192.168.99.100:30903",
externalUrl: 'http://192.168.99.100:30903',
logLevel: "debug", // So firing alerts show up in log
logLevel: 'debug', // So firing alerts show up in log
},
},
},