Skip to content

Feature: support additional Terraform timing fields #18241

@johnstcn

Description

@johnstcn

Our current provisioner timings feature supports a subset of Terraform timings.

There are others, for example:

  • state_lock_acquire:
Jun 04 11:52:33 ip-172-31-12-44 coder[55673]: 2025-06-04 11:52:33.503 [warn]  provisionerd-ip-172-31-12-44-2.executor: (sampled) failed to extract timings entry from log line  line="Acquiring state lock. This may take a few moments..." .
..
Jun 04 11:52:33 ip-172-31-12-44 coder[55673]:     error= unexpected timing kind: "state_lock_acquire":
Jun 04 11:52:33 ip-172-31-12-44 coder[55673]:                github.com/coder/coder/v2/provisioner/terraform.extractTimingSpan
Jun 04 11:52:33 ip-172-31-12-44 coder[55673]:                    /home/runner/work/coder/coder/provisioner/terraform/executor.go:776

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions