First, big thanks to the guys from cardano-community / guild-operators for the great tools.
In gLiveView in BP node there is KES expiration date
Is it possible to add this info to my Grafana dashboard?
In gLiveView, I inspected the code and the formula is
expiration_time_sec=$(( current_time_sec - ( SLOT_LENGTH * (tip_ref % SLOTS_PER_KES_PERIOD) ) + ( SLOT_LENGTH * SLOTS_PER_KES_PERIOD * remaining_kes_periods ) ))
But if anyone has done this already I will be grateful if they can share how to set up dashboard control for this.
Yes, u can
This is the metric:
cardano_node_metrics_remainingKESPeriods_int
PS: the remaining days from grafana should be multiplied with 1.5 to result the expiration date from glive
So cardano_node_metrics_remainingKESPeriods_int * 1.5 = remaining days
bettr
7 April 2021 08:47
5
curious, how do find different metric properties?
You can check all metric properties on Prometheus frontend.
http://Prometheus_IP_RELAY:Prometheus_PORT_RELAY/targets
bettr
8 April 2021 08:04
7
Is there an alternative way to pull up this info? Im not able to access that endpoint for some reason.