This Codespace leverages the Dynatrace Enablement Framework, providing a robust and flexible development environment. Key features include:
- Seamless operation within GitHub Codespaces, as a remote container, or locally via Docker.
- Cross-compilation support for both AMD and ARM architectures, ensuring broad compatibility.
- Adherence to industry standards and best practices to optimize the developer experience.
To learn more about the Dynatrace Enablement Framework and how it can enhance your development workflow, please refer to the official documentation
Enablement Workflow Essentials#
Support Policy
This is an enablement project created by the Center of Excellence - Enablement Team at Dynatrace.
Support is provided via GitHub issues only. The materials provided in this repository are offered "as-is" without any warranties, express or implied. Use them at your own risk.
Lab Overview#
During this hands-on training, you will learn the foundation to be able to automate any relevant use case within Dynatrace using Workflow automations.
Lab tasks:
-
Parameters and Task Results
- Parameter Task – define parameters/variables that will be used by subsequent tasks
- Parameter Task Output – return parameters for subsequent tasks
- Accessing Parameter Task Results – access the parameters from result of the task
-
Fetch API
- HTTP GET (Dynatrace Status.io) – bring external data into Dynatrace workflows
- HTTP POST (Webhook.Site) – send data to external systems from Dynatrace workflows
-
Looping Tasks
- DQL Query – execute a DQL query that returns multiple records/rows
- Looping Over Results – perform logic against each DQL record/row
-
Credential Vault
- Access an API token from the Credential Vault using the Dynatrace SDK
-
Metric Ingest
- Retrieve data from an external system using HTTP GET
- Ingest retrieved data point using the Dynatrace API with API token (not optimal)
- Ingest retrieved data point using the Dynatrace SDK (optimal)
-
Event Ingest
- Query ingested metric data point using DQL
- Evaluate metric value against a threshold
- If the threshold is breached, generate an event using the Dynatrace SDK
-
Event Trigger
- Trigger Workflow when a Davis problem event is detected
- Events are filtered on the type of event, based on the previous exercise
-
Slack for Workflows
- Third party integration is typically accomplished with Workflow Apps
- The Slack for Workflows App provides an easy-to-use mechanism for sending messages to a Slack environment containing the data and context from Dynatrace
- Leverage Jinja expressions to access Workflow action results and implement logic
-
Code Snippets
- Review code snippets to re-use with Workflows in your custom use cases
-
Clean up
Technical Specification#
Technologies Used#
Reference Architecture#
N/A
Continue#
In the next section, we'll review the prerequisites for this lab.