mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Update jsonnet folder structure to default bundler format (#536)
Signed-off-by: Andreas Antonsson <Andreas.Antonsson@collectorbank.se>
This commit is contained in:
parent
4afec72ceb
commit
72e1915ef4
@ -31,23 +31,14 @@ 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/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). For jsonnet bundler add the following dependency to your `jsonnetfile.json`:
|
[Jsonnet Bundler](https://github.com/jsonnet-bundler/jsonnet-bundler).
|
||||||
|
|
||||||
```
|
```bash
|
||||||
{
|
jb init && jb install https://github.com/lensapp/lens/jsonnet/lens@master
|
||||||
"name": "lens",
|
|
||||||
"source": {
|
|
||||||
"git": {
|
|
||||||
"remote": "https://github.com/lensapp/lens",
|
|
||||||
"subdir": "jsonnet"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"version": "master"
|
|
||||||
}
|
|
||||||
```
|
```
|
||||||
|
|
||||||
and run `jb install`. 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.:
|
of kube-prometheus, e.g.:
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user