No pve Metrics
Closed this issue · 1 comments
yanne057 commented
Hello
I just installed prometheus-pve-exporter on the proxmox server itself and i dont get the pve metrics that are documented in the README.
Am i missing something?
My /etc/prometheus/pve.yml:
default:
user: pve-exporter@pve
password: PASSWORD
verify_ssl: false
I only get the following metrics:
# HELP python_gc_objects_collected_total Objects collected during gc
# TYPE python_gc_objects_collected_total counter
python_gc_objects_collected_total{generation="0"} 1912.0
python_gc_objects_collected_total{generation="1"} 118.0
python_gc_objects_collected_total{generation="2"} 0.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"} 69.0
python_gc_collections_total{generation="1"} 6.0
python_gc_collections_total{generation="2"} 0.0
# HELP python_info Python platform information
# TYPE python_info gauge
python_info{implementation="CPython",major="3",minor="11",patchlevel="2",version="3.11.2"} 1.0
# HELP process_virtual_memory_bytes Virtual memory size in bytes.
# TYPE process_virtual_memory_bytes gauge
process_virtual_memory_bytes 1.1493376e+08
# HELP process_resident_memory_bytes Resident memory size in bytes.
# TYPE process_resident_memory_bytes gauge
process_resident_memory_bytes 2.6013696e+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.72477946449e+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 0.03
# HELP process_open_fds Number of open file descriptors.
# TYPE process_open_fds gauge
process_open_fds 12.0
# HELP process_max_fds Maximum number of open file descriptors.
# TYPE process_max_fds gauge
process_max_fds 1024.0
# HELP pve_collection_duration_seconds Duration of collections by the PVE exporter
# TYPE pve_collection_duration_seconds summary
pve_collection_duration_seconds_count{module="default"} 0.0
pve_collection_duration_seconds_sum{module="default"} 0.0
# HELP pve_collection_duration_seconds_created Duration of collections by the PVE exporter
# TYPE pve_collection_duration_seconds_created gauge
pve_collection_duration_seconds_created{module="default"} 1.724779464624886e+09
# HELP pve_request_errors_total Errors in requests to PVE exporter
# TYPE pve_request_errors_total counter
pve_request_errors_total{module="default"} 0.0
# HELP pve_request_errors_created Errors in requests to PVE exporter
# TYPE pve_request_errors_created gauge
pve_request_errors_created{module="default"} 1.7247794646248798e+09
znerol commented
Please scrape the /pve
path instead of /metrics
. You can find detailed docs in the Readme and in the Wiki.