Pcornel
Automation · Logging & Observability

Execution Time

Cheat sheet · https://pcornel.dk/topic.php?topic=5966

Back to the Topic

Answer

Execution Time measures how long automation spends queued, actively executing, waiting on dependencies, retrying and verifying so performance regressions and timeout risk are visible without conflating different phases into one wall-clock number.

Remember

  • Total duration ≠ active execution time.
  • Average duration ≠ acceptable tail latency.
  • Longer run ≠ automation failure.
  • Timeout increase ≠ performance problem fixed.

First checks

  • Duration per run and per step — performance
  • Trend over time — regressions
  • Timeout margins — reliability

Verify in this order

run → duration metric → trend

Where it usually breaks

Execution-time telemetry proves elapsed timing for measured phases, not the cause of delay or correctness of the eventual result.

Input/desired state → request accepted → job/task terminal status → target object read-back → effective runtime state → original workload → regression/rollback readiness.

Execution Time observability proof-boundary map

BoundaryHealthy evidenceSuspicious evidence
Identity / scopeImmutable source plus run/job/attempt and exact target IDs are explicitFloating source, shared labels or ambiguous target scope make events hard to attribute
Telemetry pathStructured logs, metrics and traces are exported, timestamped, retained and correlatedConsole-only output, missing data or broken correlation silently creates blind spots
Effective outcomeJob status is paired with target read-back and workload/service acceptanceGreen execution state substitutes for effective target or service verification
Monitoring / closureRates, latency, freshness and alerts use explicit windows/objectives and tested recoveryUntested alerts, stale dashboards or one successful sample are treated as healthy system proof

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=5966

Confirmation

Confirm action

Continue?