Skip to content
This repository has been archived by the owner on Sep 12, 2020. It is now read-only.

docker-archive/infra-heka_dashboard_exporter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 

Repository files navigation

heka_dashboard_exporter

heka_dashboard_exporter is a very simple application that connects to the heka dashboard and exports the data for Prometheus consumption. Currently, the exporter is hard-coded to consume these heka sub-systems:

  • decoders
  • encoders
  • filters
  • globals
  • outputs

You must enable the DashboardOutput in heka. Also, I recommend setting the interval to be something less than your Prometheus scraping interval.

[DashboardOutput]
ticker_interval = 15

Then, start the exporter like this:

./heka_dashboard_exporter -heka.url="http://127.0.0.1:4352/data/heka_report.json"

Prometheus-compatible metrics will be available at http://127.0.0.1:9111/metrics

To listen on an alternate port, use the web.listen-address flag:

./heka_dashboard_exporter -heka.url="http://127.0.0.1:4352/data/heka_report.json" -web.listen-address=":9999"

Docker container

If you prefer, you can run the pre-built docker container with the same options as above:

docker run -d -p 9111:9111 dckr/heka_dashboard_exporter -heka.url="http://somehekainstance:4352/data/heka_report.json"

About

prometheus exporter for heka logging daemon

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages