Skip to content

Instantly share code, notes, and snippets.

@Strykar
Created January 26, 2024 06:10
Show Gist options
  • Save Strykar/e32fd6a69ded4a4ea1adf3f9fb96c61a to your computer and use it in GitHub Desktop.
Save Strykar/e32fd6a69ded4a4ea1adf3f9fb96c61a to your computer and use it in GitHub Desktop.
Prometheus collector ouput
$ curl -L http://localhost:8000
# HELP python_gc_objects_collected_total Objects collected during gc
# TYPE python_gc_objects_collected_total counter
python_gc_objects_collected_total{generation="0"} 40994.0
python_gc_objects_collected_total{generation="1"} 97119.0
python_gc_objects_collected_total{generation="2"} 8755.0
# HELP python_gc_objects_uncollectable_total Uncollectable objects found during GC
# TYPE python_gc_objects_uncollectable_total counter
python_gc_objects_uncollectable_total{generation="0"} 0.0
python_gc_objects_uncollectable_total{generation="1"} 0.0
python_gc_objects_uncollectable_total{generation="2"} 0.0
# HELP python_gc_collections_total Number of times this generation was collected
# TYPE python_gc_collections_total counter
python_gc_collections_total{generation="0"} 349.0
python_gc_collections_total{generation="1"} 31.0
python_gc_collections_total{generation="2"} 2.0
# HELP python_info Python platform information
# TYPE python_info gauge
python_info{implementation="CPython",major="3",minor="11",patchlevel="6",version="3.11.6"} 1.0
# HELP process_virtual_memory_bytes Virtual memory size in bytes.
# TYPE process_virtual_memory_bytes gauge
process_virtual_memory_bytes 2.38829568e+08
# HELP process_resident_memory_bytes Resident memory size in bytes.
# TYPE process_resident_memory_bytes gauge
process_resident_memory_bytes 4.3388928e+07
# HELP process_start_time_seconds Start time of the process since unix epoch in seconds.
# TYPE process_start_time_seconds gauge
process_start_time_seconds 1.70620918735e+09
# HELP process_cpu_seconds_total Total user and system CPU time spent in seconds.
# TYPE process_cpu_seconds_total counter
process_cpu_seconds_total 2.23
# HELP process_open_fds Number of open file descriptors.
# TYPE process_open_fds gauge
process_open_fds 6.0
# HELP process_max_fds Maximum number of open file descriptors.
# TYPE process_max_fds gauge
process_max_fds 1024.0
# HELP gpon_temperature_celsius Temperature of the GPON device in Celsius
# TYPE gpon_temperature_celsius gauge
gpon_temperature_celsius 44.054688
# HELP gpon_voltage_volts Voltage of the GPON device in Volts
# TYPE gpon_voltage_volts gauge
gpon_voltage_volts 3.2327
# HELP gpon_tx_power_dbm Tx Power of the GPON device in dBm
# TYPE gpon_tx_power_dbm gauge
gpon_tx_power_dbm 2.464255
# HELP gpon_rx_power_dbm Rx Power of the GPON device in dBm
# TYPE gpon_rx_power_dbm gauge
gpon_rx_power_dbm -18.416301
# HELP gpon_bias_current_mA Bias Current of the GPON device in mA
# TYPE gpon_bias_current_mA gauge
gpon_bias_current_mA 16.6
# HELP gpon_onu_state ONU State of the GPON device
# TYPE gpon_onu_state gauge
gpon_onu_state 5.0
# HELP gpon_onu_id ONU ID of the GPON device
# TYPE gpon_onu_id gauge
gpon_onu_id 0.0
# HELP gpon_loid_status LOID Status of the GPON device
# TYPE gpon_loid_status gauge
gpon_loid_status 0.0
# HELP vlan_config_type VLAN Configuration Type (0=Auto, 1=Manual)
# TYPE vlan_config_type gauge
vlan_config_type 1.0
# HELP vlan_mode VLAN Mode (0=Transparent, 1=PVID)
# TYPE vlan_mode gauge
vlan_mode 0.0
# HELP vlan_number VLAN number
# TYPE vlan_number gauge
vlan_number 100.0
# HELP cpu_usage_percent CPU Usage of the device in percent
# TYPE cpu_usage_percent gauge
cpu_usage_percent 0.0
# HELP memory_usage_percent Memory Usage of the device in percent
# TYPE memory_usage_percent gauge
memory_usage_percent 50.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment