statsd-influxdb-backend
statsd-influxdb-backend copied to clipboard
Getting 404 error while connecting influxdb
I am trying to connect influx db from statsd, it is always showing 404 error. I am using 1.1.1 influxdb version, statsd with the latest commit.
Logs
'getkong.test.request.status.200': 0,
'getkong.test.727f9221_59ca_4d3d_926e_9dd575e2ac90.request.count': 0 },
sets: { 'getkong.test.user.uniques': [] }, pctThreshold: [ 90 ] } 24 Jan 10:53:48 - [influxdb] (DEBUG) Sending 4 different points via HTTP 24 Jan 10:53:48 - [influxdb] (DEBUG) Payload size 0.41 KB 24 Jan 10:53:48 - [influxdb] HTTP Error: 404
May I know how to fix this, influxdb is running properly and I can able to create the database.
{ influxdb: { host: '127.0.0.1', // InfluxDB host (default 127.0.0.1) port: 8086, // InfluxDB port (default 8086) database: 'dbname', // InfluxDB db instance (required) username: 'root', // InfluxDB db username (required) password: 'root', // InfluxDB db password (required) flush: { enable: true // enable regular flush strategy (default true) }, proxy: { enable: false, // enable the proxy strategy (default false) suffix: 'raw', // metric name suffix (default 'raw') flushInterval: 1000 } }, port: 8125, // statsD port backends: ['./backends/console', 'statsd-influxdb-backend'], debug: true, legacyNamespace: false }
Did you figure this out? I'm having the same issue with v1.2.1 of InfluxDB. I suspect the influxdb api has changed and this backend needs to be updated.
404 as version of 0.8, so change version to 1.2 , but also 400 , influxdb api change
same issue,suspect this to be updated.
+1
+1