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

Metadata display name not coming


I am using Dynatrace OneAgent metric API and making post calls to ingest metrics in the Dynatrace server.


I was trying to give a display name to some of the metrics being ingested using my script before making a post call.


I am observing this error : 
{"linesOk":0,"linesInvalid":1,"error":{"code":400,"message":"1 invalid lines","invalidLines":[{"line":1,"error":"reserved dimension key: dt.meta.displayname"}]},"warnings":null}


Part of Code which I am using for of adding display name is this:

Screenshot 2022-09-22 at 8.38.12 PM.png


On printing metric format, it is appearing as this :

'wa.metricboard.application_wa_jobsbyworkstation_jobs,dt.meta.displayname=Job count by Workstation,description=jobsnumberinthestatusspecifiedbyjobstatustag,jobstatus=ERROR,workstation=/MASTERAGENTS 3.0'.


I am following this structure: metricKey,dt.meta.prop1=<__>,dimensions  payload.

If not, what is the right way?



Thank You 



Dynatrace Helper
Dynatrace Helper

The error message indicates that you sent in a normal metric data point and not a metadata line. As mentioned in the docs, a metadata line needs to start with the '#' symbol:

Featured Posts