From f8c3b0bd1c7e8b6ddc7f499609f70821ad5934c8 Mon Sep 17 00:00:00 2001 From: Jaseel <12792882+Spikatrix@users.noreply.github.com> Date: Wed, 13 Jul 2022 14:21:51 +0530 Subject: [PATCH] Corrected custom prometheus client docs (#11010) Signed-off-by: Jaseel <12792882+Spikatrix@users.noreply.github.com> --- web/ui/module/codemirror-promql/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/ui/module/codemirror-promql/README.md b/web/ui/module/codemirror-promql/README.md index 6d887ab2fb..441a81315b 100644 --- a/web/ui/module/codemirror-promql/README.md +++ b/web/ui/module/codemirror-promql/README.md @@ -217,7 +217,7 @@ interface [PrometheusClient](https://github.com/prometheus/codemirror-promql/blo . ```typescript -const promQL = new PromQLExtension().setComplete({remote: {prometheusClient: MyPrometheusClient}}) +const promQL = new PromQLExtension().setComplete({remote: MyPrometheusClient}) ``` #### Provide your own implementation of the autocompletion