Skip to content

EagleChen/river_metrics_transformer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#river_metrics_transformer

transform go-mysql-elasticsearch stat page to prometheus metrics page

Usage

godep go run river_metrics_transformer -host 0.0.0.0 -port 8080 -river http://192.168.0.3:12800/stat

Then prometheus can access 0.0.0.0:8080/metrics to fetch metrics.

Note: host, port, river can also be set by environment variables. The environment variable names are CONFIG_HOST, CONFIG_PORT, CONFIG_RIVER

Docker

There is already a docker image for use:

docker pull eaglechen/river_metrics_transformer

About

transform go-mysql-elasticsearch river stats to prometheus metrics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published