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

Add reason label for failed events #201

Open
1 task done
hobbsh opened this issue Jun 20, 2024 · 3 comments
Open
1 task done

Add reason label for failed events #201

hobbsh opened this issue Jun 20, 2024 · 3 comments
Assignees
Labels

Comments

@hobbsh
Copy link
Contributor

hobbsh commented Jun 20, 2024

Checklist

Describe the problem you'd like to have solved

It would be great if we could see the reason as a label in these series. I realize it could dramatically increase cardinality but it would be nice to at least have the option to include it.

Describe the ideal solution

There is a flag that enables the reason field being collected from the log and added to the failed series.

Alternatives and current workarounds

No response

Additional context

No response

@hobbsh hobbsh added the feature label Jun 20, 2024
@tfadeyi tfadeyi self-assigned this Jun 22, 2024
@tfadeyi
Copy link
Owner

tfadeyi commented Jun 22, 2024

I'll give this a look, having it as a flag option might be the simpler way to avoid disrupting others.
Do you mind describing how this feature might improve usability?

@hobbsh
Copy link
Contributor Author

hobbsh commented Jun 24, 2024

Thanks! As for improving usability, it would just allow people to filter events by specific failures and also uncover the underlying reason for failures. I am not sure how many reasons Auth0 has, but it's probably not just a handful, so it could have a negative impact in other ways than just high cardinality. It would be good to know how feasible this is though.

@tfadeyi
Copy link
Owner

tfadeyi commented Jul 9, 2024

It seems feasible looking a the Auth0 API, each log item seems to have a description, https://auth0.com/docs/deploy-monitor/logs/log-event-type-codes.
Is this the info you were hoping to have under a reason label?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants