I recently applied a NFS tag from my bank and attached it to my Android phone (Nexus 4). Then I found every time I power on (not boot up) the phone, there will be weird sound. I tried to disabled all the possible setting under sound section in settings, but the sound still there. Then I realized it may caused by the NFS tag, so I went to settings -> Wireless & networks -> more , and unchecked the "NFC" option, and the weird/annoying sound gone.
Problem Graphite doesn’t support special characters like “ “ (empty space), “/” slash etc. Because it expect everything to be just ASCII to split/processing them, and then make directories based on metric name. For example: Metric: datacenter1.server1.app1.metric1.abc Will create datacenter1/server1/app1/metric1/abc.wsp But Metric: datacentter1.this is a test/with/path.app.test will fail when create directory So any special name not allow to appear in directory/file name is not supported by Graphite. What we can do? We can urlEncode the metric name which has special characters. So like “/var/opt” (not valid file name) will become “%2Fvar%2Fopt”(now valid), using urlEncode instead of others (like BASE64) is because this will keep most of data readable. So what to change? 1. urlEncode metric name before send to Graphite (if you always sending metrics using text/line mode instead of pickle/batch mode, then you may consider modify ...
Comments
Post a Comment