Skip to content

Commit

Permalink
new trace tab
Browse files Browse the repository at this point in the history
  • Loading branch information
Simplychee committed Dec 9, 2024
1 parent c5d46d3 commit 00516f7
Show file tree
Hide file tree
Showing 4 changed files with 56 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/user-guide/explore/best-practices.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
sidebar_position: 6
sidebar_position: 8
title: Explore Best Practices
description: Best practices in Log management and Explore
image: https://dytvr9ot2sszz.cloudfront.net/logz-docs/social-assets/docs-social.jpg
Expand Down
2 changes: 1 addition & 1 deletion docs/user-guide/explore/exceptions.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
sidebar_position: 4
sidebar_position: 6
title: Exceptions
description: Find and highlight exceptions with Logz.io
image: https://dytvr9ot2sszz.cloudfront.net/logz-docs/social-assets/docs-social.jpg
Expand Down
2 changes: 1 addition & 1 deletion docs/user-guide/explore/save-search.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
sidebar_position: 5
sidebar_position: 7
title: Saved Search
description: Save your search to easily access and share them
image: https://dytvr9ot2sszz.cloudfront.net/logz-docs/social-assets/docs-social.jpg
Expand Down
53 changes: 53 additions & 0 deletions docs/user-guide/explore/trace-view.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
---
sidebar_position: 4
title: Traces in Explore
description: View and investigate distributed traces directly in Explore
image: https://dytvr9ot2sszz.cloudfront.net/logz-docs/social-assets/docs-social.jpg
keywords: [logz.io, trace, traces, explore, traces in explore, log analysis, observability]
---


Trace View lets you to view and analyze distributed traces directly in Explore, offering a comprehensive understanding of your system's activity. It helps correlate logs with traces to identify bottlenecks, pinpoint errors, and understand your application's complete execution path.

## Configure Trace view

To enable Trace View in Explore, you’ll need:

* An active Logz.io Tracing account.
* A `trace_id` value for all traces. Most OpenTelemetry compliant tracing libraries automatically include `trace_id`. Use Logz.io’s collector to send your traces.

:::note
Logs and traces are correlated using the `traceID` or `trace_id` fields. Make sure these fields are in your data for proper integration with trace context.
:::

After configuring your logs and traces, expand a log entry in Explore to verify that the Trace tab displays the associated trace data.

Supported integrations for Trace context:
* [.NET](http://localhost:3000/docs/shipping/Code/dotnet/#traces)
* [Python](http://localhost:3000/docs/shipping/Code/Python/#traces)



## Viewing Traces in Explore

Navigate to [Explore](https://app.logz.io/#/dashboard/explore) and select accounts that include tracing data.

<img src="https://dytvr9ot2sszz.cloudfront.net/logz-docs/explore-dashboard/tracing-account-dec9.png" alt="tracing-accounts" width="500"/>

Expand a log entry. The Trace tab will appear alongside the Log tab. If the log is correlated with a trace, the Trace tab displays trace data, including spans, service names, and durations. Click on a span within the trace to view the corresponding log data directly within the same interface.

![open trace view](https://dytvr9ot2sszz.cloudfront.net/logz-docs/explore-dashboard/trace-view-dec9.png)


## Best practices for using Trace view

* **Maintain Consistent Trace IDs**: Ensure trace_id is propagated consistently across all services.

* **Optimize Logging**: Avoid logging excessive trace data to minimize noise.

* **Validate Regularly**: Periodically confirm that logs and traces are correctly linked in the Trace View tab.




For further assistance, contact our [support team](mailto:[email protected]).

0 comments on commit 00516f7

Please sign in to comment.