amoro
amoro copied to clipboard
[Feature]: Support Exposing AMS High Availability (HA) Status
Description
Support Exposing AMS High Availability (HA) Status
Use case/motivation
I hope to obtain the master-slave status of AMS through HTTP and metrics.
Describe the solution
We can introduce a member variable to identify the master/slave status of the AMS. The HTTP interface and metrics can then use this field to retrieve the AMS's master/slave status.
Subtasks
No response
Related issues
No response
Are you willing to submit a PR?
- [x] Yes I am willing to submit a PR!
Code of Conduct
- [x] I agree to follow this project's Code of Conduct