mirror of
https://github.com/grafana/grafana.git
synced 2025-07-29 21:32:28 +08:00
34 lines
735 B
Markdown
34 lines
735 B
Markdown
+++
|
|
# -----------------------------------------------------------------------
|
|
# Do not edit this file. It is automatically generated by API Documenter.
|
|
# -----------------------------------------------------------------------
|
|
title = "Trace"
|
|
keywords = ["grafana","documentation","sdk","@grafana/data"]
|
|
type = "docs"
|
|
+++
|
|
|
|
## Trace type
|
|
|
|
### Trace type
|
|
|
|
<b>Signature</b>
|
|
|
|
```typescript
|
|
export declare type Trace = TraceData & {
|
|
duration: number;
|
|
endTime: number;
|
|
spans: TraceSpan[];
|
|
startTime: number;
|
|
traceName: string;
|
|
services: Array<{
|
|
name: string;
|
|
numberOfSpans: number;
|
|
}>;
|
|
};
|
|
```
|
|
<b>Import</b>
|
|
|
|
```typescript
|
|
import { Trace } from '@grafana/data';
|
|
```
|