TracingPluginConstructor interface

Static shape of a TracingPlugin subclass. The statics are how the tracer derives which channels a plugin subscribes to.

Signature:

export interface TracingPluginConstructor 

Properties

Property

Modifiers

Type

Description

component?

string

(Optional) Component tag reported on the plugin's spans.

id?

string

(Optional) Integration name, as passed to tracer.use().

kind?

string

(Optional) Datadog span kind.

operation?

string

(Optional) Operation half, forming the apm:<component>:<operation>:* prefix.

prefix?

string

(Optional) Channel prefix override, when the default is not wanted.

type?

string

(Optional) Datadog span type.

Methods

Method

Description

(new)(args)

Constructs the plugin. Called by the tracer's plugin manager.

Read this page as plain markdown — no HTML, no navigation. For pasting into an LLM, or for an agent to fetch.