import { DataSourcePluginOptionsEditorProps } from '@grafana/data'; import { DataSourceHttpSettings } from '@grafana/ui'; import { TraceToLogsSettings } from 'app/core/components/TraceToLogsSettings'; import React from 'react'; import { ServiceGraphSettings } from './ServiceGraphSettings'; import { config } from '@grafana/runtime'; import { SearchSettings } from './SearchSettings'; import { NodeGraphSettings } from 'app/core/components/NodeGraphSettings'; export type Props = DataSourcePluginOptionsEditorProps; export const ConfigEditor: React.FC = ({ options, onOptionsChange }) => { return ( <>
{config.featureToggles.tempoServiceGraph && (
)} {config.featureToggles.tempoSearch && (
)}
); };