When helping you troubleshoot a performance issue, Support might ask you to create an archive of metrics collected by the
puppet_metrics_dashboard module and submit it with your Support ticket.
Version and installation information
PE version: All supported versions
To create an archive of metrics and attach them to a Support ticket, follow the steps below.
Create an archive of the metrics collected from InfluxDB. Log onto your Grafana host and run the following, changing the
-startdate and time as appropriate:
influxd backup -portable -db -start <START DATE AND TIME> puppet_metrics /tmp/puppet_metrics tar czvf puppet_metrics_$(date +%F).tar.gz /tmp/puppet_metrics
Note: A month's worth of metrics should be sufficient in most cases.
influxd backup -portable -db -start 2018-10-01T00:00:00Z puppet_metrics /tmp/puppet_metrics tar czvf puppet_metrics_$(date +%F).tar.gz /tmp/puppet_metrics
The generated archive file name will be similar to
If the file is less than 50MB, attach the file to your support ticket. If it is larger than 50MB, ask your Support engineer for assistance.