Closed fmoledina closed 4 years ago
Cool thanks for reporting this. I was wondering what the value is going to be when it's not 0
and was hoping for 1
:) . Prometheus can't have date as a value so I'll force value to 1 if api returns anything other then 0 then.
I'll update the exporter soon to account for this.
One of my nodes has been suspended on all satellites (I'm hoping that I've fixed this issue). While it's in this state, I've noticed an error show up in my storj-exporter logs, preventing Prometheus from picking up the metrics. It appears that when a node is functioning normally,
storj_sat_summary{type="suspended"} = 0
. However, when the node is suspended (any maybe disqualified?), this value is equal to the timestamp when the suspension occurred. This results in a PythonValueError: could not convert string to float
. The full log entry is below: