mirror of
https://github.com/grafana/grafana.git
synced 2025-01-09 15:43:23 -06:00
d35f9f7ec2
* Zipkin: Remove browser access mode * Update zipkin.md
22 lines
670 B
TypeScript
22 lines
670 B
TypeScript
import { DataSourcePluginOptionsEditorProps } from '@grafana/data';
|
|
import { DataSourceHttpSettings } from '@grafana/ui';
|
|
import { TraceToLogsSettings } from 'app/core/components/TraceToLogsSettings';
|
|
import React from 'react';
|
|
|
|
export type Props = DataSourcePluginOptionsEditorProps;
|
|
|
|
export const ConfigEditor: React.FC<Props> = ({ options, onOptionsChange }) => {
|
|
return (
|
|
<>
|
|
<DataSourceHttpSettings
|
|
defaultUrl="http://localhost:9411"
|
|
dataSourceConfig={options}
|
|
showAccessOptions={false}
|
|
onChange={onOptionsChange}
|
|
/>
|
|
|
|
<TraceToLogsSettings options={options} onOptionsChange={onOptionsChange} />
|
|
</>
|
|
);
|
|
};
|