From 129a6d8e941da40317df5de34e115afaa0c8c98b Mon Sep 17 00:00:00 2001 From: Mario Macias Date: Fri, 19 Jan 2024 15:52:36 +0100 Subject: [PATCH] K8s tutorial: add extra steps for trace visualization (#561) (#563) Co-authored-by: Sean Packham --- docs/sources/tutorial/k8s-walkthrough.md | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/docs/sources/tutorial/k8s-walkthrough.md b/docs/sources/tutorial/k8s-walkthrough.md index b4d909021..18df83253 100644 --- a/docs/sources/tutorial/k8s-walkthrough.md +++ b/docs/sources/tutorial/k8s-walkthrough.md @@ -344,15 +344,19 @@ curl http://localhost:8081/foo Some requests will return 404 error, but it's OK because they are also instrumented. -Now, go to your Grafana Cloud instance and, in the _Explore_ section, search for -all the traces. In the list, you will see only the traces from the `docs` -instance (port 8081): +Now, go to the instance in Grafana Cloud, and from the **Explore** section in the left panel, select the data source for the traces (usually named `grafanacloud--traces`). + +![Select the traces data source](https://grafana.com/media/docs/grafana-cloud/beyla/tutorial/k8s/select-traces.png) + +To search for all the traces, select the **Search** box in the Query bar, leave the form empty, and click **Run query**: + +![Searching for all the traces in the system](https://grafana.com/media/docs/grafana-cloud/beyla/tutorial/k8s/run-query.png) + +This will show the traces for the `docs` instance (port 8081). You might see traces from your own services, but shouldn't see traces from the `website` service, as it has not been instrumented by Beyla. ![Grafana Cloud list of traces](https://grafana.com/media/docs/grafana-cloud/beyla/tutorial/k8s/tut-traces-list.png) -If you enter into the trace details, you will also see that the resource attributes of the traces are -decorated with the metadata of the Kubernetes Pod running the instrumented -service: +In the trace details, the resource attributes of the traces are decorated with the metadata of the Kubernetes Pod running the instrumented service: ![Details of the trace](https://grafana.com/media/docs/grafana-cloud/beyla/tutorial/k8s/tut-trace-details.png)