# salt.modules.uwsgi

uWSGI stats server https://uwsgi-docs.readthedocs.io/en/latest/StatsServer.html

maintainer:

  Peter Baumgartner <pete@lincolnloop.com>

maturity:

  new

platform:

  all

salt.modules.uwsgi.stats(socket)

  Return the data from uwsgi --connect-and-read as a dictionary.

  socket

    The socket the uWSGI stats server is listening on

  CLI Example:

      salt '*' uwsgi.stats /var/run/mystatsserver.sock

      salt '*' uwsgi.stats 127.0.0.1:5050