Entity Selector with Open Telemetry Metrics

Hello All,

I am using the Dynatrace Data Explorer (and not DQL) to evaluate this expression

bdc.fos.lcm.dataproduct.status.count.gauge:filter(eq(“status”, “PROVISIONING”)):splitBy(region, environment)
+
bdc.fos.lcm.dataproduct.status.count.gauge:filter(eq(“status”, “PROVISIONING_ERROR”)):splitBy(region, environment)

What I was thinking is if I could combine this using a single filter expression as mentioned here. Metrics API - Metric selector — Dynatrace Docs
This would be using an entity selector and I was trying to write an expression like this: 
bdc.fos.lcm.dataproduct.status.count.gauge:filter(in(“status”,entitySelector(“attribute(“PROVISIONING”, “PROVISIONING_ERROR”)”))):splitBy(region, environment)
But is not syntactically correct.

Any thoughts on what may be going wrong?

That’s not entity selector but a filter in metric selector.

bdc.fos.lcm.dataproduct.status.count.gauge
:filter(or(eq("status","PROVISIONING"),eq("status","PROVISIONING_ERROR")))
:splitBy(region, environment)