I'm used to defining the UI of Custom Devices that are created from ActiveGate extensions. It is defined nicely here:
https://www.dynatrace.com/support/help/extend-dynatrace/extensions/development/extension-how-tos/cha...
I have had to create Custom Devices through an API, but cannot find how to define the UI neatly. Does anyone know of a reference how to do it?
Solved! Go to Solution.
Hi Antonio,
Here is the API
In the future we will offer a configuration that will allow you to automatically derive entities from metric and log ingest streams.
Best greetings,
Wolfgang
Hi @Wolfgang B.
I have no problem creating custom devices and attaching several variables.
What I miss is a way to define the UI as can be done in an ActiveGate extension, as the example below, taken from the link I referenced:
"ui": {
"charts": [
{
"group": "Trigonometric functions",
"title": "sinus",
"series": [
{
"key": "baseSin",
"aggregation": "avg",
"mergeaggregation": "avg",
"displayname": "basic sinus metric",
"seriestype": "line",
"color": "#00ff00",
"rightaxis": false,
"stacked": false
},
{
"key": "baseCos",
"aggregation": "avg",
"mergeaggregation": "avg",
"displayname": "basic cosinus metric",
"seriestype": "line",
"color": "#0000ff",
"rightaxis": true,
"stacked": false
}
]
},
{
There is just the generic entity screen for those types of entities. The team is currently working on an improved UI for custom entity types.
Hi @Wolfgang B.
Ooops..So, given that it is not possible, would you say it is possible to define a UI screen through an ActiveGate Extension, and than update it through the API?
The correct way to do it is to define a unified analysis screen. This can easiest be done in an Extension 2.0 YAML under the "screen" section. That way you have much more control over the UI than what was possible with the custom device screen.