Skip to content

Cleanup#

Help shape our next content — we’d love your feedback 📣

We're always working to improve and make our content more useful and relevant to you. If you have a few minutes, we’d really appreciate your input:

Your feedback directly shapes what we build next. If there's strong interest in a topic, we’ll prioritize detailed guides, practical examples, and hands-on walkthroughs.

Thank you for helping us create better enablement resources for everyone ❤️

Delete Dynatrace Configurations with Monaco#

You can choose to keep the Dynatrace configurations, including the Notebooks and Dashboards, but if you want to delete them automatically you can leverage the helper function.

Start by setting your environment variables for Monaco, these will allow Monaco to authenticate with the Dynatrace Platform Services API.

export DT_PLATFORM_URL=https://{your-environment-id}.apps.dynatrace.com
export DT_PLATFORM_TOKEN=dt0sXX.ABC123XYZ

Delete the Dynatrace configurations with Monaco using the provided helper function.

deleteDynatraceConfig

Delete Codespace#

Deleting the codespace from inside the container

We like to make your life easier, for convenience there is a function loaded in the shell of the Codespace for deleting the codespace, just type deleteCodespace. This will trigger the deletion of the codespace.

Another way to do this is by going to https://github.com/codespaces and delete the codespace.

GitHub Codespaces Alternatives

If you chose to run this workshop from one of the alternative approaches, please refer to the Dynatrace Enablement Framework for guidance on cleaning up the container.

Delete Dynatrace Tokens#

You may also want to deactivate or delete the API and Platform token(s) needed for this lab.