Emits the telemetry events of the containers feature.
Events can be emitted on the following topics:
[:edgehog, :containers, :provisioning, :start]when a provisioner starts provisioning a resource. Metadata containsresource_type,resource_id,deployment_id,device_idandtenant_slug.[:edgehog, :containers, :provisioning, :stop]when a provisioner terminates, either successfully or with a failure. Metadata containsresource_type,resource_id,deployment_id,device_id,tenant_slug,result(either:okor:error) andreason(either the provisioning outcome, e.g.:readyor:already_ready, or the failure reason). Measurements containduration(native time) andretries.[:edgehog, :containers, :deployment, :start]when a deployment orchestrator starts conducting a deployment. Metadata containsdeployment_id,device_idandtenant_slug.[:edgehog, :containers, :deployment, :stop]when a deployment orchestrator terminates, either successfully or with a failure. Metadata containsdeployment_id,device_id,tenant_slugandresult. Measurements containduration(native time).[:edgehog, :containers, :container_deployment, :start]when a container deployment orchestrator starts conducting a container deployment. Metadata containscontainer_deployment_id,deployment_id,device_idandtenant_slug.[:edgehog, :containers, :container_deployment, :stop]when a container deployment orchestrator terminates, either successfully or with a failure. Metadata containscontainer_deployment_id,deployment_id,device_id,tenant_slugandresult. Measurements containduration(native time).
Summary
Functions
Emits a successful container deployment orchestration stop event.
Emits a failed container deployment orchestration stop event.
Emits a container deployment orchestration start event and returns the monotonic time the orchestration started, to be used when emitting the corresponding stop event.
Emits a successful deployment orchestration stop event.
Emits a failed deployment orchestration stop event.
Emits a deployment orchestration start event and returns the monotonic time the orchestration started, to be used when emitting the corresponding stop event.
Emits a successful provisioning stop event.
Emits a failed provisioning stop event.
Emits a provisioning start event and returns the monotonic time the provisioning started, to be used when emitting the corresponding stop event.
Functions
Emits a successful container deployment orchestration stop event.
Emits a failed container deployment orchestration stop event.
Emits a container deployment orchestration start event and returns the monotonic time the orchestration started, to be used when emitting the corresponding stop event.
Returns the start time, computed with System.monotonic_time/0
Emits a successful deployment orchestration stop event.
Emits a failed deployment orchestration stop event.
Emits a deployment orchestration start event and returns the monotonic time the orchestration started, to be used when emitting the corresponding stop event.
Returns the start time, computed with System.monotonic_time/0
Emits a successful provisioning stop event.
Emits a failed provisioning stop event.
Emits a provisioning start event and returns the monotonic time the provisioning started, to be used when emitting the corresponding stop event.
Returns the start time, computed with System.monotonic_time/0