* 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
Name |
Last commit
|
Last Update |
---|---|---|
.. | ||
core | Loading commit data... | |
features | Loading commit data... | |
partials | Loading commit data... | |
plugins | Loading commit data... | |
routes | Loading commit data... | |
store | Loading commit data... | |
types | Loading commit data... | |
app.ts | Loading commit data... | |
dev.ts | Loading commit data... | |
index.ts | Loading commit data... |