You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: traefik-mixin/README.md
+23-4Lines changed: 23 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -5,14 +5,14 @@ The Traefik mixin is a set of configurable, reusable, and extensible dashboards
5
5
To use them, you need to have mixtool and jsonnetfmt installed. If you have a working Go development environment, it's easiest to run the following:
6
6
7
7
```shell
8
-
$ go get github.com/monitoring-mixins/mixtool/cmd/mixtool
9
-
$ go get github.com/google/go-jsonnet/cmd/jsonnetfmt
8
+
go get github.com/monitoring-mixins/mixtool/cmd/mixtool
9
+
go get github.com/google/go-jsonnet/cmd/jsonnetfmt
10
10
```
11
11
12
12
You can then build the Prometheus rules files and dashboards for Grafana:
13
13
14
14
```shell
15
-
$ make build
15
+
make build
16
16
```
17
17
18
18
This will generate:
@@ -26,6 +26,25 @@ This will generate:
26
26
The following Prometheus alerts are included:
27
27
28
28
-**TraefikConfigReloadFailuresIncreasing**: Fires if Traefik is failing to reload its config.
29
-
-**TraefikTLSCertificatesExpiring**: Fires if Traefik is serving certificates that will expire soon.
29
+
-**TraefikTLSCertificatesExpiring**: Fires if Traefik is serving certificates that will expire very soon (critical, threshold configurable).
30
+
-**TraefikTLSCertificatesExpiringSoon**: Fires if Traefik is serving certificates that will expire soon (warning, threshold configurable, only fires if the expiry is less than the warning threshold but greater than the critical threshold).
31
+
32
+
## Configuration
33
+
34
+
You can configure alert thresholds and labels in `config.libsonnet`:
0 commit comments