Increase Telegraf Frequency + Flatpak Executables (#16)

* Add a few aliases for initializing projects.

* Begin creating executables in bin for flatpaks. Create an array to reduce future changes.

* Add quotes.

* Create files as user and set executable permissions.

* Split exec dir from array section.

* Increase interval for Telegraf but keep the flush at 30s.
This commit is contained in:
2021-10-28 07:28:24 -05:00
committed by GitHub
parent 107374d93c
commit d3357cb2d9
3 changed files with 41 additions and 9 deletions

View File

@ -145,6 +145,9 @@
}
sync: alias sync='date && echo "Syncing!" && sync && date'
editor: export EDITOR='vi'
init_aliases: |
alias init-video='mkdir -v raw; mkdir -v exports; cp ~/Templates/*video* ./'
alias init-prog='echo -e "#!/bin/bash\n# `date +%Y-%m-%d` by Hyperling\n# REASON\n\nexit 0\n"'
- name: General | Account Management | Users | Files | Common Variable
set_fact:
@ -161,6 +164,7 @@
{{ update }}
{{ sync }}
{{ editor }}
{{ init_aliases }}
- name: General | Account Management | Users | Files | .bashrc
blockinfile:

View File

@ -85,12 +85,12 @@
# user = "$USER"
[agent]
interval = "30s"
interval = "5s"
metric_batch_size = 1000
metric_buffer_limit = 10000
collection_jitter = "3s"
collection_jitter = "0s"
flush_interval = "30s"
flush_jitter = "7s"
flush_jitter = "10s"
precision = ""
# debug = false
# quiet = false