Dynatrace Observability Lab: Grafana k6 Observability#
Support Policy
This is a demo project created by the Developer Relations team at Dynatrace, showcasing integrations with open source technologies.
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.
View the Code
The code for this repository is hosted on GitHub. Click the "View Code on GitHub" link above.
Select Execution Mode
Please choose a way to run this demo. When you have chosen, leave the selection toggled as this ensure the correct instructions are given throughout this tutorial.
This is the easiest option. A new tab will open in your browser and everything necessary will be pre-installed.
This option uses GitHub Codespaces and is usually free (GitHub provides credits each month).
Use this option if you want to run this demo on your own machine.
To make this work, you'll need the following installed:
- Visual Studio Code
- The Microsoft Dev Containers extension in Visual Studio Code
- The Dev Containers CLI
- Ability to clone this repository locally (if you don't know what this means, use the "run in cloud" option)
This demo will run a Grafana k6 script and use the Dynatrace output plugin to stream metrics to Dynatrace.
Logical Architecture#
Below is the "flow" of information and actors during this demo.
This architecture also holds true for other load testing tools (eg. JMeter).
Tip
This can (and should be) extended as demonstrated in the release validation Observability Lab to include the ability to trigger automated deployment checks.
-
A load test is executed. The HTTP requests are annotated with the standard header values.
-
Metrics are streamed during the load test (if the load testing tool supports this) or the metrics are send at the end of the load test.
-
The load testing tool is responsible for sending an SDLC event to signal "test is finished". Integrators are responsible for crafting this event to contain any important information required by Dynatrace such as the test duration.