DFE trigger conditions


#1

In the most general case let’s suppose I define a metric M:

{
“id” : “M_Type”,
“name” : “M”,
“srcType” : “Type”,
“path” : “a.b.c”,
“expression” : “function(d.e.f)”
}

And a DFE associated to it:

@DFE(interval=‘DAY’, period=‘DAY’, metric=‘M’)
type M mixes TSDataFlowEvent

Could you explain exactly what changes in the data (e.g. anything on type Type, only fields a, b, c, only fields d, e, f) will trigger the DFE?

Follow-up questions:

a) Same question for a metric defined with a TsDecl:
{
“id” : “M_Type”,
“name” : “M”,
“srcType” : “Type”,
“path” : “a.b.c”,
“tsDecl”: {
“data”: “d”,
“treatment”: “OR”,
“start”: “e”,
“end”: “f”,
“filter”: “g == ‘X’”,
“value”: “h”
}
}

b) Same question for a metric defined with an ActionDecl?

c) Did I miss another way of defining a metric?