Can I have old PCP metrics getting removed from graphs in Grafana automatically?
Issue
- We are running the normal chain with
pmlogger
logging metrics into PCP archive files, thenpmproxy
fetching the data intoredis
, andgrafana
visualizing the metrics. Our archive files span a retention period of 14 days. How can we makegrafana
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?
Environment
- 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.