-
Notifications
You must be signed in to change notification settings - Fork 1
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
need single binary without nodejs dependecy like go binary #18
Comments
Hi @thatsk, you can use tools such as https://github.com/zeit/pkg in order to create executable from this project |
I have just cloned repository. and then run pkg command to create binary
|
@thatsk you should run "pkg bin/www" |
@thatsk did you consider using the docker: https://hub.docker.com/r/swce/consul_telemetry_exporter ? |
i am trying that but not sure what prefix and command for port exposing using docker? |
@lchayoun how to use docker run command on host to fetch? |
docker run -d -p 9320:9320 swce/consul_telemetry_exporter |
docker run -p 9320:9320 swce/consul_telemetry_exporter
2018-05-29T11:30:36.513Z - info: Consul Telemetry Exporter is listening on port 9320 |
its not able to talk to consul ? host consul need to talk to consul |
looks like you don't have consul server / agent running on the same host |
You can use the "CONSUL_HOST" env variable to give the outside host: |
You can also use - -net=host if they are on the same host as prometheus suggest |
docker run -d -p 9320:9320 --net=host swce/consul_telemetry_exporter |
if we are using without port then how we can check outside of container for metrics checking ? |
docker run -d -p 9320:9320 -e CONSUL_HOST=hostname swce/consul_telemetry_exporter |
can you just show me anyone method docker or packaging binary so that i can check correctly? |
No description provided.
The text was updated successfully, but these errors were encountered: