30 Nov 2020 11:25 AM
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.
30 Nov 2020 12:20 PM
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
30 Nov 2020 01:57 PM
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
}
]
},
{
30 Nov 2020 02:30 PM
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.
30 Nov 2020 05:31 PM
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?
23 Dec 2021 02:11 PM
Hello @wolfgang_beer! Are there some updates on this area regarding Antonio's question?
04 Jan 2022 10:18 AM
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.