feat: adjust ChromeDriver options and update Telegraf flush interval

This commit is contained in:
2025-02-06 10:39:31 +01:00
parent 7a8a8ee260
commit 55a31bdbb1
2 changed files with 2 additions and 1 deletions

View File

@@ -41,7 +41,7 @@ def setupChromeDriver():
chrome_options.add_argument("--no-sandbox")
chrome_options.add_argument("--mute-audio")
chrome_options.add_argument("--window-size=1280,720")
chrome_options.add_argument("--disable-dev-shm-usage")
#chrome_options.add_argument("--disable-dev-shm-usage")
chrome_options.add_argument("--no-default-browser-check")
chrome_options.add_argument("--disable-features=WebRtcHideLocalIpsWithMdns")
#chrome_options.add_argument(f"--load-extension={os.path.abspath(os.path.join(os.path.dirname(__file__), 'webrtc-internals-exporter'))}")

View File

@@ -1,4 +1,5 @@
[agent]
flush_interval = "20s"
hostname = "${HOSTNAME}"
omit_hostname = false