Skip to content

feature: expose provisioner job timings in prometheus #15284

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
johnstcn opened this issue Oct 30, 2024 · 1 comment
Closed

feature: expose provisioner job timings in prometheus #15284

johnstcn opened this issue Oct 30, 2024 · 1 comment
Labels
observability Issues related to observability (metrics, dashboards, alerts, opentelemetry)

Comments

@johnstcn
Copy link
Member

Relates to coder/internal#22

Motivation

#14274 added detailed per-provisioner-job workspace build timings and inserted them into the database. These are exposed in the UI per workspace, but there is no top-level aggregated Prometheus metric for operators to monitor.

Proposed Solution

Expose provisioner job timings as a histogram aggregated by:

  • template_name
  • template_version
  • job_type (template_version_import, template_version_dry_run, workspace_build)
  • provisioner_type (terraform, echo)
  • stage (init, plan, graph, apply)

NOTE: the above is a proposal only and not final.

@coder-labeler coder-labeler bot added needs-rfc Issues that needs an RFC due to an expansive scope and unclear implementation path. observability Issues related to observability (metrics, dashboards, alerts, opentelemetry) labels Oct 30, 2024
@johnstcn johnstcn removed the needs-rfc Issues that needs an RFC due to an expansive scope and unclear implementation path. label Oct 30, 2024
@johnstcn
Copy link
Member Author

johnstcn commented Nov 4, 2024

Closing as a duplicate of #12474

@johnstcn johnstcn closed this as not planned Won't fix, can't repro, duplicate, stale Nov 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
observability Issues related to observability (metrics, dashboards, alerts, opentelemetry)
Projects
None yet
Development

No branches or pull requests

1 participant