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.
Dear Community:
Gave you give Duncan some sugestions?
Thanks
Hal German
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
https://docops.ca.com/ca-apm/10-7/en/api-reference/ca-introscope-web-services-api-reference/polling-web-services/metrics-data-web-service
Since APM 10.5 or thereabouts, we have the APMSQL server
https://docops.ca.com/ca-apm/10-7/en/installing/apm-installation/install-and-configure-apmsql-servers
This relies on a REST API and that can be queried directly, at best in the most recent versions
https://comm.support.ca.com/kb/using-apmsql-rest-api/kb000091849
https://docops.ca.com/ca-apm/10-7/en/api-reference/apm-rest-api/sql-rest-api
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