StatsD Emitter

    This extension emits druid metrics to a StatsD server. () (https://github.com/armon/statsite)

    Configuration

    Each metric sent to StatsD must specify a type, one of [timer, counter, guage]. StatsD Emitter expects this mapping to be provided as a JSON file. Additionally, this mapping specifies which dimensions should be included for each metric. StatsD expects that metric values be integers. Druid emits some metrics with values between the range 0 and 1. To accommodate these metrics they are converted into the range 0 to 100. This conversion can be enabled by setting the optional “convertRange” field true in the JSON mapping file. If the user does not specify their own JSON file, a default mapping is used. All metrics are expected to be mapped. Metrics which are not mapped will log an error. StatsD metric path is organized using the following schema: <druid metric name> : { "dimensions" : <dimension list>, "type" : <StatsD type>, "convertRange" : true/false} e.g.

    For most use-cases, the default mapping is sufficient.