statsd-influxdb-backend icon indicating copy to clipboard operation
statsd-influxdb-backend copied to clipboard

Support InfluxDB >= 0.11 with tags

Open mchesler opened this issue 8 years ago • 2 comments

Per https://docs.influxdata.com/influxdb/v0.13/concepts/schema_and_data_layout/, it's better for InfluxDB to differentiate data with tags than with detailed measurement names. Tags are indexed and InfluxDB does not allow merging data across measurements, so parsing and tagging as built in this PR provides the best balance of flexibility and performance with InfuxDB. This change splits metrics like appname.datacenter.hostname.requests:1|c into:

name: appname
tag1: datacenter
tag2: hostname
tag3: requests

This has been tested against InfluxDB v0.13 in a high-volume production environment.

mchesler avatar Jun 03 '16 13:06 mchesler

Hi mchesler, bernd have stoped the update. Can your forked branch support the InfluxDB 0.13 version??

wangdiwen avatar Jun 14 '16 11:06 wangdiwen

Hi @wangdiwen, yes, I'm using this branch with InfluxDB 0.13 and it's working great.

mchesler avatar Jun 14 '16 13:06 mchesler