...
The reason you need a copy of the prometheus systemd script is because it determines the database storage location as well as the data retention policy of the customer ( default its 15 days )
Note |
---|
If you are just setting up another SwarmTelemetry VM to visualize the data, make sure to set the retention time to 365 days, otherwise Prometheus will delete it within 15 days by default. |
--storage.tsdb.path=/var/lib/prometheus/data
...