fix(monitoring): lint
This commit is contained in:
parent
c85b39ae95
commit
c9993abc2e
2 changed files with 27 additions and 17 deletions
|
@ -3,7 +3,7 @@ name: monitoring
|
||||||
description: Deploy helper for probes and scrapeconfig of prometheus-operator
|
description: Deploy helper for probes and scrapeconfig of prometheus-operator
|
||||||
icon: https://prometheus.io/assets/favicons/android-chrome-192x192.png
|
icon: https://prometheus.io/assets/favicons/android-chrome-192x192.png
|
||||||
type: application
|
type: application
|
||||||
version: 0.1.0
|
version: 0.1.1
|
||||||
maintainers:
|
maintainers:
|
||||||
- name: WrenIX
|
- name: WrenIX
|
||||||
url: https://wrenix.eu
|
url: https://wrenix.eu
|
||||||
|
|
|
@ -2,8 +2,18 @@
|
||||||
|
|
||||||
= monitoring
|
= monitoring
|
||||||
|
|
||||||
image::https://img.shields.io/badge/Version-0.1.0-informational?style=flat-square[Version: 0.1.0]
|
image::https://img.shields.io/badge/Version-0.1.1-informational?style=flat-square[Version: 0.1.1]
|
||||||
image::https://img.shields.io/badge/Version-application-informational?style=flat-square[Type: application]
|
image::https://img.shields.io/badge/Version-application-informational?style=flat-square[Type: application]
|
||||||
|
== Maintainers
|
||||||
|
|
||||||
|
.Maintainers
|
||||||
|
|===
|
||||||
|
| Name | Email | Url
|
||||||
|
|
||||||
|
| WrenIX
|
||||||
|
|
|
||||||
|
| <https://wrenix.eu>
|
||||||
|
|===
|
||||||
|
|
||||||
== Usage
|
== Usage
|
||||||
|
|
||||||
|
@ -41,9 +51,9 @@ helm uninstall monitoring-release
|
||||||
| `[{"name":"local","spec":{"path":"/probe","url":"prometheus-blackbox-exporter:9115"}}]`
|
| `[{"name":"local","spec":{"path":"/probe","url":"prometheus-blackbox-exporter:9115"}}]`
|
||||||
| prober for each the following probes are created (multiside probes)
|
| prober for each the following probes are created (multiside probes)
|
||||||
|
|
||||||
| prober[0].name
|
| prober[0]
|
||||||
| string
|
| object
|
||||||
| `"local"`
|
| `{"name":"local","spec":{"path":"/probe","url":"prometheus-blackbox-exporter:9115"}}`
|
||||||
| name of prober
|
| name of prober
|
||||||
|
|
||||||
| prober[0].spec
|
| prober[0].spec
|
||||||
|
@ -51,6 +61,11 @@ helm uninstall monitoring-release
|
||||||
| `{"path":"/probe","url":"prometheus-blackbox-exporter:9115"}`
|
| `{"path":"/probe","url":"prometheus-blackbox-exporter:9115"}`
|
||||||
| spec of prober (like url, path, scheme ...)
|
| spec of prober (like url, path, scheme ...)
|
||||||
|
|
||||||
|
| probes[0]
|
||||||
|
| object
|
||||||
|
| `{"groups":{"framasoft":["framasoft.org","degooglisons-internet.org","framapiaf.org","framatube.org"]},"ipv4":true,"ipv6":true,"module":"http_2xx","name":"http"}`
|
||||||
|
| probe module (suffix with _ipv4 and ipv6 if enabled)
|
||||||
|
|
||||||
| probes[0].groups
|
| probes[0].groups
|
||||||
| object
|
| object
|
||||||
| `{"framasoft":["framasoft.org","degooglisons-internet.org","framapiaf.org","framatube.org"]}`
|
| `{"framasoft":["framasoft.org","degooglisons-internet.org","framapiaf.org","framatube.org"]}`
|
||||||
|
@ -66,11 +81,6 @@ helm uninstall monitoring-release
|
||||||
| `true`
|
| `true`
|
||||||
| setup one for ipv6 (see module and his suffix)
|
| setup one for ipv6 (see module and his suffix)
|
||||||
|
|
||||||
| probes[0].module
|
|
||||||
| string
|
|
||||||
| `"http_2xx"`
|
|
||||||
| probe module (suffix with _ipv4 and ipv6 if enabled)
|
|
||||||
|
|
||||||
| probes[0].name
|
| probes[0].name
|
||||||
| string
|
| string
|
||||||
| `"http"`
|
| `"http"`
|
||||||
|
@ -94,7 +104,7 @@ helm uninstall monitoring-release
|
||||||
| probes[1].module
|
| probes[1].module
|
||||||
| string
|
| string
|
||||||
| `"http_2xx"`
|
| `"http_2xx"`
|
||||||
| probe module (suffix with _ipv4 and ipv6 if enabled)
|
|
|
||||||
|
|
||||||
| probes[1].name
|
| probes[1].name
|
||||||
| string
|
| string
|
||||||
|
@ -111,16 +121,16 @@ helm uninstall monitoring-release
|
||||||
| `{"prometheus":"default"}`
|
| `{"prometheus":"default"}`
|
||||||
| labels on ScrapeConfig
|
| labels on ScrapeConfig
|
||||||
|
|
||||||
|
| scrapes[0]
|
||||||
|
| object
|
||||||
|
| `{"groups":{"de":["ber.de.local:9100","fra.de.local:9100","ham.de.local:9100"],"ie":["dub.ie.local:9100","ork.ie.local:9100"]},"name":"nodes"}`
|
||||||
|
| name of scrape
|
||||||
|
|
||||||
| scrapes[0].groups
|
| scrapes[0].groups
|
||||||
| object
|
| object
|
||||||
| `{"de":["ber.de.local:9100","fra.de.local:9100","ham.de.local:9100"],"ie":["dub.ie.local:9100","ork.ie.local:9100"]}`
|
| `{"de":["ber.de.local:9100","fra.de.local:9100","ham.de.local:9100"],"ie":["dub.ie.local:9100","ork.ie.local:9100"]}`
|
||||||
| groups with targets
|
| groups with targets
|
||||||
|
|
||||||
| scrapes[0].name
|
|
||||||
| string
|
|
||||||
| `"nodes"`
|
|
||||||
| name of scrape
|
|
||||||
|
|
||||||
| scrapes[1].auth.password
|
| scrapes[1].auth.password
|
||||||
| string
|
| string
|
||||||
| `nil`
|
| `nil`
|
||||||
|
@ -149,7 +159,7 @@ helm uninstall monitoring-release
|
||||||
| scrapes[1].name
|
| scrapes[1].name
|
||||||
| string
|
| string
|
||||||
| `"minio"`
|
| `"minio"`
|
||||||
| name of scrape
|
|
|
||||||
|
|
||||||
| scrapes[1].scheme
|
| scrapes[1].scheme
|
||||||
| string
|
| string
|
||||||
|
|
Loading…
Add table
Reference in a new issue