:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.
Python ab-testingai-analyticsanalyticscdpdata-warehouseexperimentsfeature-flagsjavascriptproduct-analyticspythonreactsession-replaysurveystypescriptweb-analytics
from enum import StrEnum
from posthog.dataclasses import frozen
class WizardRunDispatchOutcome(StrEnum):
SUCCEEDED = "succeeded"
FAILED = "failed"
class WizardWorkerCleanupOutcome(StrEnum):
SUCCEEDED = "succeeded"
FAILED = "failed"
@frozen
class WizardWorkerUsageObservation:
lifetime_seconds: float
cpu_cores: float
memory_gb: float
disk_size_gb: float
cpu_usage_seconds: float | None
billed_cpu_usage_seconds: float | None
allocated_cpu_core_seconds: float
allocated_memory_gb_seconds: float
allocated_disk_gb_seconds: float