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
Currently the BS tries to encode the interface state into a state label in the beacon_srv_ifstate metric:
# HELP beacon_srv_ifstate Interface state, 0 means down, 1 up. More details in labels (ifid, state)
# TYPE beacon_srv_ifstate gauge
beacon_srv_ifstate{elem="bs64-2_0_3-1",ifid="1",state="Active"} 1
This is not compatible with how prometheus metrics and timeseries work.
Instead, i suggest:
# HELP beacon_srv_ifstate Interface state, 0==inactive/expired/revoked, 1==active
# TYPE beacon_srv_ifstate gauge
beacon_srv_ifstate{elem="bs64-2_0_3-1",ifid="1"} 1
This way it's also forward-compatible with the simplifying of interface states in #2926.
The text was updated successfully, but these errors were encountered:
Remove the state label from the ifstate metric.
before:
# HELP beacon_srv_ifstate Interface state, 0 means down, 1 up. More details in labels (ifid, state)
# TYPE beacon_srv_ifstate gauge
beacon_srv_ifstate{elem="bs1-ff00_0_110-1",ifid="1",state="Active"} 1
now:
# HELP beacon_srv_ifstate Interface state, 0==inactive/expired/revoked, 1==active
# TYPE beacon_srv_ifstate gauge
beacon_srv_ifstate{elem="bs1-ff00_0_110-1",ifid="1"} 0
fixesscionproto#3103
Remove the state label from the ifstate metric.
before:
# HELP beacon_srv_ifstate Interface state, 0 means down, 1 up. More details in labels (ifid, state)
# TYPE beacon_srv_ifstate gauge
beacon_srv_ifstate{elem="bs1-ff00_0_110-1",ifid="1",state="Active"} 1
now:
# HELP beacon_srv_ifstate Interface state, 0==inactive/expired/revoked, 1==active
# TYPE beacon_srv_ifstate gauge
beacon_srv_ifstate{elem="bs1-ff00_0_110-1",ifid="1"} 0
fixesscionproto#3103
Remove the state label from the ifstate metric.
before:
# HELP beacon_srv_ifstate Interface state, 0 means down, 1 up. More details in labels (ifid, state)
# TYPE beacon_srv_ifstate gauge
beacon_srv_ifstate{elem="bs1-ff00_0_110-1",ifid="1",state="Active"} 1
now:
# HELP beacon_srv_ifstate Interface state, 0==inactive/expired/revoked, 1==active
# TYPE beacon_srv_ifstate gauge
beacon_srv_ifstate{elem="bs1-ff00_0_110-1",ifid="1"} 0
fixes#3103
Currently the BS tries to encode the interface state into a
state
label in thebeacon_srv_ifstate
metric:This is not compatible with how prometheus metrics and timeseries work.
Instead, i suggest:
This way it's also forward-compatible with the simplifying of interface states in #2926.
The text was updated successfully, but these errors were encountered: