Skip to content

Commit

Permalink
fix(Logs): Add new traces in context step
Browse files Browse the repository at this point in the history
  • Loading branch information
rhetoric101 committed Apr 18, 2023
1 parent 8e4d040 commit 05d4bc2
Showing 1 changed file with 14 additions and 13 deletions.
27 changes: 14 additions & 13 deletions src/content/docs/logs/ui-data/use-logs-ui.mdx
Expand Up @@ -163,22 +163,25 @@ To explore your logging data, follow this basic workflow.

<Collapser
id="workflow-related"
title="7. View distributed traces."
title="7. Dive deep into distributed traces."
>
Once you've narrowed down the set of logs with filters and opened a specific log entry, you can see related distributed traces. As long as you've set up distributed tracing and there are sampled traces related to logs, you'll see an option to view them. This is a quick way to view trace information without going to the main distributed tracing page.
Once you've narrowed down the set of logs with filters and then opened a specific log, you can see related distributed traces. As long as you've set up distributed tracing and there are sampled traces related to logs, you'll see an option to view them. This is a quick way to view trace information without going to the main distributed tracing page.

After you've clicked on a specific log to see the **Log details** pane, if you see a trace listed under **Distributed trace**, then you can see the span traces in a waterfall view:

<img
style={{ align: "left", width: 70% }}
title="Screenshot showing how to reach the log details page"
alt="Screenshot showing how to reach the log details page"
src={logsTracesinContext}
/>
If you open the **Log details** pane and see a **Distributed trace** section, you have two options to view span traces in a waterfall view:

* Click directly on the trace name or click the icon with an arrow on the right, which opens up the waterfall focus view that highlights trace spans with errors.
<img
style={{ align: "left",width: "85%" }}
title="Screenshot showing how to reach the log details page"
alt="Screenshot showing how to reach the log details page"
src={logsTracesinContext}
/>
* Click **Explore** to open an unfiltered waterfall where you can click through all the spans.

<Callout variant="tip">
If you need help using the trace waterfall, see [Understand and use the distributed tracing UI](/docs/distributed-tracing/ui-data/understand-use-distributed-tracing-ui/).
</Callout>

</Collapser>

<Collapser
Expand Down Expand Up @@ -241,7 +244,7 @@ Here are a few examples of how you can use the Logs UI to get detailed informati
2. Select a saved view. Or, search for results you want to plot; for example, `service_name:"checkout service" "process failed"`.
3. Click **Add to dashboard**, then fill out the details to add the log chart as a table to an existing or new dashboard.


Then, from your dashboard you can:

* Use standard dashboard widget functions, such as copying, editing, deleting, etc.
Expand Down Expand Up @@ -289,8 +292,6 @@ Then, from your dashboard you can:
src={logsDtLogs}
/>

INSERT TRACES IN CONTEXT HERE?

</Collapser>
</CollapserGroup>

Expand Down

0 comments on commit 05d4bc2

Please sign in to comment.