fix(speedtest-exporter): improve config parameter
This commit is contained in:
parent
b7910666e9
commit
3aad4adb1e
4 changed files with 26 additions and 4 deletions
|
@ -3,7 +3,7 @@ name: speedtest-exporter
|
|||
description:
|
||||
icon: https://b.cdnst.net/images/favicons/favicon-180.png
|
||||
type: application
|
||||
version: 0.1.0
|
||||
version: 0.1.1
|
||||
# renovate: image=ghcr.io/miguelndecarvalho/speedtest-exporter
|
||||
appVersion: "3.5.4"
|
||||
maintainers:
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
= speedtest-exporter
|
||||
|
||||
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/AppVersion-3.5.4-informational?style=flat-square[AppVersion: 3.5.4]
|
||||
== Maintainers
|
||||
|
@ -72,11 +72,21 @@ helm uninstall speedtest-exporter-release
|
|||
| `80`
|
||||
|
|
||||
|
||||
| config.cacheFor
|
||||
| int
|
||||
| `0`
|
||||
| cache result for seconds
|
||||
|
||||
| config.server
|
||||
| string
|
||||
| `nil`
|
||||
| speedtest-serverid
|
||||
|
||||
| config.timeout
|
||||
| int
|
||||
| `90`
|
||||
| timeout of speedtest
|
||||
|
||||
| fullnameOverride
|
||||
| string
|
||||
| `""`
|
||||
|
@ -219,7 +229,7 @@ helm uninstall speedtest-exporter-release
|
|||
|
||||
| prometheus.servicemonitor.scrapeTimeout
|
||||
| string
|
||||
| `"1m"`
|
||||
| `"2m"`
|
||||
| scrape timeout
|
||||
|
||||
| readinessProbe.httpGet.path
|
||||
|
|
|
@ -43,6 +43,14 @@ spec:
|
|||
- name: "SPEEDTEST_SERVER"
|
||||
value: {{ . | quote }}
|
||||
{{- end }}
|
||||
{{- with .Values.config.cacheFor }}
|
||||
- name: "SPEEDTEST_CACHE_FOR"
|
||||
value: {{ . | quote }}
|
||||
{{- end }}
|
||||
{{- with .Values.config.timeout }}
|
||||
- name: "SPEEDTEST_TIMEOUT"
|
||||
value: {{ . | quote }}
|
||||
{{- end }}
|
||||
ports:
|
||||
- name: http
|
||||
containerPort: 9798
|
||||
|
|
|
@ -17,6 +17,10 @@ image:
|
|||
config:
|
||||
# -- speedtest-serverid
|
||||
server:
|
||||
# -- cache result for seconds
|
||||
cacheFor: 0
|
||||
# -- timeout of speedtest
|
||||
timeout: 90
|
||||
|
||||
imagePullSecrets: []
|
||||
nameOverride: ""
|
||||
|
@ -58,7 +62,7 @@ prometheus:
|
|||
# -- interval
|
||||
interval: 1h
|
||||
# -- scrape timeout
|
||||
scrapeTimeout: 1m
|
||||
scrapeTimeout: 2m
|
||||
|
||||
grafana:
|
||||
dashboards:
|
||||
|
|
Loading…
Add table
Reference in a new issue