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

Metric syntacs

henk_stobbe
DynaMight Leader
DynaMight Leader

Hello,

 

From the documentation I read: 

The key of the metric you're submitting. It consists of sections, separated by dots, for example first.second.third.

Could it be that the max number of sections is 4?

I got some issue's converting extension 1.0 -> 2.0

After build command below error is returned

{
"code": 400,
"message": "Validation errors for asset PROCESS_GROUP_INSTANCE:\nGiven property 'metricSelector' with value: 'jmx.ext.aaa.bbb.ccc.99999.dddd.eeee.metric_Value_1234567890:splitBy("dt.entity.process_group_instance")' Metric selector parse error: line 1:28 at 'dddd\nGiven property 'metricSelector' with value: 'jmx...............................................:splitBy("dt.entity.process_group_instance")'

(repeats for every metric)

creating a metric with 4 sections saves the day (-;

 

KR Henk

1 REPLY 1

henk_stobbe
DynaMight Leader
DynaMight Leader

Sorry found my own answer:

  • Custom metrics you can feed to Dynatrace via metric ingestion. These don't have any fixed prefix, as the ingestion protocol is completely flexible.

So the conversion from extension 1.0 to 2.0 is ok, but there is still an old check in a schema... Or extension 2.0 uses only classic metrics,
 
KR Henk

Featured Posts