You've already forked postgres_exporter
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user