mirror of
https://github.com/grafana/grafana.git
synced 2025-02-20 11:48:34 -06:00
* Jaeger: Remove browser access mode * Apply suggestions from code review Co-authored-by: Ursula Kallio <73951760+osg-grafana@users.noreply.github.com> * Update docs/sources/datasources/jaeger.md Co-authored-by: Ursula Kallio <73951760+osg-grafana@users.noreply.github.com> Co-authored-by: Ursula Kallio <73951760+osg-grafana@users.noreply.github.com>
22 lines
671 B
TypeScript
22 lines
671 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:16686"
|
|
dataSourceConfig={options}
|
|
showAccessOptions={false}
|
|
onChange={onOptionsChange}
|
|
/>
|
|
|
|
<TraceToLogsSettings options={options} onOptionsChange={onOptionsChange} />
|
|
</>
|
|
);
|
|
};
|