Skip to content

feat(api): add prometheus metric coderd_workspace_builds_total - #6314

Merged
johnstcn merged 2 commits into
mainfrom
cj/workspace-build-metrics
Feb 23, 2023
Merged

feat(api): add prometheus metric coderd_workspace_builds_total#6314
johnstcn merged 2 commits into
mainfrom
cj/workspace-build-metrics

Conversation

@johnstcn

@johnstcn johnstcn commented Feb 23, 2023

Copy link
Copy Markdown
Member

This PR adds the prometheus metric coderd_workspace_builds_total.
It measures the total number of workspace builds, along with a number of labels intended to be useful for an operator debugging a failed workspace build trying to discover the scope of the issue.

Note: Even though it's technically under provisionerd, I'm setting the subsystem as blank explicitly.

@johnstcn
johnstcn requested review from Emyrk, coadler and mtojek February 23, 2023 00:18
@johnstcn johnstcn self-assigned this Feb 23, 2023

@mtojek mtojek left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@johnstcn
johnstcn merged commit 43e8ba0 into main Feb 23, 2023
@johnstcn
johnstcn deleted the cj/workspace-build-metrics branch February 23, 2023 01:28
@github-actions github-actions Bot locked and limited conversation to collaborators Feb 23, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants