interface TriggerActivityStats {
    adjacent?: string;
    granularity?: string;
    id?: string | {
        [key: string]: unknown;
    };
    key?: string | {
        [key: string]: unknown;
    };
    measures?: Measure[];
    parent?: string;
}

Properties

adjacent?: string

adjacent parent job id; this is the actual adjacent parent in the graph, but it is not used for cascading expiration

granularity?: string

return 'infinity' to disable; default behavior is to always segment keys by time to ensure indexes (Redis LIST) never grow unbounded as a default behavior; for now, 5m is default and infinity can be set to override

id?: string | {
    [key: string]: unknown;
}
key?: string | {
    [key: string]: unknown;
}
measures?: Measure[]

what to capture

parent?: string

dependent parent job id; including this allows the parent's expiration/interruption events to cascade; set expire in the YAML for the dependent graph to 0 and provide the parent for dependent, cascading interruption and cleanup