Files
rippled/docker/telemetry/.gitignore
Pratik Mankawde 953294f113 Collect the second node's logs, which were never mounted
The collector bind-mounts one log root, data/logs, and identifies each node by
the subdirectory inside it. The second instance wrote to data2/logs, which is not
mounted at all, so its logs have never reached the pipeline under any name --
while its metrics and traces flowed normally, making it look like a quiet node
rather than an uncollected one. Its own config comment already claimed the
directory was "the same dir the compose stack bind-mounts into the collector",
so the intent was the single root and only the path was wrong.

Both nodes now log under data/logs. The nodestore stays split across data/ and
data2/, which is what those directories are for; the logs gain nothing from the
split because both sit on the same disk, and lose collection entirely.

The installer's log-directory check was wrong in the same way: it verified a path
under the host's /var/log/xrpld, which nothing reads -- that path exists only
inside the container, where the root is mounted. It now checks the directory the
collector actually reads, and the docs no longer ask for host symlinks that have
no effect.

Also drop the trailing slash from the data ignore rules and add data2. A
trailing-slash pattern matches only real directories, so on a host that follows
the runbook and symlinks both to a fast disk, neither was ignored -- leaving them
permanently untracked in a tree the runbook says should read clean, and one
`git add` away from committing a nodestore.
2026-08-18 16:06:57 +01:00

23 lines
738 B
Plaintext

# Runtime data generated by xrpld and telemetry stack. No trailing slash, so the
# patterns also match the symlinks a host points at its fast disk -- a
# trailing-slash pattern matches only real directories, which left both paths
# showing as untracked on exactly the hosts that follow the runbook.
data
data2
# Env. file carrying environmental setup data for local or cloud runs.
.env.*
# Host-local configs rendered by systemd/install-units.sh. They carry the
# machine's telemetry identity, which must not be committed.
*.host.cfg
# Keep examples
!.env.alerting.example
!.env.grafanacloud.example
!.env.grafanacloud-alloy.example
!.env.devbox.example
# Do not commit grafana cloud versions with default filters
grafanacloud/*.json