Files
truecharts/charts/stable/speedtest-exporter/values.yaml
T
Jean-François RoyandGitHub 218793f454 fix(speedtest-exporter): set scrape interval to 1h (#8079)
**Description**
<!--
Please include a summary of the change and which issue is fixed. Please
also include relevant motivation and context. List any dependencies that
are required for this change.
-->
Using the default value global Prometheus scrape interval of 15s causes
excessive bandwidth use.

Also remove old ineffective/dead probe path fragment. Using `/metrics`
is a bad idea anyways since every probe would trigger a speed test.

**⚙️ Type of change**

- [ ] ⚙️ Feature/App addition
- [x] 🪛 Bugfix
- [ ] ⚠️ Breaking change (fix or feature that would cause existing
functionality to not work as expected)
- [ ] 🔃 Refactor of current code

**🧪 How Has This Been Tested?**
<!--
Please describe the tests that you ran to verify your changes. Provide
instructions so we can reproduce. Please also list any relevant details
for your test configuration
-->

`helm template . --debug` and check the `ServiceMonitor` resource. I
also applied the change live in my cluster and observed the reduced
frequency. I also checked the Prom web UI under `/service-discovery` for
the new scrape interval.

**📃 Notes:**
<!-- Please enter any other relevant information here -->

**✔️ Checklist:**

- [x] ⚖️ My code follows the style guidelines of this project
- [x] 👀 I have performed a self-review of my own code
- [ ] #️⃣ I have commented my code, particularly in hard-to-understand
areas
- [ ] 📄 I have made corresponding changes to the documentation
- [x] ⚠️ My changes generate no new warnings
- [ ] 🧪 I have added tests to this description that prove my fix is
effective or that my feature works
- [x] ⬆️ I increased versions for any altered app according to semantic
versioning
2023-04-17 22:24:24 +02:00

30 lines
556 B
YAML

image:
repository: tccr.io/truecharts/speedtest-exporter
tag: 3.5.3@sha256:1a6388afff0bc8d1733b586d72be004ffe1004a9527bda28812f19bd5611933f
pullPolicy: IfNotPresent
service:
main:
ports:
main:
enabled: true
protocol: tcp
port: 9798
metrics:
main:
enabled: true
type: "servicemonitor"
endpoints:
- port: main
path: /metrics
interval: 1h
prometheusRule:
enabled: false
portal:
open:
enabled: false
securityContext:
container:
readOnlyRootFilesystem: false