Lightning.Projects.SandboxPromExPlugin (Lightning v2.19.0-pre)
View SourcePromEx plugin for sandbox-related telemetry metrics.
Tracks:
- Sandbox project creation, merging, and the lifecycle of a soft-delete (scheduling, cancelling, and the eventual purge)
- Workflow saves tagged by project type (sandbox vs regular)
- Provisioner imports tagged by project type
Summary
Functions
Fires a telemetry event when a provisioner import occurs.
Fires a telemetry event when a sandbox project is created.
Fires a telemetry event when a sandbox is permanently deleted from the database.
Fires a telemetry event when a scheduled sandbox deletion is cancelled.
Fires a telemetry event when a sandbox project is merged into its target.
Fires a telemetry event when a sandbox is scheduled for deletion (user intent).
Fires a telemetry event when a workflow is saved.
Seeds all sandbox counter metrics directly in PromEx ETS at value 0.
Functions
Fires a telemetry event when a provisioner import occurs.
Fires a telemetry event when a sandbox project is created.
Fires a telemetry event when a sandbox is permanently deleted from the database.
Fires a telemetry event when a scheduled sandbox deletion is cancelled.
Fires a telemetry event when a sandbox project is merged into its target.
Fires a telemetry event when a sandbox is scheduled for deletion (user intent).
Fires a telemetry event when a workflow is saved.
Seeds all sandbox counter metrics directly in PromEx ETS at value 0.
This establishes the Prometheus baseline so the first real event is captured, without adding phantom events on every server restart.
Only seeds when PromEx is enabled (via Lightning.Config.promex_enabled?/0).