mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Tracing: Add links to documentation in config pages (#66442)
Add links to documentation in config pages and clean up styles
This commit is contained in:
@@ -9,6 +9,7 @@ import {
|
||||
updateDatasourcePluginJsonDataOption,
|
||||
} from '@grafana/data';
|
||||
import { InlineField, InlineFieldRow, Input, Select, useStyles2 } from '@grafana/ui';
|
||||
import { DocsLinkButton } from 'app/core/components/DocsLinkButton';
|
||||
|
||||
export interface SpanBarOptions {
|
||||
type?: string;
|
||||
@@ -34,7 +35,8 @@ export default function SpanBarSettings({ options, onOptionsChange }: Props) {
|
||||
<h3 className="page-heading">Span bar</h3>
|
||||
|
||||
<div className={styles.infoText}>
|
||||
Add additional info next to the service and operation on a span bar row in the trace view.
|
||||
Add additional info next to the service and operation on a span bar row in the trace view
|
||||
<DocsLinkButton hrefSuffix={`${options.type}/#span-bar`} />
|
||||
</div>
|
||||
|
||||
<InlineFieldRow className={styles.row}>
|
||||
@@ -88,7 +90,6 @@ const getStyles = (theme: GrafanaTheme2) => ({
|
||||
padding-bottom: ${theme.spacing(2)};
|
||||
color: ${theme.colors.text.secondary};
|
||||
`,
|
||||
|
||||
row: css`
|
||||
label: row;
|
||||
align-items: baseline;
|
||||
|
||||
Reference in New Issue
Block a user