How to Convert and Deploy a Classic OneAgent Plugin (1.0) to Extension 2.0 Using VS Code?

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:

  1. 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).
  2. 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?
  3. 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.

Hi,

There is a full tutorial on youtube:

Usefull urls:

Migrate EF1 to EF2

Best Regards

Patryk

Where is the OneAgent Extension 2.0 documentation equivalent to the OneAgent Extension 1.0 documentation found here, Develop your own Extensions — Dynatrace Docs

The users question is regarding OneAgent extensions specificially.  I’m not sure the marked Solution answers the posted question.