grafana/public
Andreas Opferkuch de0e1b2c58
Prometheus: Add off switch for metric/label name lookup (#24034)
* Prometheus: Add off switch for metric/label name lookup

This will help users with amounts of metric name
data that is too much for a browser to handle.

Autocomplete will be disabled and metrics chooser hidden,
since obviously both rely on this data.

Fixes #22702

* Use onUpdateDatasourceJsonDataOptionChecked

... from `@grafana/data`. Refactor naming to faciliate its
use and stick with prop names as passed down from
`ConfigEditor`.

PLUS:
- Rephrase switch label, add a tooltip and reduce the
size of the to what "Custom query parameters" originally
was.
- Change `languageProvider` type in `PromQueryField`.

* Put language provider back in

Functions and history still work, even when metrics
lookup gets disabled.
Also: Rewording of setting.

* Display a message when lookup got disabled manually

* Call property for setting disableMetricsLookup

* Show disabled metrics chooser instead of warning
2020-05-05 18:02:55 +02:00
..
app Prometheus: Add off switch for metric/label name lookup (#24034) 2020-05-05 18:02:55 +02:00
dashboards Typescript: null check fixes, and news panel fix (#21595) 2020-01-19 19:16:31 +01:00
e2e-test/screenShots/theOutput Migration: Migrate Dashboard Import to React (#22338) 2020-03-31 16:29:44 +02:00
e2e-tests/videos FieldOverrides: Move FieldConfigSource from fieldOptions to PanelModel.fieldConfig (#22600) 2020-03-19 11:50:31 +01:00
emails Emails: Update notification templates (#19662) 2019-10-31 10:33:33 -07:00
fonts Chore: fix modes for non-executable files (#16864) 2019-05-03 09:51:53 +02:00
img LoginPage: New design (#23892) 2020-05-04 21:14:37 +02:00
sass LoginPage: New design (#23892) 2020-05-04 21:14:37 +02:00
test Transforms: Adds beta notice and updates transform descriptions (#24158) 2020-05-04 15:05:31 +02:00
vendor DateTime: adding support to select preferred timezone for presentation of date and time values. (#23586) 2020-04-27 15:28:06 +02:00
views @grafana/ui: Replace various icons using Icon component (#23442) 2020-04-12 22:20:02 +02:00
robots.txt add support for robots.txt file 2015-06-15 19:02:38 -04:00