Can I have old PCP metrics getting removed from graphs in Grafana automatically?

Solution Unverified - Updated -


  • We are running the normal chain with pmlogger logging metrics into PCP archive files, then pmproxy fetching the data into redis, and grafana visualizing the metrics. Our archive files span a retention period of 14 days. How can we make grafana only display the past 7 days of metrics for each host?
  • Why is Grafana (with PCP/pmproxy/redis behind it) just showing a small part of the days which are covered by the pmlogger archive logs?


  • Red Hat Enterprise Linux (RHEL) 8 and later
  • Performance Co-Pilot (PCP)
  • redis
  • grafana

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content