-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #11 from embrace-io/root-spans-updates
updating docs replacing traces with Root Spans
- Loading branch information
Showing
42 changed files
with
215 additions
and
192 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,75 @@ | ||
--- | ||
title: Traces | ||
sidebar_position: 1 | ||
--- | ||
|
||
# Traces | ||
|
||
Embrace’s Traces solution gives you visibility into any app operation you’d like to track, including duration, success rate, and any contextual metadata collected at runtime that helps debug the root cause of your mobile app's performance issues. With our tool, you can quickly spot any bottlenecks in your app’s architecture, pinpoint areas you need to troubleshoot with high precision, and ultimately deliver a truly optimized user experience. | ||
|
||
## Root Spans View | ||
The primary page shows all root spans in your app, as well as summary metrics like count, error rate, percentiles of duration, and changes from a previous version. | ||
|
||
<img src={require('@site/static/images/traces-page.png').default} alt="Traces"/> | ||
|
||
To narrow down the spans that are summarized in this view, you can apply the following filters on the root span as well as the child spans: | ||
* Name | ||
* Duration | ||
* Outcome | ||
* Attributes keys and values | ||
* Span event names | ||
|
||
## Root Span Summary View | ||
By clicking on the name of a Root Span in the Root Spans View, you can see a partial listing of all the instances of that Root Span. | ||
|
||
Each row represents a specific instance of that Root Span being recorded. You can see its status, unique Span ID, and duration, in addition to start and end times. All of these columns other than the Span ID is sortable. | ||
|
||
Clicking on the instance will open up an in-line preview of the details of that instance, including the child spans that it has, their duration, and whether they were completed successfully. | ||
|
||
On the right side each row that shows a Root Span instance, there are two icons. The first one takes you to the Root Span Instance View, where you can see all the details about that instance, including attributes and events on each child span. The second one takes you to the specific session in the User Timeline view that this instance ended in so you can see the full context of what happened before and after this Root Span was recorded. | ||
|
||
<img src={require('@site/static/images/root-span-summary-1.png').default} alt="Root Span summary"/> | ||
|
||
You can filter by properties similar to those in the Root Span View. | ||
|
||
<img src={require('@site/static/images/root-spans-filters.png').default} alt="Trace summary filters"/> | ||
|
||
## Root Span Instance View | ||
This view shows a Root Span in its entirety. Not only can you see all the information in trace instance preview, you can also see at the individual events and attributes recorded as part of on a each child span, along with metadata about the device and app. | ||
|
||
<img src={require('@site/static/images/root-span-instance-1.png').default} alt="Trace instance"/> | ||
|
||
## User Timeline view | ||
Root Spans appear in both the Timeline View and Timeline Details. | ||
|
||
Clicking on "See Details" for any Root Span within the timeline will take you directly to the Root Span Instance View. | ||
|
||
<img src={require('@site/static/images/traces-timeline.png').default} alt="User timeline"/> | ||
|
||
## Sessions Filters | ||
Not only can you filter spans in the various pages dedicated to Traces, you can filter sessions in the Sessions View by whether or not they contain specific spans with certain attributes and events. | ||
|
||
<img src={require('@site/static/images/trace-session-filters.png').default} alt="Session filters"/> | ||
|
||
## Boards, Alerts, and Custom Metrics | ||
You can create Boards, Alerts, and Custom Metrics based on span data. | ||
|
||
<img src={require('@site/static/images/spans-widgets.png').default} alt="Trace widgets"/> | ||
<img src={require('@site/static/images/spans-alerts.png').default} alt="Trace alerts"/> | ||
|
||
## Slow Root Spans | ||
With the Slow Root Spans feature, you can identify performance bottlenecks and prioritize your optimization efforts. | ||
Slow Root Spans are instances with both significant occurrences (100 over the last two days) and durations surpassing the 95th percentile of successful spans bearing the same name. | ||
You can get the slow Root Spans on the issues page. | ||
|
||
<img src={require('@site/static/images/slow-root-spans.png').default} alt="Slow traces"/> | ||
|
||
Once you click on a Slow Root Span, you can see specific instances of that span. | ||
|
||
## Implementation Details | ||
1. [**Android**](/android/features/traces) | ||
2. [**iOS**](/ios/open-source/traces) | ||
3. [**Unity**](/unity/features/traces) | ||
4. [**React Native**](/react-native/features/traces) | ||
5. [**Flutter**](/flutter/features/traces) | ||
|
Oops, something went wrong.