haproxy-influxdb's People
Forkers
mdonnellylihaproxy-influxdb's Issues
Writing data - 404 page not found
2016/03/28 12:35:38 HAProxy:
2016/03/28 12:35:38 - Socket: '/var/lib/haproxy/stats.socket'
2016/03/28 12:35:38 - Frontends: [localhost]
2016/03/28 12:35:38 ------------------------------------------------------------------------------------------------------
2016/03/28 12:35:38 *haproxy.Load
2016/03/28 12:35:38 localhost[0] : map[pid:1 iid:2 check_duration:0 req_tot:0 comp_in:0 comp_byp:0 svname:FRONTEND bout:0 dreq:0 econ:0 eresp:0 qcur:0 slim:3000 lbtot:0 last_chk: downtime:0 throttle:0 status:OPEN check_status: hrsp_1xx:0 hrsp_2xx:0 hrsp_5xx:0 req_rate_max:0 pxname:localhost qmax:0 qtime:0 ctime:0 ttime:0 type:0 hrsp_other:0 qlimit:0 wredis:0 chkdown:0 wretr:0 lastsess:0 req_rate:0 cli_abrt:0 dresp:0 chkfail:0 rate_lim:0 hrsp_4xx:0 hanafail:0 lastchg:0 sid:0 ereq:1 check_code:0 hrsp_3xx:0 bin:9033460 tracked:0 comp_out:0 stot:141832 rate:1 comp_rsp:0 rate_max:5 srv_abrt:0 last_agt:0 scur:0 smax:2]
2016/03/28 12:35:38 - hostname : 'apitest'
2016/03/28 12:35:38 - pxname : 'localhost'
2016/03/28 12:35:38 - svname : 'FRONTEND'
2016/03/28 12:35:38 - scur : '0'
2016/03/28 12:35:38 - smax : '2'
2016/03/28 12:35:38 - status : 'OPEN'
2016/03/28 12:35:38 - chkdown : '0'
2016/03/28 12:35:38 - check_status : ''
2016/03/28 12:35:38 - check_code : '0'
panic: Server returned (404): 404 page not found
I can take the above data and insert the that using the "influx" CLI, then issuing the query 'select * from /.*/' returns
haproxy_load
time check_code check_status chkdown hostname pxname scur smax status svname
2016-03-28T12:32:39.429547453Z 0 0 0 "apitest" "localhost" 0 2 "OPEN" "FRONTEND"
I can't see what's actually wrong?
I should say I'm using influxdb 11.0
The build is broken
The build is broken since influxdb/influxdb has pushed non backward compatible changes to client/influxdb.go
:
~/golang $ go get github.com/akinsella/haproxy-influxdb
# github.com/akinsella/haproxy-influxdb
src/github.com/akinsella/haproxy-influxdb/haproxy_load.go:48: undefined: client.ClientConfig
src/github.com/akinsella/haproxy-influxdb/haproxy_load.go:94: undefined: client.Series
src/github.com/akinsella/haproxy-influxdb/haproxy_load.go:100: c.WriteSeries undefined (type *client.Client has no field or method WriteSeries)
src/github.com/akinsella/haproxy-influxdb/haproxy_load.go:100: undefined: client.Series
The struct ClientConfig
from client
package has been droped and replaced by new one named Config
since release 0.9 of influxdb.
From 0.8.8 :
https://github.com/influxdb/influxdb/blob/v0.8.8/client/influxdb.go
From master :
https://github.com/influxdb/influxdb/blob/master/client/influxdb.go
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.