Skip to content

Conversation

wayneadams
Copy link
Contributor

@wayneadams wayneadams commented Sep 27, 2023

Changes proposed by this PR

  • Ensures that the guage gets emitted
  • Ensure that the gauge has latest completed build status information

Notes to reviewer

Currently, this metric is emitting the following attributes alongside the gauge: jobName, pipelineName, teamName. Is there any other metadata about the job or build that should be emitted?

This is how the metric will show up in the Prometheus dashboard:

Screenshot 2023-10-03 at 11 58 02 AM

Release Note

  • Add concourse_builds_latest_completed_build_status metric
    • Guage = 0 for success
    • Guage = 1 for failure
    • Guage = 2 for aborted
    • Guage = 3 for error

@xtremerui xtremerui force-pushed the add-guage-for-job-status branch from 52c0f44 to af719e7 Compare September 29, 2023 18:51
@wayneadams wayneadams marked this pull request as ready for review October 3, 2023 19:19
@wayneadams wayneadams requested a review from a team as a code owner October 3, 2023 19:19
@wayneadams wayneadams changed the title Emitting "job_status" gauge from prometheus Emitting "jlatest_completed_build_status" gauge from prometheus Oct 3, 2023
@wayneadams wayneadams changed the title Emitting "jlatest_completed_build_status" gauge from prometheus Emitting "latest_completed_build_status" gauge from prometheus Oct 3, 2023
wayneadams and others added 5 commits October 10, 2023 15:29
Co-authored-by: Rui Yang <ruiya@vmware.com>
Signed-off-by: Wayne Adams <wadams@vmware.com>
Signed-off-by: Wayne Adams <wadams@vmware.com>
Co-authored-by: Wayne Adams <wadams@vmware.com>
Signed-off-by: Rui Yang <ruiya@vmware.com>
Signed-off-by: Rui Yang <ruiya@vmware.com>
Co-authored-by: Rui Yang <ruiya@vmware.com>
Signed-off-by: Wayne Adams <wadams@vmware.com>
@xtremerui xtremerui force-pushed the add-guage-for-job-status branch from af6f264 to 9edbf68 Compare October 10, 2023 19:29
@wayneadams wayneadams merged commit ebeefc5 into master Oct 11, 2023
@wayneadams wayneadams deleted the add-guage-for-job-status branch October 11, 2023 18:13
@wayneadams wayneadams added this to the v7.11.0 milestone Oct 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants