statsd-influxdb-backend
statsd-influxdb-backend copied to clipboard
Support InfluxDB >= 0.11 with tags
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.
Hi mchesler, bernd have stoped the update. Can your forked branch support the InfluxDB 0.13 version??
Hi @wangdiwen, yes, I'm using this branch with InfluxDB 0.13 and it's working great.