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

StatsD latency numbers too low when using gaiohttp workers #1343

Closed
nate-opti opened this issue Aug 29, 2016 · 2 comments
Closed

StatsD latency numbers too low when using gaiohttp workers #1343

nate-opti opened this issue Aug 29, 2016 · 2 comments

Comments

@nate-opti
Copy link

With gaiohtp workers, gunicorn.request.duration seems to be off by a factor of 1,000,000:

For a request that takes 5 seconds to complete, gunicorn will send StatsD the value 0.005, rather than the expected 5,000

With synchronous workers, StatsD receives the expected value of 5,000

Possibily related to #1300, and the linked aiohttp access log format issue.

Using Pyramid and Python 3.5

@nate-opti
Copy link
Author

Actually just tested this with a patched version of aiohttp that includes this commit: aio-libs/aiohttp#1117

And the same issue is present, so maybe not related to access log parsing.

@benoitc
Copy link
Owner

benoitc commented Nov 22, 2019

closing since this worker is not part any more from gunicorn .

@benoitc benoitc closed this as completed Nov 22, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants