Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

hhvm

Python module for ganglia 3.6

This module parses output from the HHVM AdminServer memory and health commands and creates "hhvm_*" metrics

This module supports two types of authentication:

  • HHVM built-in authentication using password on the URL (only password parameter needed)
  • HTTP Basic Authentication (username and password parameters needed)

## Metrics

  • hhvm_health_funcs
  • hhvm_health_hhbc_roarena_capac
  • hhvm_health_load
  • hhvm_health_queued
  • hhvm_health_rds
  • hhvm_health_target_cache
  • hhvm_health_units
  • hhvm_mem_breakdown_code_bytes
  • hhvm_mem_breakdown_static_strings_bytes
  • hhvm_mem_breakdown_static_strings_count
  • hhvm_mem_breakdown_tcjit_bytes
  • hhvm_mem_breakdown_tcjit_code_cold_capacity
  • hhvm_mem_breakdown_tcjit_code_cold_used
  • hhvm_mem_breakdown_tcjit_code_frozen_capacity
  • hhvm_mem_breakdown_tcjit_code_frozen_used
  • hhvm_mem_breakdown_tcjit_code_hot_capacity
  • hhvm_mem_breakdown_tcjit_code_hot_used
  • hhvm_mem_breakdown_tcjit_code_main_capacity
  • hhvm_mem_breakdown_tcjit_code_main_used
  • hhvm_mem_breakdown_tcjit_code_prof_capacity
  • hhvm_mem_breakdown_tcjit_code_prof_used
  • hhvm_mem_breakdown_tcjit_data_capacity
  • hhvm_mem_breakdown_tcjit_data_used
  • hhvm_mem_breakdown_tcjit_total_capacity
  • hhvm_mem_breakdown_tcjit_total_used
  • hhvm_mem_breakdown_unknown
  • hhvm_mem_procstats_code
  • hhvm_mem_procstats_data
  • hhvm_mem_procstats_shared
  • hhvm_mem_procstats_vmrss
  • hhvm_mem_procstats_vmsize
  • hhvm_jemalloc_low_allocated
  • hhvm_jemalloc_allocated
  • hhvm_jemalloc_mapped
  • hhvm_jemalloc_active
  • hhvm_jemalloc_low_mapped
  • hhvm_jemalloc_low_active
  • hhvm_jemalloc_error
  • hhvm_vm_tcspace_code_hot
  • hhvm_vm_tcspace_code_main
  • hhvm_vm_tcspace_code_prof
  • hhvm_vm_tcspace_code_cold
  • hhvm_vm_tcspace_code_frozen
  • hhvm_vm_tcspace_data
  • hhvm_vm_tcspace_rds
  • hhvm_vm_tcspace_rds_local
  • hhvm_vm_tcspace_persistent_rds
  • hhvm_vm_tcspace_cloned_closures
  • hhvm_vm_tcspace_total

Optional graphs

  • hhvm_jemalloc_aggregated_report
  • hhvm_mem_proc_report
  • hhvm_vm_rds_aggregated_report
  • hhvm_vm_tcspace_aggregated_report
  • hhvm_mem_tcjit_aggregated_report (hhvm >= 3.4)
  • hhvm_mem_tcjit_code_cold_report (hhvm >= 3.4)
  • hhvm_mem_tcjit_code_frozen_report (hhvm >= 3.4)
  • hhvm_mem_tcjit_code_hot_report (hhvm >= 3.4)
  • hhvm_mem_tcjit_code_main_report (hhvm >= 3.4)
  • hhvm_mem_tcjit_code_prof_report (hhvm >= 3.4)
  • hhvm_mem_tcjit_data_report (hhvm >= 3.4)
  • hhvm_mem_tcjit_total_report (hhvm >= 3.4)

Parameters

  • url (The URL for the HHVM AdminServer, mandatory, default: 'http://localhost/')
  • username (username for basic HTTP authentication, optional, default: '')
  • password (password for basic HTTP authentication or HHVM AdminServer built-in authentication, optional, default: '')

Changelog

  • v1.0.0 - 2015-01-15 - Initial version
  • v1.0.1 - 2015-02-10 - Added debug mode
  • v1.0.2 - 2015-02-12 - Added vm tc space metrics

## Notes

  • Tested with python 2.7 and Ganglia 3.6
  • Tested with HHVM 3.3.3, 3.4.2 and 3.5.0

AUTHORS

Juan J. Villalobos jj@debianized.net

## LICENSE

License to use, modify, and distribute under the GPL http://www.gnu.org/licenses/gpl-3.0.txt