#
TelemetryContext
Don't create your own instance of TelemetryContext, use the createTelemetryContext function instead.
An object containing the telemetry correlation ids.
#
Reference
const context = new TelemetryContext(telemetryId?, device?)
#
Parameters
telemetryId: Identifies a single application load. It's primarily used to correlate with Honeycomb traces.deviceId: Identifies the user's device across sessions. This value is extracted from the sharedwl-identitycookie, which is used across Workleap's marketing sites and web applications.
#
Getters
telemetryId: Return the telemetry id.deviceId: Return the device id.
See also
Migrate to v2.0
This major version introduces several important changes. registerLogRocketInstrumentation now returns a client instance. The standalone
Migrate to v3.0
This major version introduces several important changes. initializeMixpanel now returns a client instance. The standalone createTrackingFunction and
Migrate to v7.0
This major version introduces several important changes. registerHoneycombInstrumentation now returns a client instance. The standalone
Reference
initializeTelemetry