Skip to content

Commit 4115afc

Browse files
authored
[server] Remove a global disk quota metric (#860)
* remove a global disk quota metric
1 parent 4dd7d41 commit 4115afc

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed

clients/da-vinci-client/src/main/java/com/linkedin/davinci/stats/HostLevelIngestionStats.java

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -271,11 +271,6 @@ public HostLevelIngestionStats(
271271
"ingestion_stuck_by_memory_constraint"));
272272

273273
// Stats which are per-store only:
274-
// disk quota allowed for a store without replication. It should be as a straight line unless we bumps the disk
275-
// quota
276-
// allowed.
277-
registerSensor(new AsyncGauge((ignored, ignored2) -> diskQuotaAllowedGauge, "global_store_disk_quota_allowed"));
278-
279274
String keySizeSensorName = "record_key_size_in_bytes";
280275
this.keySizeSensor = registerSensor(
281276
keySizeSensorName,

services/venice-server/src/test/java/com/linkedin/venice/stats/AggHostLevelIngestionStatsTest.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,6 @@ public void testMetrics() {
7979
Assert.assertEquals(
8080
reporter.query(".total--bytes_read_from_kafka_as_uncompressed_size.Rate").value(),
8181
300d / LongAdderRateGauge.RATE_GAUGE_CACHE_DURATION_IN_SECONDS);
82-
Assert.assertEquals(reporter.query("." + STORE_FOO + "--global_store_disk_quota_allowed.Gauge").value(), 200d);
8382

8483
Assert.assertEquals(
8584
reporter.query(".total--records_consumed.Rate").value(),

0 commit comments

Comments
 (0)