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 error callbacks that emit metrics #53

Merged
merged 1 commit into from
Aug 7, 2020
Merged

Conversation

bluekeyes
Copy link
Member

These are non-default because they require a metrics registry, but the
default handlers are now implemented by passing a nil registry to the
metric version.

Note that this contains an API break in the AsyncErrorCallback type, but
I don't expect there to be many (any?) custom implementations.

Closes #51.

These are non-default because they require a metrics registry, but the
default handlers are now implemented by passing a nil registry to the
metric version.

Note that this contains an API break in the AsyncErrorCallback type, but
I don't expect there to be many (any?) custom implementations.
@bluekeyes bluekeyes requested a review from a team August 4, 2020 22:34
Copy link
Member

@asvoboda asvoboda left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It might be nice to also showcase this usage in the example app :)

@bluekeyes bluekeyes merged commit d8a2c92 into develop Aug 7, 2020
@bluekeyes bluekeyes deleted the bkeyes/error-metrics branch August 7, 2020 17:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Emit metrics for async webhook processing errors
2 participants