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

request for including statsd plugin #15

Closed
sandys opened this issue Jul 20, 2018 · 6 comments
Closed

request for including statsd plugin #15

sandys opened this issue Jul 20, 2018 · 6 comments

Comments

@sandys
Copy link

sandys commented Jul 20, 2018

Issue:
Statsd is the most popular tool for reporting metrics from uwsgi. The plugin is optionally built in uwsgi by using a build flag "UWSGI_EMBED_PLUGINS=stats_pusher_statsd" while doing pip install. However, uwsgi builds have a lot of issues in linux (e.g. unbit/uwsgi#1516). It would be a huge help if conda could include this.

in fact, the common advice given when installing uwsgi inside anaconda installation is to NOT build it and use the provided conda package. unbit/uwsgi#1770

ocefpaf added a commit that referenced this issue Jul 20, 2018
@sandys
Copy link
Author

sandys commented Jul 20, 2018

you're awesome!
thank you so much.

@ocefpaf
Copy link
Member

ocefpaf commented Jul 20, 2018

I'm not a user of uwsgi so I did not add a test for the plugin b/c I have no idea how it is supposed to work. If you can come up with a quick and simple test please let me know.

@sandys
Copy link
Author

sandys commented Jul 20, 2018

hi,
I dont know how to format it for conda-forge, but its pretty simple conceptually

~/Code/miniconda3/bin/uwsgi --plugin-list                                                                                                  git:(apiv5) ✗ 

*** uWSGI loaded generic plugins ***
gevent
nagios
rrdtool
carbon
corerouter
fastrouter
http
ugreen
syslog
rsyslog
logsocket
router_uwsgi
router_redirect
router_basicauth
zergpool
redislog
mongodblog
router_rewrite
router_http
logfile
router_cache
rawrouter
router_static
sslrouter
cheaper_busyness
transformation_tofile
transformation_gzip
transformation_chunked
transformation_offload
router_memcached
router_redis
router_hash
router_expires
router_metrics
transformation_template
stats_pusher_socket

*** uWSGI loaded request plugins ***
0: python
17: spooler
18: symcall
100: ping
110: signal
111: cache
173: rpc
--- end of plugins list ---


statsd will show up there.

@ocefpaf
Copy link
Member

ocefpaf commented Jul 20, 2018

Thanks. That works!

@sandys
Copy link
Author

sandys commented Jul 20, 2018 via email

@ocefpaf
Copy link
Member

ocefpaf commented Jul 20, 2018

Our README is auto-generate and mostly boilerplate stuff :-/

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

No branches or pull requests

2 participants