Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface Tracing

Package version

Main interface for tracing.

Hierarchy

  • Tracing

Index

Properties

active

active: boolean

Gets active status

exporter

exporter: Exporter

Service to send collected traces to.

tracer

tracer: TracerBase

Object responsible for managing a trace.

Methods

registerExporter

  • Registers an exporter to send the collected traces to.

    Parameters

    • exporter: Exporter

      The exporter to send the traces to.

    Returns Tracing

    The tracing object.

start

  • start(userConfig?: configTypes.Config): Tracing
  • Starts tracing.

    Parameters

    • Optional userConfig: configTypes.Config

      A configuration object to start tracing.

    Returns Tracing

    The started Tracing instance.

stop

  • stop(): void
  • Stops tracing.

    Returns void

unregisterExporter

  • Unregisters an exporter.

    Parameters

    • exporter: Exporter

      The exporter to stop sending traces to.

    Returns Tracing

Generated using TypeDoc