dd-trace
    Preparing search index...

    Interface TraceOptions

    interface TraceOptions {
        links?: { attributes?: Object; context: SpanContext }[];
        measured?: boolean | { [key: string]: boolean };
        resource?: string;
        service?: string;
        type?: string;
    }

    Hierarchy

    • Analyzable
      • TraceOptions
    Index

    Properties

    links?: { attributes?: Object; context: SpanContext }[]

    An array of span links

    measured?: boolean | { [key: string]: boolean }

    Whether to measure the span. Can also be set to a key-value pair with span names as keys and booleans as values for more granular control.

    resource?: string

    The resource you are tracing. The resource name must not be longer than 5000 characters.

    service?: string

    The service you are tracing. The service name must not be longer than 100 characters.

    type?: string

    The type of request.