I'm working on multitenant application which create MySQL RDS-based databases for tenants. There are many of those databases can be created per one RDS DB instance - they are pretty small and minimum size of the DB instance is 5GB.
To provide usage stats on per-tenant basis I'm going to collect CloudWatch metrics (such as DatabaseConnections, ReadIOPS etc) for each of the tenants' DBs.
The problem is that I can't figure out how to get DB-wide stats. It seems that CloudWatch API provide metrics for DB instance level only, not for specific databases.
Is there any way to get those stats? Or may be some kind of workaround available? I will be glad to hear any advices.