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
Solution
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
-start
date 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.
For example:
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
puppet_metrics_2018-10-12.tar.gz
-
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.
Read more about the puppetlabs-puppet_metrics_dashboard module in our blog and in the knowledge base.
Comments
0 comments
Please sign in to leave a comment.