Skip to content

Graphite Emitter : unable to receive metrics via Pickle protocol #3537

@itaiy

Description

@itaiy

I'm using Druid version 0.9.1.1, and enabled the Graphite Emitter.
Metrics are sent, but do not appear in Graphite because apparently Druid metrics' names include a forward slash and a colon, which are both not allowed in Graphite.
Has anyone encountered this issue?

Some details :
I'm using a hosted Graphite service, and since the events are pickled, I've configured the port to 2004.
My Druid settings for this are :
druid.emitter=graphite
druid.emitter.graphite.hostname=
druid.emitter.graphite.port=2004
druid.emitter.graphite.eventConverter={"type":"all", "namespacePrefix": ".druid.test"}

I changed my Druid service log level to DEBUG, and it seems the data is actually sent to graphite, but doesn't appear there :
2016-09-29T08:29:07,327 INFO [GraphiteEmitter-0] io.druid.emitter.graphite.GraphiteEmitter - trying to connect to graphite server
...
2016-09-29T08:29:07,434 DEBUG [GraphiteEmitter-0] io.druid.emitter.graphite.GraphiteEmitter - sent [.druid.test.druid/coordinator.:8081.segment/overShadowed/count] with value [0] and time [1475137718]
...
2016-09-29T08:29:07,451 DEBUG [GraphiteEmitter-0] com.codahale.metrics.graphite.PickledGraphite - Wrote 43 metrics

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions