Interface Telemetry<Context>

Telemetry interface

This interface allows third-party libraries to integrate their own telemetry system. The interface is heavily inspired by OpenTelemetry but it's not limited to it.

interface Telemetry<Context> {
    contextManager: ContextManager<any>;
    tracer: Tracer<Context>;
}

Type Parameters

  • Context = any

Properties

contextManager: ContextManager<any>

Context manager instance

The context manager is responsible for managing the context and propagating it across the application.

tracer: Tracer<Context>

Tracer instance

The tracer is responsible for creating spans and propagating the context across the application.

Generated using TypeDoc