diff --git a/docs/examples/plugins/prometheus/using_prometheus_exporter_with_extra_configs.py b/docs/examples/plugins/prometheus/using_prometheus_exporter_with_extra_configs.py index c5fa25b569..913d93748e 100644 --- a/docs/examples/plugins/prometheus/using_prometheus_exporter_with_extra_configs.py +++ b/docs/examples/plugins/prometheus/using_prometheus_exporter_with_extra_configs.py @@ -38,7 +38,7 @@ def custom_exemplar(request: Request[Any, Any, Any]) -> Dict[str, str]: app_name="litestar-example", prefix="litestar", labels=extra_labels, - buckets=buckets, # pyright: ignore[reportArgumentType] + buckets=buckets, # pyright: ignore[reportArgumentType] exemplars=custom_exemplar, excluded_http_methods=["POST"], ) diff --git a/docs/usage/metrics/prometheus.rst b/docs/usage/metrics/prometheus.rst index bd8dfd2c55..49db6555a0 100644 --- a/docs/usage/metrics/prometheus.rst +++ b/docs/usage/metrics/prometheus.rst @@ -26,4 +26,3 @@ You can also customize the configuration: .. literalinclude:: /examples/plugins/prometheus/using_prometheus_exporter_with_extra_configs.py :language: python :caption: Configuring the Prometheus Exporter -