faust.web.apps.stats

HTTP endpoint showing statistics from the Faust monitor.

class faust.web.apps.stats.Assignment(app: AppT, web: Web)[source]

— description: Cluster assignment information. tags: - Faust produces: - application/json

async get(request: Request) Response[source]

Return current assignment as a JSON response.

Return type:

Response

class faust.web.apps.stats.Stats(app: AppT, web: Web)[source]

— description: Monitor statistics. tags: - Faust produces: - application/json

async get(request: Request) Response[source]

Return JSON response with sensor information.

Return type:

Response