Skip to content
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

[image-builder] Increment metric on build start #14188

Merged
merged 1 commit into from Oct 26, 2022

Conversation

andrew-farries
Copy link
Contributor

Description

Increment the gitpod_image_builder_builds_started_total counter when the image builder starts a build.

This metric was already configured and registered but never used.

Related Issue(s)

Part of #12960

How to test

  • Port forward to the image builder in the preview environment.
  • Hit the metrics endpoint
  • Trigger an image build
  • See the counter increase.

Release Notes

NONE

Documentation

Werft options:

  • /werft with-local-preview
    If enabled this will build install/preview
  • /werft with-preview
  • /werft with-large-vm
  • /werft with-integration-tests=all
    Valid options are all, workspace, webapp, ide

This metric was already configured and registered but never used.
@werft-gitpod-dev-com
Copy link

started the job as gitpod-build-af-metric-for-image-builder-image-build-start.6 because the annotations in the pull request description changed
(with .werft/ from main)

@github-actions github-actions bot added the team: workspace Issue belongs to the Workspace team label Oct 26, 2022
@roboquat roboquat merged commit abf3844 into main Oct 26, 2022
@roboquat roboquat deleted the af/metric-for-image-builder-image-build-starts branch October 26, 2022 12:25
@roboquat roboquat added deployed: workspace Workspace team change is running in production deployed Change is completely running in production labels Nov 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
deployed: workspace Workspace team change is running in production deployed Change is completely running in production release-note-none size/XS team: workspace Issue belongs to the Workspace team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants