From f645d4924224f1f3abab7b20798ca8e24957724c Mon Sep 17 00:00:00 2001 From: Julien Pivotto Date: Tue, 13 Oct 2020 13:37:05 +0200 Subject: [PATCH] Mixin: Bump jsonnet requirement to 0.16 to use go-jsonnetcmd Signed-off-by: Julien Pivotto --- docs/node-mixin/README.md | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/docs/node-mixin/README.md b/docs/node-mixin/README.md index 46981d62..050aecf1 100644 --- a/docs/node-mixin/README.md +++ b/docs/node-mixin/README.md @@ -8,19 +8,14 @@ dashboards based on the metrics exported by the Node Exporter. The mixin creates recording and alerting rules for Prometheus and suitable dashboard descriptions for Grafana. -To use them, you need to have `jsonnet` (v0.13+) and `jb` installed. If you +To use them, you need to have `jsonnet` (v0.16+) and `jb` installed. If you have a working Go development environment, it's easiest to run the following: ```bash $ go get github.com/google/go-jsonnet/cmd/jsonnet +$ go get github.com/google/go-jsonnet/cmd/jsonnetfmt $ go get github.com/jsonnet-bundler/jsonnet-bundler/cmd/jb ``` -_Note: The make targets `lint` and `fmt` need the `jsonnetfmt` binary, which is -currently not included in the Go implementation of `jsonnet`. For the time -being, you have to install the [C++ version of -jsonnetfmt](https://github.com/google/jsonnet) if you want to use `make lint` -or `make fmt`._ - Next, install the dependencies by running the following command in this directory: ```bash