Browse Source

Corrected custom prometheus client docs (#11010)

Signed-off-by: Jaseel <12792882+Spikatrix@users.noreply.github.com>
pull/11015/head
Jaseel 2 years ago committed by GitHub
parent
commit
f8c3b0bd1c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      web/ui/module/codemirror-promql/README.md

2
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

Loading…
Cancel
Save