-
Notifications
You must be signed in to change notification settings - Fork 26
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 request telemetry for go sdk #133
Add request telemetry for go sdk #133
Conversation
Thank you @sanchayata-jain-cko, I will review it asap |
Thank you @sanchayata-jain-cko I will check it in a beta branch |
f669aba
into
checkout:beta/add-telemetry-by-sanchayata-jain-cko
@@ -216,6 +216,20 @@ The execution of integration tests require the following environment variables s | |||
* For default account systems (OAuth): `CHECKOUT_DEFAULT_OAUTH_CLIENT_ID` & `CHECKOUT_DEFAULT_OAUTH_CLIENT_SECRET` | |||
* For Previous account systems (ABC): `CHECKOUT_PREVIOUS_PUBLIC_KEY` & `CHECKOUT_PREVIOUS_SECRET_KEY` | |||
|
|||
## Telemetry | |||
Request telementry is enabled by default in the Go SDK. Request latency is included in the telemetry data. Recording the request latency allows Checkout.com to continuously monitor and imporove the merchant experience. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we add a note saying the information is sent back in the header? That would make it clear that the SDK is not using any additional resources (e.g. making another HTTP call) to pass back the telemetry data
* adding telemetry for requests * add test for request metrics queue * tidied test * give option to enable telemetry in invoke function as well * add integration test for telemetry * seperate sending http request into seperate function * add readme for telemetry * fixed formatting in readme * fixed whitespace
* adding telemetry for requests * add test for request metrics queue * tidied test * give option to enable telemetry in invoke function as well * add integration test for telemetry * seperate sending http request into seperate function * add readme for telemetry * fixed formatting in readme * fixed whitespace
* adding telemetry for requests * add test for request metrics queue * tidied test * give option to enable telemetry in invoke function as well * add integration test for telemetry * seperate sending http request into seperate function * add readme for telemetry * fixed formatting in readme * fixed whitespace Co-authored-by: sanchayata-jain-cko <[email protected]>
Measures and adds request latency telemetry by default
Users can opt-out of measuring telemetry