Menu

Important: This documentation is about an older version. It's relevant only to the release noted, many of the features and functions have been updated or replaced. Please view the current version.

Enterprise Open source

TraceSpanRow interface

This describes the structure of the dataframe that should be returned from a tracing data source to show trace in a TraceView component.

Signature

typescript
export interface TraceSpanRow 

Import

typescript
import { TraceSpanRow } from '@grafana/data';

Properties

PropertyTypeDescription
durationnumber
errorIconColorstring
logsTraceLog[]
operationNamestring
parentSpanIDstring | undefined
referencesTraceSpanReference[]
serviceNamestring
serviceTagsTraceKeyValuePair[]
spanIDstring
stackTracesstring[]
startTimenumber
tagsTraceKeyValuePair[]
traceIDstring
warningsstring[]

duration property

Signature

typescript
duration: number;

errorIconColor property

Signature

typescript
errorIconColor?: string;

logs property

Signature

typescript
logs?: TraceLog[];

operationName property

Signature

typescript
operationName: string;

parentSpanID property

Signature

typescript
parentSpanID: string | undefined;

references property

Signature

typescript
references?: TraceSpanReference[];

serviceName property

Signature

typescript
serviceName: string;

serviceTags property

Signature

typescript
serviceTags: TraceKeyValuePair[];

spanID property

Signature

typescript
spanID: string;

stackTraces property

Signature

typescript
stackTraces?: string[];

startTime property

Signature

typescript
startTime: number;

tags property

Signature

typescript
tags?: TraceKeyValuePair[];

traceID property

Signature

typescript
traceID: string;

warnings property

Signature

typescript
warnings?: string[];