DX Application Performance Management

Expand all | Collapse all

Is there a way to get a list of metric names from EM (other than CLW which can get metric values across a timerange)?

  • 1.  Is there a way to get a list of metric names from EM (other than CLW which can get metric values across a timerange)?

    Posted Oct 26, 2018 03:59 AM

    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.



  • 2.  Re: Is there a way to get a list of metric names from EM (other than CLW which can get metric values across a timerange)?

    Broadcom Employee
    Posted Oct 26, 2018 09:42 AM

    Dear Community:

    Gave you give Duncan some sugestions?

    Thanks

    Hal German



  • 3.  Re: Is there a way to get a list of metric names from EM (other than CLW which can get metric values across a timerange)?
    Best Answer

    Broadcom Employee
    Posted Oct 26, 2018 10:06 AM

    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



  • 4.  Re: Is there a way to get a list of metric names from EM (other than CLW which can get metric values across a timerange)?

    Broadcom Employee
    Posted Oct 28, 2018 09:07 PM

    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