End User Monitoring (EUM)

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I filter mobile session custom metric based on the metric name in a custom query?

Wanderer

How do I filter mobile session custom metric based on the metric name in a custom query?

We log a set of metrics in a mobile session using the iOS SDK's reportMetric method. I see the custom metric in metric browser.

 

However the following query does not work as expected.

 

SELECT custommetric.metricname, avg(custommetric.metricvalue) from mobile_sessions where appkey = 'MY APP KEY' AND custommetric.metricname = 'MY METRIC NAME'

 

I would expect the above query to report average value of 'MY METRIC NAME' metric only. However, it still reports the result ignoring the name check. The results are identical to the following query.

 

SELECT custommetric.metricname, avg(custommetric.metricvalue) from mobile_sessions where appkey = 'MY APP KEY'

 

 

How do I filter mobile session custom metric based on the metric name in a custom query?