# Migrate to v6.0

This new version introduces two correlation ids, telemetryId and deviceId, to help unify and correlate data across LogRocket, Honeycomb and Mixpanel and a new automatic enrichment of the traces with the LogRocket session url if the LogRocket instrumentation is registered.

# Breaking changes

  • The @workleap/telemetry package is a new peer dependency of the @workleap/logrocket package.

# Improvements

# Correlation ids

To help unify and correlate data across LogRocket, Honeycomb, and Mixpanel, the registerHoneycombInstrumentation function now automatically adds two correlation ids as attributes to every trace:

  • telemetryId is an identifier that represents a single application load.
  • deviceId is an identifier that represents a single device across multiple loads.

# Session URL enrichment

A built-in integration now automatically allows other telemetry libraries to include the LogRocket session replay URL in their traces.

Once the LogRocket session URL is retrieved, each trace is enriched with an app.logrocket_session_url attribute:

Enrichment example
Enrichment example

# Migrate from v5.0

Follow these steps to migrate an existing application v5.0 to v6.0:

  • Add a dependency to @workleap/telemetry.