Collecting custom metrics for multiple databases at the same time
ATM, a custom metric can return one value, but sometimes collecting the metric for one database takes the same amount of time as collecting it for all of the databases.
Having a multi-database metric (maybe something that returns a database id -> value map (as a two col table)) would be especially useful if it takes a long time to collect the metric (in my case it takes nearly 30 secs to collect it).
-
Stephen Bovill commented
I want to be able to track multiple things from the same which can all be gathered very quickly in a single query and would mean I don't need to make three separate metrics and run three separate queries every minute