Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tutorial on how to start from scratch #56

Closed
esseti opened this issue Jun 5, 2017 · 4 comments
Closed

tutorial on how to start from scratch #56

esseti opened this issue Jun 5, 2017 · 4 comments

Comments

@esseti
Copy link

esseti commented Jun 5, 2017

Hello,

I've several nodes running elastic, and I would like to install the exporter on each node.

Now, I've installed GO, downloading the package and running tar -C /usr/local -xzf go$VERSION.$OS-$ARCH.tar.gz adding export PATH=$PATH:/usr/local/go/bin as said here https://golang.org/doc/install

Then, following the readme i run go get -u github.com/justwatchcom/elasticsearch_exporter which ends without saying anything (is that fine?).

And, when I try to run elasticsearch_exporter --help i get a command not found .

what's the problem? i'm quite new to go and how it works..

@dominikschulz
Copy link
Contributor

The easiest way to get started would be to run it in Docker.

Currently we don't provide binary releases, but we'll try to do so in the future.

@esseti
Copy link
Author

esseti commented Jun 12, 2017

Is there any tutorial on how to run it with docker?

my current problem is that I run a elastic cluster with kubernetes, so i should attach the exporter somewhere.

@dannyk81
Copy link
Contributor

If I understood correctly, you are running Elastic inside Kubernetes cluster, so the nodes are deployed as Pods in K8s.

The easiest way to go about it, is to add the exporter as a container in these Pods.

If you share your K8s deployment manifest for Elastic, I can help suggest how to add the exporter.

@dominikschulz
Copy link
Contributor

We're providing documentation and examples for docker, docker-compose and kubernetes as well as binary releases for most platforms.

This should cover these issues. Otherwise feel free to open another one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants