From 00516f7ca8bea0d5a5529db1f2052c8fb032baf6 Mon Sep 17 00:00:00 2001 From: Simplychee Date: Mon, 9 Dec 2024 20:38:13 +0200 Subject: [PATCH] new trace tab --- docs/user-guide/explore/best-practices.md | 2 +- docs/user-guide/explore/exceptions.md | 2 +- docs/user-guide/explore/save-search.md | 2 +- docs/user-guide/explore/trace-view.md | 53 +++++++++++++++++++++++ 4 files changed, 56 insertions(+), 3 deletions(-) create mode 100644 docs/user-guide/explore/trace-view.md diff --git a/docs/user-guide/explore/best-practices.md b/docs/user-guide/explore/best-practices.md index 8b1aa435..a3a5eb07 100644 --- a/docs/user-guide/explore/best-practices.md +++ b/docs/user-guide/explore/best-practices.md @@ -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 diff --git a/docs/user-guide/explore/exceptions.md b/docs/user-guide/explore/exceptions.md index 153924a9..1e0e9ded 100644 --- a/docs/user-guide/explore/exceptions.md +++ b/docs/user-guide/explore/exceptions.md @@ -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 diff --git a/docs/user-guide/explore/save-search.md b/docs/user-guide/explore/save-search.md index 6fd7f6be..fec3a8ab 100644 --- a/docs/user-guide/explore/save-search.md +++ b/docs/user-guide/explore/save-search.md @@ -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 diff --git a/docs/user-guide/explore/trace-view.md b/docs/user-guide/explore/trace-view.md new file mode 100644 index 00000000..e6978ead --- /dev/null +++ b/docs/user-guide/explore/trace-view.md @@ -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. + +tracing-accounts + +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:help@logz.io). \ No newline at end of file