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

Implement support for httptrace debugging feature #45

Open
remyleone opened this issue Mar 26, 2021 · 3 comments
Open

Implement support for httptrace debugging feature #45

remyleone opened this issue Mar 26, 2021 · 3 comments
Labels
enhancement New feature or request

Comments

@remyleone
Copy link

remyleone commented Mar 26, 2021

Description

As a plugin developer, I would like to have support for sending httptrace debugging information.
As a first step, printing the different steps of the HTTP transaction could be a good start to help plugin developpers.
As a second step, those logs could be sent to a dedicated log service (but that seems overkill for the first iteration).
This could leave inside the communicator code (plugin-sdk).

Use Case(s)

This could be useful to see if an HTTP request gets stuck where it is stuck exactly.

Potential References

@remyleone remyleone added the enhancement New feature or request label Mar 26, 2021
@azr
Copy link
Contributor

azr commented Mar 29, 2021

Hey @remyleone, thanks for opening !
Just to clarify, that httptrace debugging information, you would like to print it for debugging purpose ? Or, send it somewhere?

@remyleone
Copy link
Author

remyleone commented Mar 29, 2021

Updated :) as a first step, printing it is fine. The main goal is to identify problems like slow DNS resolution or retries that are too numerous.

@azr
Copy link
Contributor

azr commented Mar 29, 2021

Gotcha ! Yeah, I think this would be a good idea; we could propose a http package in the SDK that gives a function that returns a httptrace.ClientTrace{.

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

No branches or pull requests

2 participants