statsd-influxdb-backend: InfluxDB 0.9 : 404 not found.
Hi,
I can’t have a statsd
communicating with Influxdb v0.9
.
All the settings I tried gives me 404 Not found
without giving me the endpoint for debug purposes.
Statsd and inxflux lives on the same server
My config:
influxdb: {
host: 'localhost', // Tried influx-api.myhost.com behind SSL, and 127.0.0.1.
port: 8086,
version: 0.9,
ssl: false,
database: 'mydb',
username: 'myuser',
password: 'mypassword',
flush: {
enable: true
},
proxy: {
enable: true,
suffix: 'raw',
flushInterval: 1000
},
includeStatsdMetrics: false,
includeInfluxdbMetrics: false
},
graphitePort: 2003,
graphiteHost: "localhost",
port: 8125,
legacyNamespace: false,
debug: true,
backends: [
"./backends/graphite",
"statsd-influxdb-backend"
]
}
My influx api is listening on port 8086. It’s a fresh install of v0.9. I have managed to send metrics via CURL to influx with the same credentials i use on this config
About this issue
- Original URL
- State: closed
- Created 9 years ago
- Comments: 18 (1 by maintainers)
my config and error:
{ influxdb: { host: ‘127.0.0.1’, port: 8086, database: ‘demo’, username: ‘demo’, password: ‘demo123’, version: 1.0, flush: { enable: true }, proxy: { enable: false, suffix: ‘raw’, flushInterval: 1000 } }, port: 8125, backends: [‘./backends/console’, ‘statsd-influxdb-backend’], percentThreshold: [ 50, 90, 99, 99.9, 99.99 ], debug: true, legacyNamespace: false }
21 Sep 19:33:10 - influxdb Sending 1 different points via HTTP 21 Sep 19:33:10 - influxdb Payload size 0.09 KB 21 Sep 19:33:10 - [influxdb] HTTP Error: 400