Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problems with dots "." in keys #38

Open
kifj opened this issue Oct 14, 2016 · 0 comments
Open

Problems with dots "." in keys #38

kifj opened this issue Oct 14, 2016 · 0 comments

Comments

@kifj
Copy link

kifj commented Oct 14, 2016

I'm using the RPM packages for graphite-api (v1.1.3) and python-whisper (0.9.15) and python-carbon (0.9.15) on Fedora 24, and I've encountered problems reading some stats gathered by the plugin.

The problems seems to be related with using "." in some keys, as in "localhost/docker-elasticsearch01/cpu.percpu.usage-cpu0". Graphite has some conventions about slashes and dots as folders, and mixing them does not seem to work in the versions I am using.

Replacing "." by "_" in all in metric names in dockerplugin.py fixes the problem

PUTVAL localhost/docker-elasticsearch01/blkio-io_wait_time_recursive-8-0 1476467891:26595:0:0:26595:26595
PUTVAL localhost/docker-elasticsearch01/cpu.percpu.usage-cpu0 1476467891:101767690236
PUTVAL localhost/docker-elasticsearch01/cpu.percpu.usage-cpu1 1476467891:111667544483
PUTVAL localhost/docker-elasticsearch01/cpu.percpu.usage-cpu2 1476467891:108575001324
PUTVAL localhost/docker-elasticsearch01/cpu.percpu.usage-cpu3 1476467891:106117845408
PUTVAL localhost/docker-elasticsearch01/cpu.throttling_data 1476467891:0:0:0
PUTVAL localhost/docker-elasticsearch01/cpu_usage 1476467891:428128081451:66940000000:359260000000:25199890000000
PUTVAL localhost/docker-elasticsearch01/cpu_percent 1476467891:6.76

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant