oliver006 / rethinkdb_exporter Goto Github PK
View Code? Open in Web Editor NEWPrometheus exporter for RethinkDB cluster and table metrics. Supports RethinkDB 2.x
License: MIT License
Prometheus exporter for RethinkDB cluster and table metrics. Supports RethinkDB 2.x
License: MIT License
able to connect with rethinkdb successfully.
however grafana keeps updating the query at localhost:9123 and not capable to get the data under localhost:9123/metrics
for example, trying to get
rethinkdb_server_client_connections{server="db01"}
the response from query is the webpage at localhost:9123
Hey so I am having a new issue, first time using Docker and I am unable to find how do I pass flags to my Docker so it successfully connect to the database?
As far as I can see this isn't currently supported? Happy to work on a PR if that's something of interest?
https://docs.docker.com/engine/userguide/eng-image/multistage-build/
FROM golang:1.7 as builder
MAINTAINER Oliver [email protected]
WORKDIR /go/src/github.com/oliver006/rethinkdb_exporter
ENV GOPATH /go
COPY . /go/src/github.com/oliver006/rethinkdb_exporter
RUN go get
RUN CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -o rethinkdb_exporter .
FROM alpine:latest
RUN apk --no-cache add ca-certificates
WORKDIR /root/
COPY --from=builder /go/src/github.com/oliver006/rethinkdb_exporter/rethinkdb_exporter .
ENTRYPOINT ["./rethinkdb_exporter"]
Should this project have an explicit license associated with it? Without an explicit license, the implicit license prohibits users from distributing the code (which ultra-bureaucratic $DAYJOB is interpreting as "cannot install onto servers").
Follow the git instructions and everything looks okay.
Hey, I did all the steps to install and added grafana dahsboard and nothing works.
I can acceed to localhost:9123, everything is displayed and works but I can not acceed to it on grafana, any solution ?
Thanks
Perhaps related to #8 - for my use case (deploying to a k8s cluster via a Helm chart) it would be valuable to have a standard Docker image for rethinkdb_exporter published on Docker Hub.
If you can create a namespace/repository for it I'll be happy to contribute the plumbing for releases.
Should do the same as here: https://github.com/oliver006/redis_exporter/blob/master/circle.yml#L49
I'm trying to deploy rethinkdb_exporter to monitor a cluster created with the Helm stable/rethinkdb
chart. I've got rethinkdb_exporter installed and running, but whenever it attempts to connect to my configured node(s) it logs the error scrape err: gorethink: Wrong password
.
I've tried setting the --db.auth
flag to my admin password, and blank, but it makes no difference.
I know the README.md says "Supports RethinkDB 2.x" but is it definitely known to work with 2.3.x? If so, what's the right way to extract from my cluster the value for --db.auth
?
While using rethinkdb_exporter:v0.5.0 to build new image , it throws error "/bin/sh not found in $PATH" on every command specified in RUN.
res, err := r.DB(s.DB).Table(s.Table).Count().Run(sess)
Counting table rows is a horrible idea, as it's currently not very optimized in RethinkDB and can take several seconds for larger tables. (1s for 4M rows on 3 nodes - and that's all only since we have it all cached in memory.)
This should be optional, and turned off by default.
does the command take a .json file for parameters db.user and db.pass, etc?
such like,
rethinkdb-exporter rethinkdb_config.json
thanks.
Hi,
I got the same error reported in the following link during building:
Looks like you need go 1.5 to compile it properly but that's not available for alpine 3.2. Trying to use alpine:latest won't work due to a regression in go 1.7.
I solved by using alpine 3.3
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.