is it possible to customize metric value to display in data explored.
for example if database state is 0 , i want to display it as online . and based on other values to display values as “offline”, “recovery mode” etc.
is it possible to customize metric value to display in data explored.
for example if database state is 0 , i want to display it as online . and based on other values to display values as “offline”, “recovery mode” etc.
You can customize the output by leveraging the metric selector. Go to the advanced mode of the Data Explorer. There you’ll see a query like `my_metric:splitBy():sort(value(auto,descending)):limit(20)`. You can use the partition operator to map the values to values of the dimension state. For example:
my_metric:splitBy():auto:partition("state",value("online",eq(0)),value("offline",eq(1)))
Note that the partition operator also works if the database state is a dimension of your metric. See dynatrace-api/metric-example/metric-selector-cheat-sheet.md at master · Dynatrace/dynatrace-api · GitHub for details.
perfect work like charm