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

MetricGroup is missing while uploading custom OneAgent Plugin on Dynatrace SaaS

Hi All,

while I am trying to upload custom OneAgent plugin I keep receiving following error:

The metricGroup field is missing. Since version 1.172, the metric group is an obligatory field. It is used for grouping custom metrics into a hierarchical namespace where various sources, for example multiple plugins, can provide data. Moreover, the metric group becomes a primary part of the metric key, which means that once defined, it must remain the same for the continuity of data. The metric group will also help you find metrics on custom charts.

 

Where exactly should metricGroup be added in plugin structure?

Thank you,

Konstantin

 

1 REPLY 1

sebastian_cicho
Dynatrace Helper
Dynatrace Helper

Hi.

This reference will help you: https://dynatrace.github.io/plugin-sdk/api/plugin_json_apidoc.html

This field should be added in main section on the same level as for example plugin name.


Best Regards,

Sebastian Cichocki