mirror of
https://github.com/prometheus/prometheus.git
synced 2025-02-21 03:16:00 -08:00
codemirror-promql moved to prometheus org (#9651)
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
This commit is contained in:
parent
9f5ff5b269
commit
17fc57948a
|
@ -11,7 +11,7 @@ branch="repo_sync_codemirror"
|
|||
commit_msg="Update codemirror"
|
||||
pr_title="Synchronize codemirror from prometheus/prometheus"
|
||||
pr_msg="Propagating changes from prometheus/prometheus default branch."
|
||||
target_repo="prometheus-community/codemirror-promql"
|
||||
target_repo="prometheus/codemirror-promql"
|
||||
source_path="web/ui/module/codemirror-promql"
|
||||
|
||||
color_red='\e[31m'
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
CodeMirror-promql
|
||||
=================
|
||||
[](https://circleci.com/gh/prometheus-community/codemirror-promql) [](./LICENSE)
|
||||
[](https://www.npmjs.org/package/codemirror-promql) [](https://codecov.io/gh/prometheus-community/codemirror-promql)
|
||||
[](https://circleci.com/gh/prometheus/codemirror-promql) [](./LICENSE)
|
||||
[](https://www.npmjs.org/package/codemirror-promql) [](https://codecov.io/gh/prometheus/codemirror-promql)
|
||||
|
||||
## Overview
|
||||
|
||||
|
@ -13,7 +13,7 @@ and autocompletion for PromQL ([Prometheus Query Language](https://prometheus.io
|
|||
## Where does it come from?
|
||||
|
||||
The authoritative copy of this code lives in `prometheus/prometheus` and is synced to
|
||||
`prometheus-community/codemirror-promql` on a regular basis by a bot. Please contribute any code changes to the code
|
||||
`prometheus/codemirror-promql` on a regular basis by a bot. Please contribute any code changes to the code
|
||||
in https://github.com/prometheus/prometheus/tree/main/web/ui/module/codemirror-promql.
|
||||
|
||||
### Installation
|
||||
|
@ -222,7 +222,7 @@ const promQL = new PromQLExtension().setComplete({
|
|||
##### Override the default Prometheus client
|
||||
|
||||
In case you are not satisfied by our default Prometheus client, you can still provide your own. It has to implement the
|
||||
interface [PrometheusClient](https://github.com/prometheus-community/codemirror-promql/blob/master/src/lang-promql/client/prometheus.ts#L111-L117)
|
||||
interface [PrometheusClient](https://github.com/prometheus/codemirror-promql/blob/master/src/lang-promql/client/prometheus.ts#L111-L117)
|
||||
.
|
||||
|
||||
```typescript
|
||||
|
@ -246,4 +246,4 @@ Note: In case this parameter is provided, then the rest of the configuration is
|
|||
|
||||
## License
|
||||
|
||||
Apache License 2.0, see [LICENSE](https://github.com/prometheus-community/codemirror-promql/blob/master/LICENSE).
|
||||
Apache License 2.0, see [LICENSE](https://github.com/prometheus/codemirror-promql/blob/master/LICENSE).
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/prometheus-community/codemirror-promql.git"
|
||||
"url": "git+https://github.com/prometheus/codemirror-promql.git"
|
||||
},
|
||||
"keywords": [
|
||||
"promql",
|
||||
|
@ -27,9 +27,9 @@
|
|||
"author": "Prometheus Authors <prometheus-developers@googlegroups.com>",
|
||||
"license": "Apache-2.0",
|
||||
"bugs": {
|
||||
"url": "https://github.com/prometheus-community/codemirror-promql/issues"
|
||||
"url": "https://github.com/prometheus/codemirror-promql/issues"
|
||||
},
|
||||
"homepage": "https://github.com/prometheus-community/codemirror-promql/blob/master/README.md",
|
||||
"homepage": "https://github.com/prometheus/codemirror-promql/blob/master/README.md",
|
||||
"dependencies": {
|
||||
"lru-cache": "^6.0.0"
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue