2. Getting Started
Live Code Snippets
The code snippets in this tutorial can be executed live from within the browser. To enable this, just follow the instructions below.
Then click the green buttons below each code snippet. After the command has executed, the response will appear in a popup box at the bottom of the screen.
If you do not want to use this functionality, you can still copy and paste the commands into the codespace terminal.
Gather Details: Tenant ID & Environment#
You will need access to a Dynatrace tenant. If you do not have access, sign up for a free 15 day trial.
Make a note of your Dynatrace tenant ID. It is the first bit of your URL (eg. abc12345
in the following examples):
https://abc12345.live.dynatrace.com
https://abc12345.apps.dynatrace.com
Gather Details: Environment Type#
Make a note of your "environment type" based on your URL.
If you are unsure, use live
.
URL | Environment Type |
---|---|
abc12345.apps.dynatrace.com | live |
abc12345.live.dynatrace.com | live |
abc12345.sprint.dynatracelabs.com | sprint |
abc12345.dev.dynatracelabs.com | dev |
Gather Details: Create API Token#
Create an API token with the following permissions:
ReadConfig
DataExport
CaptureRequestData
openpipeline.events_sdlc
The ReadConfig
, DataExport
and CaptureRequestData
permissions will be used by the Monaco Configuration as Code utility to apply configuration to your Dynatrace environment.
This configuration will capture the x-dynatrace-test
HTTP header and process the values described here.
The openpipeline.events_sdlc
permission is required to send the "load test finished" SDLC event to Dynatrace.
Recap Required Info
You should now have three pieces of information:
- Environment ID
- Environment Type
- API Token
Start Demo#
Enter Required Information
During the next step you will be prompted for some details.
Enter the relevant details in the GitHub form.
Click this button to launch the demo in a new tab.