54 lines
1.7 KiB
YAML
54 lines
1.7 KiB
YAML
image:
|
|
repository: tccr.io/truecharts/speedtest-exporter
|
|
tag: v3.5.1
|
|
pullPolicy: IfNotPresent
|
|
|
|
securityContext:
|
|
readOnlyRootFilesystem: false
|
|
|
|
service:
|
|
main:
|
|
ports:
|
|
main:
|
|
enabled: false
|
|
metrics:
|
|
enabled: true
|
|
protocol: TCP
|
|
port: 9798
|
|
|
|
metrics:
|
|
# -- Enable and configure a Prometheus serviceMonitor for the chart under this key.
|
|
# @default -- See values.yaml
|
|
enabled: false
|
|
serviceMonitor:
|
|
# -- The interval field must use minutes for the padding to calculate properly.
|
|
interval: 60m
|
|
scrapeTimeout: 1m
|
|
labels: {}
|
|
# -- Enable and configure Prometheus Rules for the chart under this key.
|
|
# @default -- See values.yaml
|
|
prometheusRule:
|
|
enabled: false
|
|
# -- Download speed you want alerts to be triggered in Mbps
|
|
downloadLimit: 400
|
|
# -- Upload speed you want alerts to be triggered in Mbps
|
|
uploadLimit: 400
|
|
# -- Ping latency you want alerts to be triggered in ms
|
|
pingLimit: 10
|
|
# -- Jitter latency you want alerts to be triggered in ms
|
|
jitterLimit: 30
|
|
labels: {}
|
|
# -- Configure additionial rules for the chart under this key.
|
|
# @default -- See prometheusrules.yaml
|
|
rules: []
|
|
# - alert: SpeedtestSlowInternetDownload
|
|
# annotations:
|
|
# description: Internet download speed is averaging {{ "{{ humanize $value }}" }} Mbps.
|
|
# summary: SpeedTest slow internet download.
|
|
# expr: |
|
|
# avg_over_time(speedtest_download_bits_per_second{job=~".*{{ include "tc.common.names.fullname" . }}.*"}[4h])
|
|
# < {{ .Values.metrics.prometheusRule.downloadLimit }}
|
|
# for: 0m
|
|
# labels:
|
|
# severity: warning
|