hypercorn.statsd module

class hypercorn.statsd.StatsdLogger(config: Config)

Bases: hypercorn.logging.Logger

async access(request: dict, response: dict, request_time: float) → None
async critical(message: str, *args: Any, **kwargs: Any) → None
async debug(message: str, *args: Any, **kwargs: Any) → None
async decrement(name: str, value: int, sampling_rate: float = 1.0) → None
async error(message: str, *args: Any, **kwargs: Any) → None
async exception(message: str, *args: Any, **kwargs: Any) → None
async gauge(name: str, value: int) → None
async histogram(name: str, value: float) → None
async increment(name: str, value: int, sampling_rate: float = 1.0) → None
async info(message: str, *args: Any, **kwargs: Any) → None
async log(level: int, message: str, *args: Any, **kwargs: Any) → None
async warning(message: str, *args: Any, **kwargs: Any) → None