host-metrics: rename telegraf service to host-telegraf
Lint Checks / Run linter (push) Failing after 0s Details
Webapp Test / Run webapp test suite (push) Failing after 0s Details
Smoke Test / Run basic test suite (push) Failing after 0s Details
Publish / Gate: k8s deploy e2e (push) Failing after 3s Details
Deploy Test / Run deploy test suite (push) Failing after 0s Details
Publish / Build and publish (push) Has been skipped Details

gorchain-monitoring also ships a `telegraf` service (synthetic RPC +
HTTP probes); running both on the same host produced two containers
named `laconic-<hash>-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.
main v1.1.0-3d70370-202605111308
Prathamesh Musale 2026-05-11 12:51:43 +00:00
parent 3d703708c4
commit b3e9366ca0
2 changed files with 3 additions and 3 deletions

View File

@ -1,7 +1,7 @@
version: '3.2' version: '3.2'
services: services:
telegraf: host-telegraf:
image: telegraf:1.36 image: telegraf:1.36
restart: unless-stopped restart: unless-stopped
network_mode: host network_mode: host

View File

@ -74,7 +74,7 @@ already knows its stack).
### Verify ### Verify
```bash ```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 Expected: telegraf prints its startup banner and `Loaded inputs: ...`. No
@ -114,7 +114,7 @@ the toggle off on non-ZFS machines.
| Symptom | Likely cause | | Symptom | Likely cause |
|---------|-------------| |---------|-------------|
| Container fails to start with `FATAL: INFLUXDB_URL is required but empty` | Missing required env. Check spec.yml + credentials file. | | 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 <telegraf>` 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 <host-telegraf>` for `Post ... 401` / `connection refused`. |
| Two hosts overwriting each other's series | Both use the same kernel hostname. Set distinct `HOST_TAG` values. | | 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. | | `inputs.processes` reports only 1 process | `pid: host` missing from compose. Re-deploy. |