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.