Specify databases for custom metric using wildcards
We have multiple databases for each of our clients - each type of databases uses the same schema and follows a consistent naming convention. For example:
XXXXMain
XXXXExtra
XXXX_Management
YYYYMain
YYYYExtra
YYYY_Management
I want to add a custom metric that only applies to "_Main" schema so in order to choose databases to collect from I need to specify each database explicitly. This proves challenging as the number of clients grows and we add more servers / instances to our environment.
It would be preferable if i could instead use some form of wildcard to specify databases (e.g. "%Main" or "*Main") in order to automatically collect this metric from all current and future databases following this naming convention.
![](https://secure.gravatar.com/avatar/5d894ab8bbf5971307360d65ec1ee661?size=40&default=https%3A%2F%2Fassets.uvcdn.com%2Fpkg%2Fadmin%2Ficons%2Fuser_70-6bcf9e08938533adb9bac95c3e487cb2a6d4a32f890ca6fdc82e3072e0ea0368.png)
A bit of an edge case that would make things a lot more complicated for all users