Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add AdminMetrics to expose the status of admin #814

Merged
merged 4 commits into from
Oct 3, 2022

Conversation

chia7712
Copy link
Contributor

@chia7712 chia7712 commented Oct 3, 2022

我們的 web and gui 都仰賴大量的 admin operations,因此需要一個方式來暴露 admin metrics

@@ -112,18 +108,10 @@ default double ioTimeNsAvg() {
return (double) beanObject().attributes().get("io-time-ns-avg");
}

default double iotimeTotal() {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

這幾個都是 deprecated metrics 所以刪除

@@ -164,6 +164,10 @@ default double reauthenticationLatencyAvg() {
return (double) beanObject().attributes().get("reauthentication-latency-avg");
}

default double reauthenticationLatencyMax() {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

之前漏掉的metrics

@chia7712 chia7712 merged commit 233747e into opensource4you:main Oct 3, 2022
@chia7712
Copy link
Contributor Author

chia7712 commented Oct 3, 2022

failed test is traced by #815

@chia7712 chia7712 deleted the add_admin_metrics branch November 6, 2022 09:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant