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

Link

import type { Link } from "https://googleapis.deno.dev/v1/cloudtrace:v2.ts";

A pointer from the current span to another span in the same trace or in a different trace. For example, this can be used in batching operations, where a single batch handler processes multiple requests from different traces or when the handler receives a request from a different project.

interface Link {
attributes?: Attributes;
spanId?: string;
traceId?: string;
type?: "TYPE_UNSPECIFIED" | "CHILD_LINKED_SPAN" | "PARENT_LINKED_SPAN";
}

§Properties

§
attributes?: Attributes
[src]

A set of attributes on the link. Up to 32 attributes can be specified per link.

§
spanId?: string
[src]

The [SPAN_ID] for a span within a trace.

§
traceId?: string
[src]

The [TRACE_ID] for a trace within a project.

§
type?: "TYPE_UNSPECIFIED" | "CHILD_LINKED_SPAN" | "PARENT_LINKED_SPAN"
[src]

The relationship of the current span relative to the linked span.