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