Carbonapi-0.10.0.1 -> go-carbon <- Ambari-Metrics - Problem with "=" in Metric-Name

Hi Community,

i am running (all installed rpms, not built from scratch)
go-carbon with carbonserver enabled.
carbonapi-0.10.0.1
grafana-5.3.2

Overall i was happy until i enabled my Hadoop-Platform to send graphite data to the host.
Previously when I was using graphite-web, there was no problem with the metric-names ambari created.

Now with carbonapi in place, go-carbon handles the ambari-metrics correct in terms of creating the directories for the whisper-files, but trying to build up the metrics in grafana fails because carbonapi seems to interpret the ‘=’ :

Example-files on Disk:
/opt/carbon/whisper/ambarimetrics//dev/datanode/dfs/datanode/Context=dfs/Hostname=/BlocksWritten.wsp

carbonapi-err.log when trying to access this via grafana:
2018-11-20T17:27:20.024+0100 ERROR access request failed {“data”: {“handler”:“render”,“carbonapi_uuid”:“9bfb0193-06c6-4a03-9838-4a84c54c5b3f”,“url”:"/render",“peer_ip”:"",“host”:“localhost:8081”,“referer”:“http://:3030/d/0qCVyufiz/test-special-chars?orgId=1\u0026var-context=Context%3Ddfs\u0026var-hostname=Hostname%3D”,“format”:“json”,“use_cache”:true,“targets”:[“ambarimetrics..dev.datanode.dfs.datanode..[Hostname=].BlocksRead”],“cache_timeout”:60,“runtime”:0.013567314,“http_code”:400,“reason”:“Bad Request\n\nTarget : ambarimetrics..dev.datanode.dfs.datanode..[Hostname=].BlocksRead\nParsed so far : ambarimetrics..dev.datanode.dfs.datanode..[Hostname\nCould not parse : =].BlocksRead\n”,“from”:1542709640,“until”:1542731240,“from_raw”:"-6h",“until_raw”:“now”,“uri”:"/render"}}

Can anyone help?
Are we able to get carbonapi to not interpret the ‘=’?

Am I on the right track?

Cheers and
regards
Bjoern

Hi i’m having the same prob, did u fogure out whats causing the problem?

Not sure if this \ is causing the error.

2019-03-29T05:48:18.410Z ERROR access request failed {“data”: {“handler”:“render”,“carbonapi_uuid”:“3ebe50d3-9f2b-49be-9ea1-209a1f276062”,“url”:"/render",“peer_ip”:“10.50.6.78”,“host”:“10.50.2.78:80”,“format”:“json”,“use_cache”:true,“targets”:[“alias(sumSeries(carbon.agents..updateOperations),“Updates”) ","alias(sumSeries(carbon.agents..metricsReceived),‘Metrics Received’)”,“alias(sumSeries(carbon.agents..committedPoints),‘Committed Points’)","alias(sumSeries(carbon.agents..pointsPerUpdate),‘Points Per Update’)”,“alias(averageSeries(carbon.agents..cpuUsage),‘CPU’)","alias(sumSeries(carbon.agents..creates),‘Creates’)”],“cache_timeout”:60,“runtime”:0.000223898,“http_code”:400,“reason”:“Bad Request\n\nTarget : alias(sumSeries(carbon.agents..updateOperations),“Updates”) \nParsed so far : alias(sumSeries(carbon.agents..updateOperations),“Updates”)\nCould not parse : \n”,“from”:1553827698,“until”:1553838498,“from_raw”:"-3h",“until_raw”:“now”,“uri”:"/render"}}