faust.web.apps.stats
HTTP endpoint showing statistics from the Faust monitor.
-
class
faust.web.apps.stats.
Stats
(app: faust.types.app.AppT, web: faust.web.base.Web) → None[source]
Monitor statistics.
-
async
get
(request: faust.web.base.Request) → faust.web.base.Response[source]
Return JSON response with sensor information.
- Return type
Response
-
class
faust.web.apps.stats.
Assignment
(app: faust.types.app.AppT, web: faust.web.base.Web) → None[source]
Cluster assignment information.
-
async
get
(request: faust.web.base.Request) → faust.web.base.Response[source]
Return current assignment as a JSON response.
- Return type
Response