carbonapi icon indicating copy to clipboard operation
carbonapi copied to clipboard

URL Escaped metric names

Open CRASH-Tech opened this issue 7 years ago • 2 comments

Possible to do it? I'm trying to do it, all works, except variables.

CRASH-Tech avatar Jul 17 '18 07:07 CRASH-Tech

Can you elaborate on this? I can't understand what troubles you. Some examples might help

azhiltsov avatar Jul 17 '18 14:07 azhiltsov

My app generates metric names like this: myserver.mount./mnt/mountpoint.free Before sent to carbon I'm escaping special chars with urlencode. And graphite save my metrias as myserver.mount.%2Fmnt%2Fmountpoint.free

I wrote some patch for carbonapi, that decode names for grafana. It almost work, expect grafana varidables.

carbonapi-patch.txt

CRASH-Tech avatar Jul 17 '18 15:07 CRASH-Tech