How to see CPU Usage trend for MariaDB\PostgreSQL in DPA ?

I want to see the CPU usage trend for MariaDB and Postgresql As well