grafana/packages/grafana-prometheus
Ashley Harrison 429bcbe67f
Select: Preserve value when allowCustomValue is set (#87843)
* initial working poc with some better types

* move logic inside SelectBase

* add unit tests

* cleaner logic

* simpler

* update comments

* more comments

* use onMenuClose

* undo changes to cleanValue

* fix unit tests

---------

Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>
2024-05-20 11:01:38 +01:00
..
src Select: Preserve value when allowCustomValue is set (#87843) 2024-05-20 11:01:38 +01:00
CHANGELOG.md Prometheus: Library fixes for using in external vendor DS (#82115) 2024-02-16 12:55:39 -06:00
jest.config.js Chore: Add jest config to grafana-prometheus (#86078) 2024-04-12 21:17:53 +02:00
LICENSE_AGPL Prometheus: Library fixes for using in external vendor DS (#82115) 2024-02-16 12:55:39 -06:00
package.json Grafana UI: Bump to Storybook 8 (#87722) 2024-05-15 15:49:00 +02:00
README.md Prometheus: Library fixes for using in external vendor DS (#82115) 2024-02-16 12:55:39 -06:00
rollup.config.ts Prometheus: Library fixes for using in external vendor DS (#82115) 2024-02-16 12:55:39 -06:00
tsconfig.build.json Chore: Remove unused functions form prometheus data source (#86461) 2024-04-19 16:00:26 -04:00
tsconfig.json Prometheus: Create Prometheus library (#81641) 2024-02-02 15:30:14 +01:00

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