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

Getting 404 error while connecting influxdb

Open SankarMittapally opened this issue 7 years ago • 5 comments

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 }

SankarMittapally avatar Jan 24 '17 11:01 SankarMittapally

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.

ravenstar avatar Mar 27 '17 06:03 ravenstar

404 as version of 0.8, so change version to 1.2 , but also 400 , influxdb api change

echo1248 avatar Mar 30 '17 09:03 echo1248

same issue,suspect this to be updated.

airengin avatar Jul 06 '17 09:07 airengin

+1

shlima avatar Nov 25 '17 17:11 shlima

+1

larryliuqing avatar Jan 19 '18 09:01 larryliuqing