cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Alerts.json & Dashboard.json for Extension 2.0

GoutamAccenture
Frequent Guest

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 

1 REPLY 1

Mike_L
Dynatrace Guru
Dynatrace Guru

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.

Mike

Featured Posts