mirror of
https://github.com/grafana/grafana.git
synced 2025-07-31 19:22:34 +08:00

* convert it to functional component * useReducer * usePromQueryFieldEffects * clean up the code * remove localStorage provider * introduce usePromQueryFieldEffects.test.ts * simpler state management * remove mocks * linting + betterer * Split PrometheusMetricsBrowser into small functional components * prettier
Grafana Prometheus Library
@grafana/prometheus is currently in ALPHA.
@grafana/prometheus is a collection of components used to build a Prometheus data source plugin in Grafana.
See package source for more details.
Installation
yarn add @grafana/prometheus
npm install @grafana/prometheus