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
We would like to add Prometheus gauge metrics for server feature gate, with the format of etcd_feature_enabled{name="featureName",stage="Alpha"} 1 if the feature is enabled.
Why is this needed?
To query which features are on.
What needs to be done?
Register new metrics in server/etcdserver/metrics.go
Set the metric values when starting new server in server/etcdserver/server.go, next to
@siyuanfoundation: GitHub didn't allow me to assign the following users: gangli113.
Note that only etcd-io members with read permissions, repo collaborators and people who have commented on this issue/PR can be assigned. Additionally, issues/PRs can only have 10 assignees at the same time.
For more information please see the contributor guide
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.
What would you like to be added?
As described in the feature gate KEP: https://github.com/kubernetes/enhancements/blob/master/keps/sig-etcd/4578-server-feature-gate/README.md#ways-to-query-feature-gate-state
We would like to add Prometheus gauge metrics for server feature gate, with the format of
etcd_feature_enabled{name="featureName",stage="Alpha"} 1
if the feature is enabled.Why is this needed?
To query which features are on.
What needs to be done?
Register new metrics in server/etcdserver/metrics.go
Set the metric values when starting new server in server/etcdserver/server.go, next to
etcd/server/etcdserver/server.go
Line 345 in 3cc3daf
The text was updated successfully, but these errors were encountered: