11 Jun 2025 06:33 PM
Hi everyone,
I'm working on converting a legacy OneAgent plugin (1.0) that collects normalized CPU load metrics from /proc/loadavg per host, and I want to migrate it to Dynatrace Extension Framework 2.0.
Specifically, I’m looking for guidance on:
Converting the 1.0 plugin to 2.0 format:
It currently uses Python and subprocess to get system-level metrics per host.
I want to replicate this using a script in Extension 2.0 and ensure it still reports per-host metrics (e.g., using entity: host).
Using Visual Studio Code:
Can the entire development and packaging process for Extension 2.0 be done in VS Code?
What tools or extensions (if any) are recommended?
Deployment best practices:
What's the recommended way to package and deploy a 2.0 extension (especially with scripts)?
Any steps to push it to a Dynatrace environment and validate it's working?
Any documentation, examples, or tips from someone who has done a similar migration would be really helpful.
Solved! Go to Solution.
11 Jun 2025 08:08 PM - edited 11 Jun 2025 08:15 PM
Hi,
There is a full tutorial on youtube: https://www.youtube.com/watch?v=Qy4Ge8HIzEk
Usefull urls:
https://marketplace.visualstudio.com/items?itemName=DynatracePlatformExtensions.dynatrace-extensions
Best Regards
Patryk
16 Jun 2025 05:41 PM - edited 16 Jun 2025 05:44 PM
Where is the OneAgent Extension 2.0 documentation equivalent to the OneAgent Extension 1.0 documentation found here, https://docs.dynatrace.com/docs/ingest-from/extend-dynatrace/extensions/oneagent-extensions/oneagent...
The users question is regarding OneAgent extensions specificially. I'm not sure the marked Solution answers the posted question.