|
@@ -151,13 +151,11 @@ function SpanDetailsContent(props: ContentProps) {
|
|
|
// There should always be exactly 1 result
|
|
|
const suspectSpan = suspectSpansResults.suspectSpans[0];
|
|
|
const examples = spanExamplesResults.examples?.[0]?.examples;
|
|
|
- const description = examples?.[0]?.description ?? null;
|
|
|
|
|
|
return (
|
|
|
<Fragment>
|
|
|
<SpanDetailsHeader
|
|
|
spanSlug={spanSlug}
|
|
|
- description={description}
|
|
|
suspectSpan={suspectSpan}
|
|
|
totalCount={totalCount}
|
|
|
/>
|
|
@@ -176,15 +174,15 @@ function SpanDetailsContent(props: ContentProps) {
|
|
|
|
|
|
type HeaderProps = {
|
|
|
spanSlug: SpanSlug;
|
|
|
- description: string | null;
|
|
|
suspectSpan: SuspectSpan;
|
|
|
totalCount: number | null;
|
|
|
};
|
|
|
|
|
|
function SpanDetailsHeader(props: HeaderProps) {
|
|
|
- const {spanSlug, description, suspectSpan, totalCount} = props;
|
|
|
+ const {spanSlug, suspectSpan, totalCount} = props;
|
|
|
|
|
|
const {
|
|
|
+ description,
|
|
|
frequency,
|
|
|
p75ExclusiveTime,
|
|
|
p95ExclusiveTime,
|