{{ title }}

{{ message }}

Running with a specific app

Start the monitor with a valid Pynenc app instance:

pynenc --app your_app.py monitor
Using app discovery from state backends

You can also run the monitor without specifying an app by configuring a state backend:

Environment Variables
PYNENC__STATE_BACKEND_CLS=RedisStateBackend \
PYNENC__REDIS_HOST=localhost \
PYNENC__REDIS_PORT=6379 \
pynenc monitor
Configuration File (pyproject.toml)
[tool.pynenc]
state_backend_cls = "RedisStateBackend"

[tool.pynenc.redis]
host = "localhost"
port = 6379

The monitor will attempt to discover apps registered in the configured state backend. For more information, refer to the Pynenc documentation on configuration options.