mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Trace to logs: Only show loki and splunk datasources in settings (#48723)
This commit is contained in:
parent
b35ca8c08d
commit
08bee1e682
@ -47,7 +47,10 @@ export function TraceToLogsSettings({ options, onOptionsChange }: Props) {
|
||||
<InlineField tooltip="The data source the trace is going to navigate to" label="Data source" labelWidth={26}>
|
||||
<DataSourcePicker
|
||||
inputId="trace-to-logs-data-source-picker"
|
||||
logs
|
||||
filter={(ds) => {
|
||||
// Trace to logs only supports loki and splunk at the moment
|
||||
return ds.type === 'loki' || ds.type === 'grafana-splunk-datasource';
|
||||
}}
|
||||
current={options.jsonData.tracesToLogs?.datasourceUid}
|
||||
noDefault={true}
|
||||
width={40}
|
||||
|
Loading…
Reference in New Issue
Block a user