53 lines
1.3 KiB
YAML
53 lines
1.3 KiB
YAML
env:
|
|
- name: HOSTNAME
|
|
value: "telegraf-speedtest"
|
|
|
|
service:
|
|
enabled: false
|
|
rbac:
|
|
# Specifies whether RBAC resources should be created
|
|
create: false
|
|
|
|
serviceAccount:
|
|
# Specifies whether a ServiceAccount should be created
|
|
create: false
|
|
|
|
|
|
## Exposed telegraf configuration
|
|
## For full list of possible values see `/docs/all-config-values.yaml` and `/docs/all-config-values.toml`
|
|
## ref: https://docs.influxdata.com/telegraf/v1.1/administration/configuration/
|
|
config:
|
|
agent:
|
|
interval: "2h"
|
|
round_interval: true
|
|
metric_batch_size: 1000
|
|
metric_buffer_limit: 10000
|
|
collection_jitter: "0s"
|
|
flush_interval: "10s"
|
|
flush_jitter: "0s"
|
|
precision: ""
|
|
debug: false
|
|
quiet: false
|
|
logfile: ""
|
|
hostname: "$HOSTNAME"
|
|
omit_hostname: false
|
|
processors:
|
|
- enum:
|
|
mapping:
|
|
field: "status"
|
|
dest: "status_code"
|
|
value_mappings:
|
|
healthy: 1
|
|
problem: 2
|
|
critical: 3
|
|
outputs:
|
|
- influxdb_v2:
|
|
urls:
|
|
- "http://influxdb-influxdb2.monitoring:80"
|
|
token: We64mk4L4bqYCL77x3fAUSYfOse9Kktyf2eBLyrryG9c3-y8PQFiKPIh9EvSWuq78QSQz6hUcsm7XSFR2Zj1MA==
|
|
organization: "influxdata"
|
|
bucket: "homeassistant"
|
|
inputs:
|
|
- internet_speed:
|
|
enable_file_download: false
|