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

Pre & post API call logs #56

Closed
davidmytton opened this issue Dec 14, 2023 · 0 comments · Fixed by #70
Closed

Pre & post API call logs #56

davidmytton opened this issue Dec 14, 2023 · 0 comments · Fixed by #70
Assignees

Comments

@davidmytton
Copy link
Contributor

Whilst investigating https://github.com/arcjet/arcjet/issues/561 I found it confusing to understand what remote calls the SDK was making. It logs before it makes a call to the report API, but only logs after it makes a call to the decide API (through the latency log). This made it look like it wasn't making calls to the decide API because I assumed it would log before the decide API call, too.

It would be useful to have 4 log entries, pre and post each API call.

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 a pull request may close this issue.

2 participants