Goodbye Graphana (#49)

This commit is contained in:
Hyperling 2024-01-27 19:07:35 -07:00 committed by GitHub
parent 7519f23a81
commit a561bdecc1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -82,7 +82,7 @@
# rack = "1a" # rack = "1a"
## Environment variables can be used as tags, and throughout the config file ## Environment variables can be used as tags, and throughout the config file
# user = "$USER" # user = "$USER"
[agent] [agent]
interval = "{{ '300s' if battery else '5s' }}" interval = "{{ '300s' if battery else '5s' }}"
metric_batch_size = 1000 metric_batch_size = 1000
@ -142,13 +142,13 @@
# name_templates = ["$ID_FS_LABEL","$DM_VG_NAME/$DM_LV_NAME"] # name_templates = ["$ID_FS_LABEL","$DM_VG_NAME/$DM_LV_NAME"]
[[inputs.kernel]] [[inputs.kernel]]
[[inputs.mem]] [[inputs.mem]]
[[inputs.processes]] [[inputs.processes]]
[[inputs.swap]] [[inputs.swap]]
[[inputs.system]] [[inputs.system]]
# fielddrop = ["uptime_format"] # fielddrop = ["uptime_format"]
@ -167,7 +167,8 @@
job: "{{ item.command }}" job: "{{ item.command }}"
special_time: "{{ item.freq }}" special_time: "{{ item.freq }}"
state: present state: present
disabled: "{{ 'yes' if no_telem else 'no' }}" #disabled: "{{ 'yes' if no_telem else 'no' }}"
disabled: yes # 2024-01-25, Downsizing again and will not have Graphana.
loop: loop:
- { "name": "Telegraf Reboot Job" , "freq": "reboot", "command": "{{ telegraf_cmd }}"} - { "name": "Telegraf Reboot Job" , "freq": "reboot", "command": "{{ telegraf_cmd }}"}
- { "name": "Telegraf Keep-Alive Job", "freq": "hourly", "command": "{{ telegraf_watcher }}"} - { "name": "Telegraf Keep-Alive Job", "freq": "hourly", "command": "{{ telegraf_watcher }}"}