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:

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

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.

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

Check URL Contents

If the URL contains SERVICE-<SomeIDHere> ignore the rest of this bubble and continue to Validate Traces


If the URL contains CUSTOM_DEVICE-<SomeIDHere>:

  • Press ctrl + k and search for settings.
  • Go to Service Detection > Unified services for OpenTelemetry and ensure the toggle is on.

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.