Skip to content
This repository has been archived by the owner on Dec 21, 2023. It is now read-only.

Github mirror - our actual code is hosted with Gerrit (please see https://www.mediawiki.org/wiki/Developer_access for contributing)

License

Notifications You must be signed in to change notification settings

wikimedia/operations-software-hhvm_exporter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Prometheus exporter for HHVM

Export health and runtime metrics from HHVM admin interface into Prometheus metrics.

Running

The easiest way to run hhvm_exporter is via a virtualenv:

virtualenv .venv
.venv/bin/python setup.py develop
.venv/bin/hhvm_exporter

By default metrics are polled from http://localhost:9002 and exposed on TCP port 9406:

curl localhost:9406/metrics -s | grep -v '^#'
hhvm_load 0.0
hhvm_memory_strings_bytes 13641543.0
hhvm_process_memory_bytes{segment="rss"} 443691008.0
hhvm_process_memory_bytes{segment="shared"} 101527552.0
...
hhvm_startup 1477007598.0
hhvm_up 1.0
hhvm_scrape_duration_seconds_count 14.0
hhvm_scrape_duration_seconds_sum 0.0016635158681310713

About

Github mirror - our actual code is hosted with Gerrit (please see https://www.mediawiki.org/wiki/Developer_access for contributing)

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages