Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

Span

import type { Span } from "https://googleapis.deno.dev/v1/ces:v1.ts";

A span is a unit of work or a single operation during the request processing.

interface Span {
readonly attributes?: {
[key: string]: any;
}
;
readonly childSpans?: Span[];
readonly duration?: number;
readonly endTime?: Date;
readonly name?: string;
readonly startTime?: Date;
}

§Properties

§
readonly attributes?: {
[key: string]: any;
}
[src]

Output only. Key-value attributes associated with the span.

§
readonly childSpans?: Span[]
[src]

Output only. The child spans that are nested under this span.

§
readonly duration?: number
[src]

Output only. The duration of the span.

§
readonly endTime?: Date
[src]

Output only. The end time of the span.

§
readonly name?: string
[src]

Output only. The name of the span.

§
readonly startTime?: Date
[src]

Output only. The start time of the span.