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 add event handlers to make request async #811

Conversation

aron-ridgway-deltatre
Copy link
Contributor

Issue we are facing

The issue we are facing is we have a multi tenant application and we need to add tracing/monitoring for Recurly http calls per tenant, so we can monitor the amount off calls being made by each tenant which include paged requests that happen in the background.
BaseClient MakeRequest has Event handlers which can be used to hook into http request and responses.
MakeRequestAsync that we use in our service is currently missing the Event Handling processing,

Proposed solution

Add the event handling logic to the MakeRequestAsync method.

There may be a better way to solve this issue, so we are open to your suggestions on the best implementation to resolve this issue.

@douglasmiller douglasmiller added V4 v2021-02-25 Client and removed V4 v2021-02-25 Client labels Dec 12, 2023
Copy link
Contributor

@douglasmiller douglasmiller left a comment

Choose a reason for hiding this comment

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

Thank you for creating the pull request @aron-ridgway-deltatre!

@douglasmiller douglasmiller merged commit f2c5780 into recurly:v3-v2021-02-25 Dec 12, 2023
8 of 9 checks passed
recurly-integrations pushed a commit that referenced this pull request Jan 18, 2024
[Full Changelog](4.47.0...4.48.0)

**Merged Pull Requests**

- Generated Latest Changes for v2021-02-25 [#812](#812) ([recurly-integrations](https://github.com/recurly-integrations))
- feat add event handlers to make request async [#811](#811) ([aron-ridgway-deltatre](https://github.com/aron-ridgway-deltatre))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
V4 v2021-02-25 Client
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants