grafana/public/app/plugins/datasource/prometheus
gtk-grafana f8d6730134
Metrics: Refactor use of lezer nodes to reference ID instead of name (parsing.ts) (#53177)
* Update public/app/plugins/datasource/prometheus/querybuilder/shared/parsingUtils.ts

Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com>

* Since loki is still passing in node type strings, update the getAllByType shared function to allow string or number types

* add todo to remove string type when last datasource has migrated

Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com>
2022-08-03 09:57:29 -05:00
..
components Loki: Move explain section to builder mode (#52879) 2022-07-29 17:09:43 +02:00
configuration DataSources: refactor datasource pages to be reusable (#51874) 2022-07-20 09:25:09 +02:00
dashboards Prometheus: use TimeSeries instead of Graph in Prometheus 2.0 Stats dashboards (#36120) 2021-07-01 14:08:42 +02:00
img Alerting: Add support to distinguish Prometheus datasource subtypes (Mimir, Cortex and Vanilla Prometheus) (#46771) 2022-04-04 18:30:17 +01:00
querybuilder Metrics: Refactor use of lezer nodes to reference ID instead of name (parsing.ts) (#53177) 2022-08-03 09:57:29 -05:00
add_label_to_query.test.ts Prometheus: Fix support of AdHoc filters for specific queries (#46547) 2022-03-15 17:37:20 +01:00
add_label_to_query.ts remove string constant and use ids provided in lezer-promql library (#53180) 2022-08-03 09:56:32 -05:00
datasource.test.ts ModifyQuery: Improve typing for modifyQuery and query hints (#52326) 2022-07-18 14:13:34 +02:00
datasource.tsx Prometheus: Don't show errors from unsuccessful API checks like rules or exemplar checks (#52193) 2022-07-21 15:45:02 +02:00
language_provider.mock.ts Prometheus: Add title to metrics in the metric select with metric help text (#46406) 2022-03-10 16:58:25 +01:00
language_provider.test.ts Chore: use jest.mocked in favor of type assertions/any (#51156) 2022-06-21 13:47:33 +01:00
language_provider.ts Prometheus: Don't show errors from unsuccessful API checks like rules or exemplar checks (#52193) 2022-07-21 15:45:02 +02:00
language_utils.test.ts Chore: ESlint import order (#44959) 2022-04-22 14:33:13 +01:00
language_utils.ts Chore: ESlint import order (#44959) 2022-04-22 14:33:13 +01:00
legend.test.ts Legend: extract common renderLegendFormat function (loki+prom) (#43054) 2021-12-15 04:19:16 +01:00
legend.ts Legend: extract common renderLegendFormat function (loki+prom) (#43054) 2021-12-15 04:19:16 +01:00
metric_find_query.test.ts Handle scalar and string resultType separately (#51411) 2022-06-29 16:43:33 +02:00
metric_find_query.ts Handle scalar and string resultType separately (#51411) 2022-06-29 16:43:33 +02:00
module.test.ts Prometheus: Cleanup annotation editor (#49615) 2022-05-31 11:50:23 +02:00
module.ts Prometheus: Cleanup annotation editor (#49615) 2022-05-31 11:50:23 +02:00
plugin.json Alerting: Add support to distinguish Prometheus datasource subtypes (Mimir, Cortex and Vanilla Prometheus) (#46771) 2022-04-04 18:30:17 +01:00
promql.test.ts Chore: ESlint import order (#44959) 2022-04-22 14:33:13 +01:00
promql.ts Chore: ESlint import order (#44959) 2022-04-22 14:33:13 +01:00
query_hints.test.ts Chore: ESlint import order (#44959) 2022-04-22 14:33:13 +01:00
query_hints.ts ModifyQuery: Improve typing for modifyQuery and query hints (#52326) 2022-07-18 14:13:34 +02:00
README.md Prettier: Fix all markdown files and add markdown files to CI verify step (#39776) 2021-09-29 14:34:40 +02:00
result_transformer.test.ts Hide datalink button when datasource for exemplar is undefined (#51236) 2022-06-24 15:26:52 +02:00
result_transformer.ts Hide datalink button when datasource for exemplar is undefined (#51236) 2022-06-24 15:26:52 +02:00
types.ts Prometheus/Loki: Show raw query by default in the builder(#50007) 2022-06-02 13:50:10 +02:00
variables.ts Chore: ESlint import order (#44959) 2022-04-22 14:33:13 +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/