Skip to content

feat(api): add prometheus metric coderd_workspace_builds_total #6314

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

Merged
merged 2 commits into from
Feb 23, 2023

Conversation

johnstcn
Copy link
Member

@johnstcn johnstcn commented Feb 23, 2023

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
Copy link
Member

@mtojek mtojek left a comment

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