Extensions 2.0 extensions are based on a YAML configuration file. Its minimal contents are:
name
- Must begin with custom:
for custom extensionsversion
author
minDynatraceVersion
- Minimum Dynatrace version to enforce a minimum version of the extension schemaIn this step you will
Use the following template.
name: custom:demo.host-observabilityversion: # add versionminDynatraceVersion: "1.227"author:name: # add your name
Save your extension.yaml
and developer key and certificates using the following structure:
my-sample-extension/└── src/├── extension.yamldashboards/└── dashboard.jsonalerts/└── alert.json
In the extensions
parent directory, run the following command:
dt extension assembledt extension sign --key ./developer.pem
These commands build your extension package containing only the extension.zip
archive and the extension.zip.sig
signature file.
bundle.zip| extension.zip| extension.zip.sig
To upload and activate your extension, run the following command:
dt extension upload bundle.zip
Example successful output:
C:\extension>dt extension upload bundle.zipTenant url: your-tenant-urlApi token: your-api-tokenExtension upload successful!
For more information, see Manage WMI extensions.
Your extension shows up in Dynatrace as Active.
Next step: WMI data source