Need help as our application is still using the /v2 endpoint to monitor etcd. But /v2 - API is deprecated now. #16076
Answered
by
jmhbnz
bipinchandra1
asked this question in
Q&A
-
We monitor following stats from these two endpoints - /v2/stats/self
/v2/stats/store
We need help as how to migrate these stats to /v3 endpoint. |
Beta Was this translation helpful? Give feedback.
Answered by
jmhbnz
Jun 15, 2023
Replies: 1 comment 6 replies
-
Hey @bipinchandra1 - Thanks for your question, please refer to etcd v3 monitoring documentation in the first instance: |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey @bipinchandra1 - Rather than trying to use metrics because they existed in v2 my suggestion would be to step back and review what it is you are trying to understand or prove through monitoring etcd metrics.
There are fundamental differences between v2 and v3 that mean some of the old approaches are no longer relevant, refer to https://etcd.io/docs/v3.5/learning/api_guarantees to refresh on the kv api guarantees that etcd v3 provides.
Please follow the documented approaches for monitoring etcd v3 and if you find that the monitoring is insufficient to prove a specific type of activity or behavior of etcd then you're welcome at that point to open a feature request explaining in detail wh…