mirror of
https://github.com/grafana/grafana.git
synced 2025-07-27 07:52:07 +08:00
AdHocFilters: Add support for new isOneOf
multi value operator (#91837)
* handle oneOf operator in prometheus * use new supportsMultiValueOperators * remap oneOf to regex in prometheus datasource * Remap one of operators for scope filters * use plugin.json property instead of feature toggle * optional chaining * fix unit tests * use getInstanceSettings * update to latest scenes * fix unit tests --------- Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>
This commit is contained in:
@ -308,6 +308,10 @@
|
||||
"type": "boolean",
|
||||
"description": "For data source plugins, if the plugin supports metric queries. Used to enable the plugin in the panel editor."
|
||||
},
|
||||
"multiValueFilterOperators": {
|
||||
"type": "boolean",
|
||||
"description": "For data source plugins, if the plugin supports multi value operators in adhoc filters."
|
||||
},
|
||||
"pascalName": {
|
||||
"type": "string",
|
||||
"description": "[internal only] The PascalCase name for the plugin. Used for creating machine-friendly identifiers, typically in code generation. If not provided, defaults to name, but title-cased and sanitized (only alphabetical characters allowed).",
|
||||
|
Reference in New Issue
Block a user