Adding metrics event wildcard matching
Integrating wildcard matching in onFlush handler

You can now specify metrics alerts using wildcards. This is super useful
actually so I implemented it.