Skip to content

Start The Demo#

Tip

Right click and "open image in new tab" to see large images

After the codespaces has started, the post creation script should begin. This will install everything and will take a few moments.

When the script has completed, a success message will briefly be displayed (it is so quick you'll probably miss it) and an empty terminal window will be shown.

success message

empty terminal

Wait For Demo to Start#

Wait for the demo application pods to start by using hte following command.

kubectl -n default wait --for=condition=Ready --all --timeout 300s pod

Command Stuck?

This command will appear to "hang". That is expected behaviour. It isn't hanging, it is waiting.

This command will only return when all pods are ready OR the timeout has been reached.

Access Demo User Interface#

Start port forwarding to access the user interface:

kubectl -n default port-forward svc/my-otel-demo-frontendproxy 8080

Leave this command running. Open a new terminal window to run any other commands.

Command Stuck?

This command will appear to "hang". That is expected behaviour. It isn't hanging, it is working correctly.

Leave this command running to keep the port forwarding alive.

Go to ports tab, right click the demo app entry and choose Open in browser.

ports tab: open in browser

You should see the OpenTelemetry demo:

opentelemetry demo ui

Validate Telemetry#

It is time to ensure telemetry is flowing correctly into Dynatrace.

In Dynatrace, follow these steps:

Validate Services#

  • Press ctrl + k. Search for services. Go to services screen and validate you can see services
  • Open a service

dynatrace: services screen

Validate Traces#

  • Press ctrl + k. Search for distributed traces.
  • Go to distributed traces and validate data is flowing.

dynatrace: distributed traces screen

Validate Metrics#

  • Press ctrl + k. Search for metrics.
  • Go to metrics and search for app. and validate you can see some metrics.

dynatrace: metrics screen

Validate Logs#

  • Press ctrl + k. Search for notebooks.
  • Create a new notebook then click + to add a new DQL section.
  • Use this Dynatrace Query Language. Validate you can see some log lines.
fetch logs, scanLimitGBytes: 1
| filter contains(content, "conversion")

dynatrace: notebook logs query

Telemetry Flowing?#

If these four things are OK, your telemetry is flowing correctly into Dynatrace.

If not, please search for similar problems and / or raise an issue here.