Tracing: Upgrade tracing data source configuration editors (#68764)

* Add tracing config sub sections

* Export common sections and update divider in additional settings section

* Max width and margin bottom

* Add feature name to config link

* Update SpanBarSettings

* remove import
This commit is contained in:
Joey
2023-06-01 15:52:40 +01:00
committed by GitHub
parent e5ec8535ec
commit 0e90dfcc9c
17 changed files with 352 additions and 193 deletions

View File

@@ -3,7 +3,6 @@ import React from 'react';
import { DataSourcePluginOptionsEditorProps, updateDatasourcePluginJsonDataOption } from '@grafana/data';
import { DataSourcePicker } from '@grafana/runtime';
import { Button, InlineField, InlineFieldRow, useStyles2 } from '@grafana/ui';
import { DocsLinkButton } from 'app/core/components/DocsLinkButton';
import { TempoJsonData } from '../types';
@@ -16,13 +15,6 @@ export function ServiceGraphSettings({ options, onOptionsChange }: Props) {
return (
<div className={styles.container}>
<h3 className="page-heading">Service graph</h3>
<div className={styles.infoText}>
Select a Prometheus data source that contains the service graph data
<DocsLinkButton hrefSuffix="tempo/#service-graph" />
</div>
<InlineFieldRow className={styles.row}>
<InlineField
tooltip="The Prometheus data source with the service graph data"