Skip to content

ecobee/twemproxy_exporter

 
 

Repository files navigation

Twemproxy Exporter

Unofficial twemproxy exporter for Prometheus.

on default, the exporter will listen to localhost:22222

How to

Build:

The Dockerfile is located here https://github.com/ecobee/epc/blob/main/docker/twemproxy_exporter/Dockerfile it will pull the main branch and build using it. In the directory with the Dockerfile, run docker build . -t gcr.io/platform-prod-618b7383/rke/twemproxy_exporter:<timestamp> timestamp format is yyyymmddHHMMSS and can be got by timestamp=$(date +%Y%m%d%H%M%S) && echo $timestamp

USE docker build --platform linux/amd64 if building on an M1 Mac

Deploy:

Manually push the built docker image to gcr using docker push gcr.io/platform-prod-618b7383/rke/twemproxy_exporter:<timestamp>, then update the tag wherever you are using the container to the new timestamp tag

Install locally on machine:

go get -u github.com/albert-widi/twemproxy_exporter

Run locally:

twemproxy_exporter -config=path/to/config -twemphost=localhost22222

About

Unofficial twemproxy exporter for Prometheus

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 100.0%