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.