You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use sentry-sdk to catch any errors in my project and I also use niquests, lately I have been seeing one CDN domain keep timing out when I request it with niquest's AsyncSession via HTTP/2, currently it shows like this:
But if you can provide a nice __repr__ method to AsyncPoolManager (and maybe other public classes) which return some useful info for debugging purposes, then sentry-sdk can utilize and print that nice repr which helps debug the issue faster. 😄
Example where sentry shows nice repr if the object has it:
I will be submitting same feature request to niquests repo for niquests.AsyncHTTPAdapter.
How do you expect to do it?
Is it something you currently cannot do?
Is this related to an existing issue/problem?
Alternatives
Can you achieve the same result doing it in an alternative way?
Is the alternative considerable?
Not sure.
Duplicate
Has the feature been requested before?
If so, please provide a link to the issue.
Not from my search in repo's issues.
Contribution
Would you be willing to submit a PR? (Help can be provided if you need assistance submitting a PR)
Sure.
The text was updated successfully, but these errors were encountered:
Define to us your day to day needs, so that we start by trying resolving an existing pain. Then we'll think of what could be added on top. Of course, we'll need the sync counter part to be included.
Feel free to start a draft PR, I will assist and provide guidance (if necessary).
Context
What are you trying to do?
Hello cool person,
I use sentry-sdk to catch any errors in my project and I also use niquests, lately I have been seeing one CDN domain keep timing out when I request it with niquest's AsyncSession via HTTP/2, currently it shows like this:
![image](https://private-user-images.githubusercontent.com/24418520/402322954-d757cb49-4f29-4617-a996-3059ace5aa11.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkzNDU3NjQsIm5iZiI6MTczOTM0NTQ2NCwicGF0aCI6Ii8yNDQxODUyMC80MDIzMjI5NTQtZDc1N2NiNDktNGYyOS00NjE3LWE5OTYtMzA1OWFjZTVhYTExLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTIlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjEyVDA3MzEwNFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWZlMDY2ZjY1Mjk2MDM2NDg4Mjc5NzgxZGNlMDAzYjdlNzhiNWQxZGQzZmQ3MzUxZTBiMGE0N2VlOGYzMTIwOTcmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.Zfp6_pq8TK8YcuNz1XIFUHH1TCo27C-mSiud1GMkYUA)
But if you can provide a nice
__repr__
method toAsyncPoolManager
(and maybe other public classes) which return some useful info for debugging purposes, then sentry-sdk can utilize and print that nice repr which helps debug the issue faster. 😄Example where sentry shows nice repr if the object has it:
![image](https://private-user-images.githubusercontent.com/24418520/402323599-0e20e517-ee65-461b-8e93-62f301d54879.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkzNDU3NjQsIm5iZiI6MTczOTM0NTQ2NCwicGF0aCI6Ii8yNDQxODUyMC80MDIzMjM1OTktMGUyMGU1MTctZWU2NS00NjFiLThlOTMtNjJmMzAxZDU0ODc5LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTIlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjEyVDA3MzEwNFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTQ1ODNkOWYxODAyODMwY2I5MjhhMjkwMTk5ZDlhMWY5ODkyMjk4ZWJmYjE4OTJhM2E0ZjgyOTIzNWExMDIzNjkmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.wcP79bDDzh-aiSIKsM6JsrDSYka_1VllDZQP6NyIMPE)
I will be submitting same feature request to niquests repo for
niquests.AsyncHTTPAdapter
.How do you expect to do it?
Is it something you currently cannot do?
Is this related to an existing issue/problem?
Alternatives
Can you achieve the same result doing it in an alternative way?
Is the alternative considerable?
Not sure.
Duplicate
Has the feature been requested before?
If so, please provide a link to the issue.
Not from my search in repo's issues.
Contribution
Would you be willing to submit a PR?
(Help can be provided if you need assistance submitting a PR)
Sure.
The text was updated successfully, but these errors were encountered: