mirror of
https://github.com/grafana/grafana.git
synced 2026-08-12 22:25:04 -05:00
CloudMonitor: Show template variables by default (#68331)
CloudMonitor: show template variables by default
This commit is contained in:
+7
-1
@@ -257,7 +257,13 @@ export function Editor({
|
||||
onChange={onMetricTypeChange}
|
||||
value={[...metrics, ...variableOptionGroup.options].find((s) => s.value === metricType)}
|
||||
loadOptions={debounceFilter}
|
||||
defaultOptions={metrics.slice(0, 100)}
|
||||
defaultOptions={[
|
||||
{
|
||||
label: 'Template Variables',
|
||||
options: variableOptionGroup.options,
|
||||
},
|
||||
...metrics.slice(0, 100),
|
||||
]}
|
||||
placeholder="Select Metric"
|
||||
inputId={`${refId}-select-metric`}
|
||||
disabled={service === ''}
|
||||
|
||||
Reference in New Issue
Block a user