Skip to main content

stats

Request worker statistics/information.

def stats(
state: object,
**kwargs: any
) - > dict

Request worker statistics/information.

Parameters

NameTypeDescription
stateobjectThe current application state object containing the consumer and controller instances
**kwargsanyAdditional keyword arguments passed to the stats request

Returns

TypeDescription
dictA dictionary containing detailed internal metrics and state information from the worker's controller