12 Sep 2023 05:22 PM - last edited on 15 Dec 2023 02:48 PM by Ana_Kuzmenchuk
We are trying to build an extension for fetching Prometheus metrics from a system. We have already created the extension.yaml to define the metrics, featureset, groups etc but needs some sample alert.json & dashboard.json
to build the full extension bundle zip (to be uploaded to the DT tenant). Our extension would run locally as an Oneagent extension .
my-sample-extension/
└── src/
├── extension.yaml
dashboards/
└── dashboard.json
alerts/
└── alert.json
Can anyone help please?
Thanks
Solved! Go to Solution.
12 Sep 2023 11:16 PM
The easiest by far is to use the Dynatrace extension addon for vscode. That one can generate both the dashboard and alert jsons. That is what my team uses for all of our extensions.