mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Add not in custom-prometheuus.md about jsonnet version
Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
parent
a1c2f4d7e6
commit
9c32c963ae
@ -31,14 +31,15 @@ metricRelabelings:
|
||||
|
||||
### Jsonnet
|
||||
|
||||
The required label replacements are bundled in [jsonnet/lens/custom-prometheus](../jsonnet/lens/custom-prometheus.jsonnet). To install it copy the file or use
|
||||
[Jsonnet Bundler](https://github.com/jsonnet-bundler/jsonnet-bundler).
|
||||
The required label replacements are bundled in [jsonnet/lens/custom-prometheus](../jsonnet/lens/custom-prometheus.jsonnet).
|
||||
This file is currently for jsonnet versions >= 0.8.0
|
||||
To install it copy the file or use [Jsonnet Bundler](https://github.com/jsonnet-bundler/jsonnet-bundler).
|
||||
|
||||
```bash
|
||||
jb init && jb install https://github.com/lensapp/lens/jsonnet/lens@master
|
||||
```
|
||||
|
||||
When the installation was successful include it into your definitions. Using the [example](https://github.com/coreos/kube-prometheus#compiling)
|
||||
When the installation was successful include it into your definitions. Using the [example](https://github.com/coreos/kube-prometheus#compiling)
|
||||
of kube-prometheus, e.g.:
|
||||
|
||||
```
|
||||
@ -60,4 +61,3 @@ local kp =
|
||||
```
|
||||
helm upgrade --set server.global.scrape_interval=30s prometheus stable/prometheus
|
||||
```
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user