grafana/public/app/plugins/datasource/prometheus
Piotr Jamróz dd095642e2
Prometheus: Use fuzzy string matching to autocomplete metric names and label (#32207)
* Fuzzy search prototype

* Aggregate filter and sorting functions for auto-complete suggestions

* Add a test for fuzzy search

* Simplify setting fuzzy search information

* Rename SimpleHighlighter

* Test PartialHighlighter

* Add PartialHighlighter snapshot

* Simplify PartialHighlighter

* Revert env change

* Clean up the code

* Add fuzzy search for labels

* Bring back backwards compatiblity

* Expose search function type only

* Update docs

* Covert snapshot test to assertions

* Fix docs

* Fix language provider test

* Add a test for autocomplete logic

* Clean up

* Mock Editor functions

* Add fuzzy search to Prometheus labels

* Add docs about backwards compatibility

* Simplify main fuzzy search loop
2021-04-16 17:06:33 +02:00
..
components Prometheus: Fix instant query to run two times when exemplars enabled (#32508) 2021-04-06 18:35:00 +02:00
configuration Emotion: Upgrades emotion from 10 to 11 and updates all import paths (#32541) 2021-04-01 14:15:23 +02:00
dashboards prometheus grafana dashboard: use newer info metric (#27240) 2020-09-24 21:10:57 +02:00
img docs: updated whatsnew 2018-01-31 09:41:49 +01:00
partials Prometheus: Add tooltip to explain possibility to use patterns in text and title fields in annotations (#30825) 2021-02-02 20:59:02 +01:00
add_label_to_query.test.ts Prometheus: Fix issues with ad-hoc filters (#30931) 2021-02-10 14:02:42 +01:00
add_label_to_query.ts Prometheus: Fix issues with ad-hoc filters (#30931) 2021-02-10 14:02:42 +01:00
datasource.test.ts Prometheus: Fix instant query to run two times when exemplars enabled (#32508) 2021-04-06 18:35:00 +02:00
datasource.ts Prometheus: Show only graph for range queries in Explore (#32489) 2021-04-07 13:38:47 +02:00
language_provider.test.ts Prometheus: Use fuzzy string matching to autocomplete metric names and label (#32207) 2021-04-16 17:06:33 +02:00
language_provider.ts Prometheus: Use fuzzy string matching to autocomplete metric names and label (#32207) 2021-04-16 17:06:33 +02:00
language_utils.test.ts Prometheus: Fix autocomplete does not work on incomplete input (#29854) 2021-01-08 18:31:21 +01:00
language_utils.ts Loki: Remove $__rate_interval from LogQL autocomplete (#31825) 2021-03-11 09:26:15 +01:00
metric_find_query.test.ts Chore: Remove angular dependency from data sources (#27735) 2020-10-01 18:51:23 +01:00
metric_find_query.ts Prettier: Upgrade to 2 (#30387) 2021-01-20 07:59:48 +01:00
module.test.ts Prometheus: Fixes default step value for annotation query (#21934) 2020-02-05 16:40:37 +01:00
module.ts Dashboards: Adds cheat sheet toggle to supported query editors (#28857) 2021-01-19 23:52:09 +01:00
plugin.json Allows posting to prom rules endpoints via ds_proxy (#32946) 2021-04-14 13:06:20 -04:00
promql.test.ts Loki, Prometheus: Fix PromQL and LogQL syntax highlighting (#21944) 2020-02-12 15:45:36 +01:00
promql.ts Prometheus: Use fuzzy string matching to autocomplete metric names and label (#32207) 2021-04-16 17:06:33 +02:00
query_hints.test.ts Prettier: Upgrade to 2 (#30387) 2021-01-20 07:59:48 +01:00
query_hints.ts Prettier: Upgrade to 2 (#30387) 2021-01-20 07:59:48 +01:00
README.md plugins: update meta data for all core plugins 2018-02-15 16:50:38 +01:00
result_transformer.test.ts Prometheus: align exemplars check to latest api change (#32513) 2021-03-30 19:34:08 +02:00
result_transformer.ts Prometheus: Show only graph for range queries in Explore (#32489) 2021-04-07 13:38:47 +02:00
types.ts Prometheus: align exemplars check to latest api change (#32513) 2021-03-30 19:34:08 +02:00
variables.ts Prettier: Upgrade to 2 (#30387) 2021-01-20 07:59:48 +01:00

Prometheus Data Source - Native Plugin

Grafana ships with built in support for Prometheus, the open-source service monitoring system and time series database.

Read more about it here:

http://docs.grafana.org/datasources/prometheus/