Skip to content 

@fluidframework/telemetry-utils Package

Packages > @fluidframework/telemetry-utils

Classes

List of classes contained in this package or namespace
Class Description
ChildLogger ChildLogger class contains various helper telemetry methods, encoding in one place schemas for various types of Fluid telemetry events. Creates sub-logger that appends properties to all events
CustomErrorWithProps Helper class for error tracking. Object of this instance will record all of their properties when logged with logger. Care needs to be taken not to log PII information! Logger ignores all properties from any other error objects (not being instance of CustomErrorWithProps), with exception of 'message' & 'stack' properties if they exists on error object. In other words, logger logs only what it knows about and has good confidence it does not container PII information.
DebugLogger Implementation of debug logger
EventEmitterWithErrorHandling Event Emitter helper class Any exceptions thrown by listeners will be caught and raised through "error" event. Any exception thrown by "error" listeners will propagate to the caller.
MultiSinkLogger Multi-sink logger Takes multiple ITelemetryBaseLogger objects (sinks) and logs all events into each sink Implements ITelemetryBaseLogger (through static create() method)
PerformanceEvent Helper class to log performance events
TelemetryLogger TelemetryLogger class contains various helper telemetry methods, encoding in one place schemas for various types of Fluid telemetry events. Creates sub-logger that appends properties to all events

Functions

List of functions contained in this package or namespace
Function Description
raiseConnectedEvent(logger, emitter, connected, clientId)

Interfaces

List of interfaces contained in this package or namespace
Interface Description
ITelemetryPropertyGetters

Functions

raiseConnectedEvent

Signature:

export declare function raiseConnectedEvent(logger: ITelemetryLogger, emitter: EventEmitter, connected: boolean, clientId?: string): void;

Parameters

List of parameters
Parameter Type Description
logger ITelemetryLogger
emitter EventEmitter
connected boolean
clientId string

Returns:

void