Metrics
MetricsServer
Methods
on_worker_stop()
on_worker_stop(worker: Worker) -> Nonestart()
start()stop()
stop(sig: Optional[int] = None)configure_metrics()
configure_metrics(settings: Settings)No description available.
log()
log(metrics)Logs a new set of metric values. Each kwarg of this method will be treated as a separate metric / value pair. If any of the metrics does not exist, a new one will be created with a default description.
register()
register(name: str, description: str) -> HistogramRegisters a new metric with its description. If the metric already exists, it will just return the existing one.
Last updated
Was this helpful?
