Your mission in this bug finding expedition is to find bugs in the following two applications which are setup to run inside a local Kind Kubernetes cluster:
- BugZapper Asteroids Style Game (Node.js application)
- To-Do App (Java application)
As part of the journey, you'll utilize Dynatraces Live Debugger, Logs, and Traces to find where the bugs are occuring in the codebase.
When deploying the components inside this repository a Dynatrace App will also be deployed. This app is a quiz app which will ask you a set of multiple choice questions which you need to answer in the shortest time possible to achieve the highest score.
Here are some short quickstart details to get going as you spin up the codespaces. More specific details are in the link at the bottom of the page.
- To spin up the environment with GitHub codespaces, go to Codespaces and then select 'New with options' or directly by clicking here
You'll need:
- A Dynatrace tenant endpoint which should look something like 'https://abc12345.live.dynatrace.com'
- Dynatrace Operator Token
- Dynatrace Ingest Access Token with the following permissions:
- metrics.ingest
- logs.ingest
- openTelemetryTrace.ingest
- The above tokens can be generated easily from the Kubernetes app by clicking on Add Cluster -> Other Distributions -> Install Dynatrace Operator Section
- An OAuth Client including the Client ID and Client Secret created from the Dynatrace Account settings to deploy the Dynatrace app. You'll need the following permissions:
- app-engine:apps:install
- app-engine:apps:run
- app-engine:apps:delete (to uninstall the app if needed)
-
The codespace will automatically create a Kind Kubernetes cluster and deploy the BugZapper application and To-Do app. You can run
kubectl get pods -n bugzapper
kubectl get pods -n todoapp
To see that the pods have spun up successfully. The Dynatrace One Agent should also be available:
kubectl get pods -n dynatrace
Let's Get Started...
