DX Application Performance Management

Expand all | Collapse all

How to write a metric expression to count only the EPAgent connections?

  • 1.  How to write a metric expression to count only the EPAgent connections?

    Posted 04-13-2016 12:10 AM

    Hi,

    We got a metric expression to count all the agent connection, but we need to count only the EPAgent connection.

     

    The original expression is

    - Metric grouping agent expression "(.*)\|Custom Metric Process \(Virtual\)\|Custom Metric Agent \(Virtual\) \(autemap0(03|04|05|06|07|12|13|14|15)nabrn\.bastest\.aurtest\.national\.com\.au@5001\)"

    - Metric expression "Enterprise Manager\|Connections:Number of Agents"

     

    I tried to change the Metric expression to count only the EPAgent connection, but it return nothing, so anyone could help me in writing this expression

     

    Thanks



  • 2.  Re: How to write a metric expression to count only the EPAgent connections?

    Posted 04-13-2016 12:26 PM

    Can you post a couple examples of the full metrics you are trying to match?  It will be easier to get help if you can provide a couple examples to work with.



  • 3.  Re: How to write a metric expression to count only the EPAgent connections?

    Broadcom Employee
    Posted 04-13-2016 12:36 PM

    The best and easiest option is to use a JavaScript calculator.



  • 4.  Re: How to write a metric expression to count only the EPAgent connections?

    Broadcom Employee
    Posted 04-13-2016 03:09 PM

    You can go here to get an overview and examples of calculators

    .

    Javascript Calculator Overview



  • 5.  Re: How to write a metric expression to count only the EPAgent connections?

    Broadcom Employee
    Posted 04-17-2016 09:12 AM

    Hi Catherine: Please let us know if the answers provided helped or if there are any follow-up questions Thanks Hal German