@@ -11,16 +11,18 @@ defmodule ColouredFlow.Runner.Telemetry do
1111 - `[:coloured_flow, :runner, :enactment, :stop]`
1212 - `[:coloured_flow, :runner, :enactment, :terminate]`
1313 - `[:coloured_flow, :runner, :enactment, :exception]`
14+ - `[:coloured_flow, :runner, :enactment, :take_snapshot]`
1415
1516 All enactment events share the same measurements and metadata, but their
1617 metadata are different.
1718
18- | event | measurements | metadata |
19- | ------------ | --------------------------------- | ------------------------------------------------------------------------------- |
20- | `:start` | `:system_time`, `:monotonic_time` | `:enactment_id`, `:enactment_state` |
21- | `:stop` | `:system_time`, `:monotonic_time` | `:enactment_id`, `:enactment_state`, `:reason` |
22- | `:terminate` | `:system_time`, `:monotonic_time` | `:enactment_id`, `:enactment_state`, `termination_type`, `:termination_message` |
23- | `:exception` | `:system_time`, `:monotonic_time` | `:enactment_id`, `:enactment_state`, `:exception_reason`, `:exception` |
19+ | event | measurements | metadata |
20+ | ---------------- | --------------------------------- | ------------------------------------------------------------------------------- |
21+ | `:start` | `:system_time`, `:monotonic_time` | `:enactment_id`, `:enactment_state` |
22+ | `:stop` | `:system_time`, `:monotonic_time` | `:enactment_id`, `:enactment_state`, `:reason` |
23+ | `:terminate` | `:system_time`, `:monotonic_time` | `:enactment_id`, `:enactment_state`, `termination_type`, `:termination_message` |
24+ | `:exception` | `:system_time`, `:monotonic_time` | `:enactment_id`, `:enactment_state`, `:exception_reason`, `:exception` |
25+ | `:take_snapshot` | `:system_time`, `:monotonic_time` | `:enactment_id`, `:enactment_state` |
2426
2527 Note that `:start` and `:stop` events will be emitted when the enactment server
2628 starts and stops respectively. So a `:stop` event will be emitted right after
@@ -234,6 +236,7 @@ defmodule ColouredFlow.Runner.Telemetry do
234236 [ :coloured_flow , :runner , :enactment , :stop ] ,
235237 [ :coloured_flow , :runner , :enactment , :terminate ] ,
236238 [ :coloured_flow , :runner , :enactment , :exception ] ,
239+ [ :coloured_flow , :runner , :enactment , :take_snapshot ] ,
237240 [ :coloured_flow , :runner , :enactment , :produce_workitems , :start ] ,
238241 [ :coloured_flow , :runner , :enactment , :produce_workitems , :stop ] ,
239242 [ :coloured_flow , :runner , :enactment , :produce_workitems , :exception ] ,
0 commit comments