ubuntu 14.10, python3.4, uwsgi in virtualenv using pip install uwsgi
uwsgi --plugin-list 2>&1| grep stats
stats_pusher_socket
stats_pusher_statsd seems to be missing.
strings venv/bin/uwsgi | grep statsd
How can I get it?
UWSGI_EMBED_PLUGINS=stats_pusher_statsd pip install uwsgi
afair stats_pusher_statsd has never been part of the default build profile
Thanks, now it works.
@Fiedzia this still doesn't work for me in the latest uwsgi
This could be caused by a cached uwsgi wheel without the plugin built in (since the pip caching algorithm doesn't know about the arbitrary envvar).
Try with UWSGI_EMBED_PLUGINS=stats_pusher_statsd pip install --no-cache-dir uwsgi, maybe, or --no-use-wheel?
I just confirmed that the uwsgi wheel for a given version will get cached with whatever features happen to be compiled-in upon the first installation-and-wheel-caching.
For instance, if you've installed uWSGI 9.999 with the UWSGI_EMBED_PLUGINS=stats_pusher_on_the_street_corner flags, subsequent installations of the same version, with or without any envvar flags, will naturally use the same cached wheel even if the options differ. Using --no-cache-dir will naturally counter this, though obviously you won't be able to enjoy the benefits of the cached wheel or source tarball. Using --no-use-wheel (or its more modern analogue --no-binary uwsgi) will help too, but being less drastic.
Most helpful comment
@Fiedzia this still doesn't work for me in the latest uwsgi