Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

class HomeObjectConan(ConanFile):
name = "homeobject"
version = "4.1.0"
version = "4.1.1"

homepage = "https://github.com/eBay/HomeObject"
description = "Blob Store built on HomeStore"
Expand Down Expand Up @@ -49,7 +49,7 @@ def build_requirements(self):
self.test_requires("gtest/1.17.0")

def requirements(self):
self.requires("sisl/[^13.0]@oss/master", transitive_headers=True)
self.requires("sisl/[^13.2.3]@oss/master", transitive_headers=True)
self.requires("homestore/[^7.4]@oss/master")
self.requires("iomgr/[^12.0]@oss/master")

Expand Down
8 changes: 4 additions & 4 deletions src/lib/homestore_backend/gc_manager.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -137,16 +137,16 @@ class GCManager {

// gc task level histogram metrics
REGISTER_HISTOGRAM(reclaim_ratio_gc, "the ratio of reclaimed blks to total blks in a gc task",
HistogramBucketsType(PercentileBuckets)); // 0% to 100% in 128 buckets
HistogramBucketsType(PercentileBuckets)); // 0% to 100% in 10 buckets (10% increments)
REGISTER_HISTOGRAM(
gc_time_duration_s_gc, "how long a successful gc task takes by second",
HistogramBucketsType(LinearUpto64Buckets)); // gc task is expected to finish within 1 minutes
HistogramBucketsType(LinearUpto64Buckets)); // 17 buckets covering 0-64 seconds in 4s increments

REGISTER_HISTOGRAM(reclaim_ratio_egc, "the ratio of reclaimed blks to total blks in an egc task",
HistogramBucketsType(PercentileBuckets)); // 0% to 100% in 128 buckets
HistogramBucketsType(PercentileBuckets)); // 0% to 100% in 10 buckets (10% increments)
REGISTER_HISTOGRAM(
gc_time_duration_s_egc, "how long a successful egc task takes by second",
HistogramBucketsType(LinearUpto64Buckets)); // gc task is expected to finish within 1 minutes
HistogramBucketsType(LinearUpto64Buckets)); // 17 buckets covering 0-64 seconds in 4s increments

register_me_to_farm();
attach_gather_cb(std::bind(&pdev_gc_metrics::on_gather, this));
Expand Down
12 changes: 8 additions & 4 deletions src/lib/homestore_backend/hs_homeobject.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -576,10 +576,12 @@ class HSHomeObject : public HomeObjectImpl {
REGISTER_COUNTER(snp_dnr_error_count, "Error times when reading blobs in baseline resync");
REGISTER_HISTOGRAM(snp_dnr_blob_process_latency,
"Time cost(us) of successfully process a blob in baseline resync",
HistogramBucketsType(LowResolutionLatecyBuckets));
HistogramBucketsType(LowResolutionLatecyBuckets),
_publish_as::publish_as_sum_count);
REGISTER_HISTOGRAM(snp_dnr_batch_process_latency,
"Time cost(ms) of successfully process a batch in baseline resync",
HistogramBucketsType(LowResolutionLatecyBuckets));
HistogramBucketsType(LowResolutionLatecyBuckets),
_publish_as::publish_as_sum_count);
REGISTER_HISTOGRAM(snp_dnr_batch_e2e_latency,
"Time cost(ms) of a batch end-to-end round trip in baseline resync",
HistogramBucketsType(LowResolutionLatecyBuckets));
Expand Down Expand Up @@ -682,10 +684,12 @@ class HSHomeObject : public HomeObjectImpl {
REGISTER_GAUGE(snp_rcvr_error_count, "Error count in baseline resync");
REGISTER_HISTOGRAM(snp_rcvr_blob_process_time,
"Time cost(us) of successfully process a blob in baseline resync",
HistogramBucketsType(LowResolutionLatecyBuckets));
HistogramBucketsType(LowResolutionLatecyBuckets),
_publish_as::publish_as_sum_count);
REGISTER_HISTOGRAM(snp_rcvr_batch_process_time,
"Time cost(ms) of successfully process a batch in baseline resync",
HistogramBucketsType(LowResolutionLatecyBuckets));
HistogramBucketsType(LowResolutionLatecyBuckets),
_publish_as::publish_as_sum_count);

attach_gather_cb(std::bind(&ReceiverSnapshotMetrics::on_gather, this));
register_me_to_farm();
Expand Down
Loading