mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Use named import for jb
Signed-off-by: Christian Beneke <christian.beneke@traderepublic.com>
This commit is contained in:
parent
ab8fc9833a
commit
1ef97110de
@ -32,13 +32,23 @@ metricRelabelings:
|
|||||||
### Jsonnet
|
### Jsonnet
|
||||||
|
|
||||||
The required label replacements are bundled in [jsonnet/custom-prometheus](../jsonnet/custom-prometheus.jsonnet). To install it copy the file or use
|
The required label replacements are bundled in [jsonnet/custom-prometheus](../jsonnet/custom-prometheus.jsonnet). To install it copy the file or use
|
||||||
[Jsonnet Bundler](https://github.com/jsonnet-bundler/jsonnet-bundler):
|
[Jsonnet Bundler](https://github.com/jsonnet-bundler/jsonnet-bundler). For jsonnet bundler add the following dependency to your `jsonnetfile.json`:
|
||||||
|
|
||||||
```
|
```
|
||||||
jb install github.com/lensapp/lens/jsonnet
|
{
|
||||||
|
"name": "lens",
|
||||||
|
"source": {
|
||||||
|
"git": {
|
||||||
|
"remote": "https://github.com/lensapp/lens",
|
||||||
|
"subdir": "jsonnet"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"version": "master"
|
||||||
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
And include it into your definitions. Using the [example](https://github.com/coreos/kube-prometheus#compiling) of kube-prometheus, e.g.:
|
and run `jb install`. 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.:
|
||||||
|
|
||||||
```
|
```
|
||||||
local kp =
|
local kp =
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user