mirror of
https://github.com/prometheus-community/postgres_exporter
synced 2025-05-02 07:58:12 +00:00
docs(mixin): go get -> go install
> Starting in Go 1.17, installing executables with go get is deprecated. go install may be used instead. > > In Go 1.18, go get will no longer build packages; it will only be used to add, update, or remove dependencies in go.mod. Specifically, go get will always act as if the -d flag were enabled. More information: https://go.dev/doc/go-get-install-deprecation Signed-off-by: Camille Louédoc-Eyriès <clouedoc@tutanota.com>
This commit is contained in:
parent
69fc35b0ec
commit
88c3350232
@ -11,8 +11,8 @@ for Grafana.
|
|||||||
To use them, you need to have `mixtool` and `jsonnetfmt` installed. If you
|
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:
|
have a working Go development environment, it's easiest to run the following:
|
||||||
```bash
|
```bash
|
||||||
$ go get github.com/monitoring-mixins/mixtool/cmd/mixtool
|
$ go install github.com/monitoring-mixins/mixtool/cmd/mixtool
|
||||||
$ go get github.com/google/go-jsonnet/cmd/jsonnetfmt
|
$ go install github.com/google/go-jsonnet/cmd/jsonnetfmt
|
||||||
```
|
```
|
||||||
|
|
||||||
You can then build the Prometheus rules files `alerts.yaml` and
|
You can then build the Prometheus rules files `alerts.yaml` and
|
||||||
|
Loading…
Reference in New Issue
Block a user