2. Getting started
Requirements
- A Grail enabled Dynatrace SaaS Tenant (sign up here).
- A GitHub account to interact with the demo repository.
Prerequisites before launching the Codespace#
Generate a Dynatrace Token#
To create a Dynatrace token
- In Dynatrace, go to Access Tokens.
To find Access Tokens, press Ctrl/Cmd+K to search for and select Access Tokens. - In Access Tokens, select Generate new token.
- Enter a Token name for your new token.
- Give your new token the following permissions:
- Search for and select all of the following scopes.
- Ingest metrics (
metrics.ingest
) - Ingest logs (
logs.ingest
) - Ingest events (
events.ingest
) - Ingest OpenTelemetry traces (
openTelemetryTrace.ingest
) - Read metrics (
metrics.read
) - Write settings (
settings.write
)
- Ingest metrics (
- Select Generate token.
- Copy the generated token to the clipboard and be ready to use it in the next step.
You can only access your token once upon creation. You can't reveal it afterward.
Let's launch the Codespace
Now we are ready to launch the Codespace!