pcp
[Top] [All Lists]

Re: Question about Performance Co-Pilot and Grafana

To: William_Staten@xxxxxxxxxxxxxxx
Subject: Re: Question about Performance Co-Pilot and Grafana
From: fche@xxxxxxxxxx (Frank Ch. Eigler)
Date: Mon, 04 Jan 2016 15:44:30 -0500
Cc: pcp@xxxxxxxxxxx
Delivered-to: pcp@xxxxxxxxxxx
In-reply-to: <OF355DC515.3BCBDC1D-ON85257F30.005B4A08-85257F30.005BA0FA@xxxxxxxxxxxxxxx> (William Staten's message of "Mon, 4 Jan 2016 11:40:49 -0500")
References: <OF355DC515.3BCBDC1D-ON85257F30.005B4A08-85257F30.005BA0FA@xxxxxxxxxxxxxxx>
User-agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.4 (gnu/linux)
William_Staten wrote:

> I wanted to know where I could get support on creating graphs older than 2
> weeks or for a specific time frame (say from October 1, 2015 - November 15,
> 2015) using pcp and the grafana that was installed with the pcp rpm. [...]

You just need archives from that time frame, located in a place where
pmwebd looks for them.  Normally old data is aged out and removed.
(pmwebd certainly doesn't impose age limits on data.)

If you're using "service pmlogger" to manage logging, then kenj's answer
applies as to how to extend the default 14-day retention period.

Instead, if you're using "service pmmgr", then with modern pmmgr you
will get a much longer default retention period (14 full-resolution +
90 reduced-resolution days).  Those defaults may be overridden: e.g.,

# echo 28days > /etc/pcp/pmmgr/pmlogmerge-retain
# echo 365days > /etc/pcp/pmmgr/pmlogreduce-retain


- FChE

<Prev in Thread] Current Thread [Next in Thread>