cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

REST API - Create Custom Service Metric with Filter

jeff_tucker
Guide

I am able to create a basic CSM using the /config/v1/calculatedMetrics/service call in the API.  It currently get avg CPU and it allows me to split by a value that I am passing in on the HTTP header of the requests.  In this case, the header is used to send the name of the various transactions in the synthetic test traffic.

 

Is it possible to add a filter to the creation of this CSM?  I would like to filter on either 1) the value of a tag associated with the request, or 2) the value of a second HTTP header in the request.  My objective is to pass in a unique identifier for each test I run and I would like to set up a CSM for each test.

 

Thanks,

 

JT

1 REPLY 1

jeff_tucker
Guide

I have resolved this using the validator service you have provided.  Thanks!

 

JT