- Analyze your mobile and web client telemetry and backend traces in one place
- Go from a backend trace in Honeycomb to the originating Embrace session (
emb.dashboard_session) - Set up trigger alerts or SLOs for web/mobile performance
- Monitor frontend sessions and performance by creating a new board with the Embrace board template
Before you begin
Before starting, confirm you have:- A Honeycomb environment with at least one backend service sending OpenTelemetry traces
- An Embrace account on an Enterprise plan
- A mobile or web application using an Embrace SDK that supports network spans forwarding
Set up network spans forwarding
Network spans forwarding stitches Embrace client spans into your backend traces in Honeycomb. Network spans forwarded from Embrace will have aemb.dashboard_session link. This link connects a Honeycomb trace to the originating Embrace session.
Configure domains for network spans forwarding
Network spans forwarding requires you to specify which apps and domains to forward spans from.
Configure this in the Embrace dashboard:
- Navigate to Settings > Integrations.
- Select the Network Spans Forwarding view.
- Select Honeycomb as the data destination.
- Select the apps you want to forward spans from.
- Add the domain names of the backend services you want to trace.
Create a Honeycomb Ingest Key
The Embrace SDK uses a Honeycomb Ingest Key to forward spans to your environment.
If you already have an Ingest Key for this environment, you can use it here.To learn how to create a new Ingest Key, visit Manage Environment API Keys.
When creating the key, enable Create datasets, so Embrace can create a dataset for the forwarded spans.You will use this key in the next step to configure the SDK exporter.
Configure the Embrace SDK exporter
The exporter tells the Embrace SDK where to send spans.
Add a Honeycomb OTLP exporter to your Embrace SDK configuration, using your Ingest Key as the The SDK automatically attaches a W3C
x-honeycomb-team header.
Here is an example using the Embrace Web SDK:traceparent header to every network request your app makes and forwards the resulting spans to Honeycomb with emb.* attributes included.Set up metrics forwarding
Metrics forwarding sends session data from Embrace to Honeycomb, so you can query and alert on user experience signals alongside your backend traces.Create a Honeycomb Configuration Key
Embrace uses a Honeycomb Configuration Key to authenticate when forwarding metrics to your environment.
To learn how to create one, visit Manage Environment API Keys.
Add Honeycomb as a Data Destination in Embrace
Adding Honeycomb as a Data Destination tells Embrace where to send session metrics.
In the Embrace dashboard:
- Navigate to Settings > Integrations.
- Select the Data Destinations view.
- Select Add Data Destination.
- Choose Honeycomb and enter your Honeycomb Configuration Key.
Verify the integration
Verification confirms that both flows are working: spans appearing in the trace view means the SDK exporter is forwarding correctly, and metrics appearing in Honeycomb means the Data Destinations configuration is correct.Network spans
Spans appear in Honeycomb after the SDK exporter is configured and application traffic flows through a configured domain.- In Honeycomb, open the dataset that corresponds to your backend service.
- Run a query and filter for
emb.app_idexists. - Select a result row and open the trace view.
- Confirm that the trace includes a span labeled forwarded via Embrace at the top of the waterfall, with
emb.*attributes visible in the span detail panel. - Confirm that
emb.dashboard_sessionappears as a clickable link in the span detail panel.
Metrics
Metrics should appear in Honeycomb within a few minutes of adding it as a Data Destination.- In Honeycomb, open the dataset that corresponds to your Embrace metrics.
- Run a query and filter for
session.countexists. - Confirm that data is appearing.
Create a Board from the Embrace Dashboard template
Once you’ve verified your Embrace telemetry is showing up in Honeycomb, create a Board so you can see your Embrace stuff at a glance.- Select Boards () from the navigation menu.
- Go to the Templates view, or select Create Boards and From Template.
- Choose the Embrace Dashboard template.
- Go to the Setup view.
- Find any queries marked Unable to display.
- In the Required fields column, select the target field, then choose the appropriate replacement field.
- Repeat this process for any additional fields or queries.
- Select Use Template.