Use it when observing automation around Execution Time. Keep requested action, accepted operation, emitted telemetry, collected telemetry, effective target state and workload/service result as separate proof boundaries.
Execution Time
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.
1. Track execution time.
2. Detect slowdowns.
3. Set realistic timeouts.
4. Optimise bottlenecks.
5. SLOs for critical automation.
run → duration metric → trend
Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Operational evidence path Verify boundary
run submitted → queue interval → active execution → dependency waits → retries/backoff → target verification → completion timestamp → duration distribution → baseline/SLO comparison → slow-run drill-down
Healthy evidence: phase timing is separated, percentiles are stable against comparable baselines, slow exemplars drill into traces/logs, and timeout budgets leave room for verification.
Step 2 Failure modes and next checks Narrow the fault
Suspicious evidence: only total wall time is known, averages mask tails, queueing is blamed on target APIs, or timeout values are repeatedly raised without locating the slow boundary.
Step 3 Common mistakes Narrow the fault
- Not tracking runtime trends.
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
- Total duration ≠ active execution time.
- Average duration ≠ acceptable tail latency.
- Longer run ≠ automation failure.
- Timeout increase ≠ performance problem fixed.
- Duration per run and per step — performance
- Trend over time — regressions
- Timeout margins — reliability
ReferenceWhat it is1 section · depth on demand
Core model
Timestamp run creation, queue start/end, action start/end, retry/backoff intervals and verification completion using consistent clocks; publish distributions by workflow/environment/result; compare percentiles against baseline and timeout budgets; then trace slow samples to the specific boundary instead of tuning timeouts blindly.
ReferenceImportant terms & boundaries2 sections · depth on demand
What this shows and what it does not
Execution-time telemetry shows elapsed timing for measured phases, not the cause of delay or correctness of the eventual result.
In depth
Execution time — how long each run, step and target takes — is a simple but powerful health signal for automation. Rising durations warn of growing inventories, slow APIs or degrading targets before runs start timing out or overlapping.
What to record and watch:
| Metric | Use |
|---|---|
| Total run duration | Trend, schedule fit |
| Per-step duration | Find the slow part |
| Per-target duration | Find slow or problematic devices |
| Queue wait time | Runner capacity |
ANSIBLE_CALLBACKS_ENABLED=ansible.posix.profile_tasks ansible-playbook site.yml
Use measured durations to set timeouts and schedules, and alert when a run takes, for example, twice its usual duration.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in Logging & Observability > Execution Time. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://opentelemetry.io/docs/ · confidence 94%Terms & aliases
Hover a linked term for a quick definition; click it to open its glossary entry. Aliases are other names that find this Topic in search.
Quick lookup tables
Execution Time observability proof-boundary map
Fast identity/scope, telemetry-path, effective-outcome and monitoring/closure boundaries for Execution Time.
| Boundary | Healthy evidence | Suspicious evidence |
|---|---|---|
| Identity / scope | Immutable source plus run/job/attempt and exact target IDs are explicit | Floating source, shared labels or ambiguous target scope make events hard to attribute |
| Telemetry path | Structured logs, metrics and traces are exported, timestamped, retained and correlated | Console-only output, missing data or broken correlation silently creates blind spots |
| Effective outcome | Job status is paired with target read-back and workload/service acceptance | Green execution state substitutes for effective target or service verification |
| Monitoring / closure | Rates, latency, freshness and alerts use explicit windows/objectives and tested recovery | Untested alerts, stale dashboards or one successful sample are treated as healthy system proof |