From e4ecc695a06431efbbc42e7dcd37c18a1da165e2 Mon Sep 17 00:00:00 2001 From: Scott Anderson Date: Tue, 30 Dec 2025 09:11:07 -0700 Subject: [PATCH] Apply suggestions from code review Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- content/telegraf/controller/install/_index.md | 4 ++-- content/telegraf/controller/install/troubleshoot.md | 4 +--- content/telegraf/controller/install/uninstall.md | 10 +++++----- 3 files changed, 8 insertions(+), 10 deletions(-) diff --git a/content/telegraf/controller/install/_index.md b/content/telegraf/controller/install/_index.md index fcc2fbc0a..16d4a9c68 100644 --- a/content/telegraf/controller/install/_index.md +++ b/content/telegraf/controller/install/_index.md @@ -213,7 +213,7 @@ export PATH="/usr/local/bin:$PATH" ### Windows -You can run the `telegraf_controller` executable in place you can run +You can run the `telegraf_controller` executable in place or you can run {{% product-name %}} as a Windows service. - [Run the application in place](#run-the-application-in-place) @@ -261,7 +261,7 @@ service. ### SQLite {note="(Default)"} -With SQLite is installed, no additional setup required. +With SQLite installed, no additional setup is required. {{% product-name %}} creates the database file automatically on first run. #### Default SQLite data locations diff --git a/content/telegraf/controller/install/troubleshoot.md b/content/telegraf/controller/install/troubleshoot.md index 431b4d6d1..89168a661 100644 --- a/content/telegraf/controller/install/troubleshoot.md +++ b/content/telegraf/controller/install/troubleshoot.md @@ -59,7 +59,7 @@ telegraf_controller ```powershell $env:PORT=3000 -$env:HEARTBEAT_PORT=3001 +$env:HEARTBEAT_PORT=3001 ./telegraf_controller.exe ``` @@ -102,8 +102,6 @@ telegraf_controller --port=3000 --heartbeat-port=3001 {{% /tab-content %}} {{< /tabs-wrapper >}} - - ## Permission denied (Linux/macOS) If you do not have permission to run the `telegraf_controller` executable, diff --git a/content/telegraf/controller/install/uninstall.md b/content/telegraf/controller/install/uninstall.md index 4c48a6e10..27938e9bf 100644 --- a/content/telegraf/controller/install/uninstall.md +++ b/content/telegraf/controller/install/uninstall.md @@ -10,7 +10,7 @@ menu: weight: 102 --- -Unisntall Telegraf Controller and remove all files associated with the +Uninstall Telegraf Controller and remove all files associated with the application. This process depends on your operating system and installation method. @@ -56,7 +56,7 @@ To fully uninstall {{% product-name %}} from Linux: PostgreSQL instance: ```sql - DROP DATABASE telegraf_controller + DROP DATABASE telegraf_controller; ``` @@ -96,7 +96,7 @@ To fully uninstall {{% product-name %}} from macOS: PostgreSQL instance: ```sql - DROP DATABASE telegraf_controller + DROP DATABASE telegraf_controller; ``` @@ -122,7 +122,7 @@ To fully uninstall {{% product-name %}} from Windows: 2. **Remove all files associated with {{% product-name %}}**: ```powershell - # Remove the telegraf_controller executable and other related files, + # Remove the telegraf_controller executable and other related files, # including the SQLite database if using SQLite Remove-Item -Path "$env:LOCALAPPDATA\telegraf_controller" -Recurse Remove-Item -Path "C:\Program Files\TelegrafController" -Recurse @@ -132,7 +132,7 @@ To fully uninstall {{% product-name %}} from Windows: PostgreSQL instance: ```sql - DROP DATABASE telegraf_controller + DROP DATABASE telegraf_controller; ```