1
0
mirror of https://github.com/prometheus-community/postgres_exporter.git synced 2026-10-23 12:08:57 +03:00

Docs fix: Update mixin/README for go 1.17+ (#1377)

Signed-off-by: Zoe O'Connell <zoe@zoeoconnell.co.uk>
This commit is contained in:
Zoë O'Connell
2026-08-24 14:30:06 +01:00
committed by GitHub
parent 4b34db26e9
commit 14fecc078b

View File

@@ -11,8 +11,13 @@ for Grafana.
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:
```bash
$ go get github.com/monitoring-mixins/mixtool/cmd/mixtool
$ go get github.com/google/go-jsonnet/cmd/jsonnetfmt
$ go install github.com/monitoring-mixins/mixtool/cmd/mixtool@latest
$ go install github.com/google/go-jsonnet/cmd/jsonnetfmt@latest
```
If not already set, you may also need to set your path appropriately:
```bash
$ PATH=$PATH:$(go env GOPATH)/bin
```
You can then build the Prometheus rules files `alerts.yaml` and