I'd like to get a list of all metrics handled by EM so I can verify that regular expressions I'm developing for metric groupings will select correct metrics and be as efficient as possible.
Depending on how old the EM is, you would have a couple of things.
There is a SOAP-based web service that has been around for a while and still works
Since APM 10.5 or thereabouts, we have the APMSQL server
This relies on a REST API and that can be queried directly, at best in the most recent versions
Gave you give Duncan some sugestions?
The EM SmartStor tools test_regex option can also be used on each Collector EM but that EM needs to be stopped before it can be run.
Configure and Manage SmartStor Data - CA Application Performance Management - 10.7 - CA Technologies Documentation
e.g. from EM_HOME/tools directory run: ./SmartStorTools.sh test_regex -metrics ".*" -src ../data
Retrieving data ...