You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using a standalone installation of Spoolman and would like to configure a Grafana dashboard to monitor statistics.
I was surprised to find that the /metrics endpoint (e.g., IP:7912/metrics) is available and returns metric descriptions. However, most of the Spoolman-specific metrics appear to be empty. Here is an excerpt from my metrics page:
# HELP python_gc_objects_collected_total Objects collected during gc
# TYPE python_gc_objects_collected_total counter
python_gc_objects_collected_total{generation="0"} 15432.0
python_gc_objects_collected_total{generation="1"} 4697.0
python_gc_objects_collected_total{generation="2"} 987.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"} 312.0
python_gc_collections_total{generation="1"} 28.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="12",patchlevel="3",version="3.12.3"} 1.0
# HELP process_virtual_memory_bytes Virtual memory size in bytes.
# TYPE process_virtual_memory_bytes gauge
process_virtual_memory_bytes 7.3836544e+08
# HELP process_resident_memory_bytes Resident memory size in bytes.
# TYPE process_resident_memory_bytes gauge
process_resident_memory_bytes 1.15740672e+08
# 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.73822401183e+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 10.8
# HELP process_open_fds Number of open file descriptors.
# TYPE process_open_fds gauge
process_open_fds 59.0
# HELP process_max_fds Maximum number of open file descriptors.
# TYPE process_max_fds gauge
process_max_fds 1024.0
# HELP spoolman_spool_price Total Spool price
# TYPE spoolman_spool_price gauge
# HELP spoolman_spool_weight_used Spool Used Weight
# TYPE spoolman_spool_weight_used gauge
# HELP spoolman_filament_info Filament information
# TYPE spoolman_filament_info gauge
# HELP spoolman_filament_density Density of filament
# TYPE spoolman_filament_density gauge
# HELP spoolman_filament_diameter Diameter of filament
# TYPE spoolman_filament_diameter gauge
# HELP spoolman_filament_weight Net weight of filament
# TYPE spoolman_filament_weight gauge
General system and Python-related metrics are populated correctly, but the Spoolman-related ones remain empty.
I am not very experienced in reading/debugging Spoolman’s code, so I was wondering if someone could help me troubleshoot this. Could this be a configuration issue? Do I need to adjust a setting or restart the service to populate these values?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello,
I am using a standalone installation of Spoolman and would like to configure a Grafana dashboard to monitor statistics.
I was surprised to find that the /metrics endpoint (e.g., IP:7912/metrics) is available and returns metric descriptions. However, most of the Spoolman-specific metrics appear to be empty. Here is an excerpt from my metrics page:
General system and Python-related metrics are populated correctly, but the Spoolman-related ones remain empty.
I am not very experienced in reading/debugging Spoolman’s code, so I was wondering if someone could help me troubleshoot this. Could this be a configuration issue? Do I need to adjust a setting or restart the service to populate these values?
Any guidance would be appreciated.
Beta Was this translation helpful? Give feedback.
All reactions