mirror of
https://github.com/grafana/grafana.git
synced 2025-07-30 01:52:37 +08:00
Prometheus: Support new info function in code editor (#97850)
* first attempt to have info function * unit test for query modeller * enable info function in devenv * fix unit test * add unit test for info function * throw error when trying to visualize the info function * remove visual query support * Update packages/grafana-prometheus/src/promql.ts Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com> * Update packages/grafana-prometheus/src/querybuilder/parsing.test.ts Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com> * update info function detail --------- Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com>
This commit is contained in:
@ -97,6 +97,7 @@ const functions = [
|
||||
'hour',
|
||||
'idelta',
|
||||
'increase',
|
||||
'info',
|
||||
'irate',
|
||||
'label_join',
|
||||
'label_replace',
|
||||
|
Reference in New Issue
Block a user