From b3e9366ca0dc935115ce9dd20b294620b06e7913 Mon Sep 17 00:00:00 2001 From: Prathamesh Musale Date: Mon, 11 May 2026 12:51:43 +0000 Subject: [PATCH] host-metrics: rename telegraf service to host-telegraf gorchain-monitoring also ships a `telegraf` service (synthetic RPC + HTTP probes); running both on the same host produced two containers named `laconic--telegraf-1`, which made `docker ps` and `laconic-so deployment ... logs telegraf` confusing. Rename the host-metrics service to `host-telegraf` -- the descriptive name fits a host-system-metrics collector and is unambiguous next to the probe-side telegraf in gorchain-monitoring. --- .../data/compose/docker-compose-host-metrics.yml | 2 +- stack_orchestrator/data/stacks/host-metrics/README.md | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/stack_orchestrator/data/compose/docker-compose-host-metrics.yml b/stack_orchestrator/data/compose/docker-compose-host-metrics.yml index 6e219cc4..69b6ca9f 100644 --- a/stack_orchestrator/data/compose/docker-compose-host-metrics.yml +++ b/stack_orchestrator/data/compose/docker-compose-host-metrics.yml @@ -1,7 +1,7 @@ version: '3.2' services: - telegraf: + host-telegraf: image: telegraf:1.36 restart: unless-stopped network_mode: host diff --git a/stack_orchestrator/data/stacks/host-metrics/README.md b/stack_orchestrator/data/stacks/host-metrics/README.md index 6c422f9a..db482ac1 100644 --- a/stack_orchestrator/data/stacks/host-metrics/README.md +++ b/stack_orchestrator/data/stacks/host-metrics/README.md @@ -74,7 +74,7 @@ already knows its stack). ### Verify ```bash -laconic-so deployment --dir ./deployment-host-metrics logs telegraf | head +laconic-so deployment --dir ./deployment-host-metrics logs host-telegraf | head ``` Expected: telegraf prints its startup banner and `Loaded inputs: ...`. No @@ -114,7 +114,7 @@ the toggle off on non-ZFS machines. | Symptom | Likely cause | |---------|-------------| | Container fails to start with `FATAL: INFLUXDB_URL is required but empty` | Missing required env. Check spec.yml + credentials file. | -| Container starts, no rows appear in InfluxDB | Writer credentials wrong, or InfluxDB unreachable from this host's network. Check `docker logs ` for `Post ... 401` / `connection refused`. | +| Container starts, no rows appear in InfluxDB | Writer credentials wrong, or InfluxDB unreachable from this host's network. Check `docker logs ` for `Post ... 401` / `connection refused`. | | Two hosts overwriting each other's series | Both use the same kernel hostname. Set distinct `HOST_TAG` values. | | `inputs.processes` reports only 1 process | `pid: host` missing from compose. Re-deploy. |