Skip to content

Problems with dots "." in keys  #38

@kifj

Description

@kifj

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions