Skip to content

Commit

Permalink
K8s tutorial: add extra steps for trace visualization (#561) (#563)
Browse files Browse the repository at this point in the history
Co-authored-by: Sean Packham <[email protected]>
  • Loading branch information
mariomac and grafsean authored Jan 19, 2024
1 parent 808e8c3 commit 129a6d8
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions docs/sources/tutorial/k8s-walkthrough.md
Original file line number Diff line number Diff line change
Expand Up @@ -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-<your user name>-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)

Expand Down

0 comments on commit 129a6d8

Please sign in to comment.