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

feat: return list of failed jobs in cmd watch #225

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

cewkrupa
Copy link
Contributor

@cewkrupa cewkrupa commented Nov 20, 2024

Which problem is this PR solving?

This only applies to buildevents used in CircleCI.

In Honeycomb, we can query against the watch step of the buildevents trace to find out how often jobs are failing. Unfortunately, this does not include the list of the failed jobs, reducing its effectiveness, as usually if you are looking at the amount of failed jobs you'd also like to know which jobs failed.

As an example of reduced effectiveness, this prevents BubbleUp from showing which jobs are responsible for a failing SLO on % succesful builds.

image

Short description of the changes

We have the list of failed jobs available to us when we call the circleCI API to find out if there are any failed jobs. This PR wires through a list of names of those failed jobs back through the responses so we can include it as a span attribute in the watch event.

How to verify that this has the expected result

If we can test with this branch somehow, we should be able to see the result in instrumentation. Let me know if you have ideas.

@cewkrupa cewkrupa added the status: review needed Changes need review. label Nov 20, 2024
@cewkrupa cewkrupa marked this pull request as ready for review November 20, 2024 15:37
@cewkrupa cewkrupa requested a review from a team as a code owner November 20, 2024 15:37
@TylerHelmuth TylerHelmuth added the status: oncall Flagged for awareness from Honeycomb Telemetry Oncall label Nov 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: oncall Flagged for awareness from Honeycomb Telemetry Oncall status: review needed Changes need review.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants