mirror of
https://github.com/apple/foundationdb.git
synced 2025-05-15 02:18:39 +08:00
format
This commit is contained in:
parent
9398a78a3a
commit
1f134d1534
@ -1213,8 +1213,8 @@ void updateRate(RatekeeperData* self, RatekeeperLimits* limits) {
|
|||||||
.detail("WorstStorageServerDurabilityLag", worstDurabilityLag)
|
.detail("WorstStorageServerDurabilityLag", worstDurabilityLag)
|
||||||
.detail("LimitingStorageServerDurabilityLag", limitingDurabilityLag)
|
.detail("LimitingStorageServerDurabilityLag", limitingDurabilityLag)
|
||||||
.detail("TagsAutoThrottled", self->throttledTags.autoThrottleCount())
|
.detail("TagsAutoThrottled", self->throttledTags.autoThrottleCount())
|
||||||
.detail("TagsAutoThrottledBusyRead", self->throttledTags.busyReadTagCount)
|
.detail("TagsAutoThrottledBusyRead", self->throttledTags.busyReadTagCount)
|
||||||
.detail("TagsAutoThrottledBusyWrite", self->throttledTags.busyWriteTagCount)
|
.detail("TagsAutoThrottledBusyWrite", self->throttledTags.busyWriteTagCount)
|
||||||
.detail("TagsManuallyThrottled", self->throttledTags.manualThrottleCount())
|
.detail("TagsManuallyThrottled", self->throttledTags.manualThrottleCount())
|
||||||
.detail("AutoThrottlingEnabled", self->autoThrottlingEnabled)
|
.detail("AutoThrottlingEnabled", self->autoThrottlingEnabled)
|
||||||
.trackLatest(name);
|
.trackLatest(name);
|
||||||
|
@ -1784,22 +1784,22 @@ ACTOR static Future<JsonBuilderObject> workloadStatusFetcher(Reference<AsyncVar<
|
|||||||
JsonBuilderObject throttledTagsObj;
|
JsonBuilderObject throttledTagsObj;
|
||||||
JsonBuilderObject autoThrottledTagsObj, recommendThrottleTagsObj;
|
JsonBuilderObject autoThrottledTagsObj, recommendThrottleTagsObj;
|
||||||
if(autoThrottlingEnabled) {
|
if(autoThrottlingEnabled) {
|
||||||
autoThrottledTagsObj["count"] = autoThrottledTags;
|
autoThrottledTagsObj["count"] = autoThrottledTags;
|
||||||
autoThrottledTagsObj["busy_read"] = autoThrottledTagsBusyRead;
|
autoThrottledTagsObj["busy_read"] = autoThrottledTagsBusyRead;
|
||||||
autoThrottledTagsObj["busy_write"] = autoThrottledTagsBusyWrite;
|
autoThrottledTagsObj["busy_write"] = autoThrottledTagsBusyWrite;
|
||||||
|
|
||||||
recommendThrottleTagsObj["count"] = 0;
|
recommendThrottleTagsObj["count"] = 0;
|
||||||
recommendThrottleTagsObj["busy_read"] = 0;
|
recommendThrottleTagsObj["busy_read"] = 0;
|
||||||
recommendThrottleTagsObj["busy_write"] = 0;
|
recommendThrottleTagsObj["busy_write"] = 0;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
recommendThrottleTagsObj["count"] = autoThrottledTags;
|
recommendThrottleTagsObj["count"] = autoThrottledTags;
|
||||||
recommendThrottleTagsObj["busy_read"] = autoThrottledTagsBusyRead;
|
recommendThrottleTagsObj["busy_read"] = autoThrottledTagsBusyRead;
|
||||||
recommendThrottleTagsObj["busy_write"] = autoThrottledTagsBusyWrite;
|
recommendThrottleTagsObj["busy_write"] = autoThrottledTagsBusyWrite;
|
||||||
|
|
||||||
autoThrottledTagsObj["count"] = 0;
|
autoThrottledTagsObj["count"] = 0;
|
||||||
autoThrottledTagsObj["busy_read"] = 0;
|
autoThrottledTagsObj["busy_read"] = 0;
|
||||||
autoThrottledTagsObj["busy_write"] = 0;
|
autoThrottledTagsObj["busy_write"] = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
throttledTagsObj["auto"] = autoThrottledTagsObj;
|
throttledTagsObj["auto"] = autoThrottledTagsObj;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user