Skip to content

Commit c7bd094

Browse files
ENG-57034: Disable reporting of standard database metrics
1 parent 87d1f9e commit c7bd094

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

docstore-metrics/src/main/java/org/hypertrace/core/serviceframework/docstore/metrics/DocStoreMetricsRegistry.java

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -167,11 +167,14 @@ public StandardDocStoreMetricsRegistry() {
167167
}
168168

169169
private void monitor() {
170-
executor.scheduleAtFixedRate(
171-
this::queryDocStoreAndSetMetricValues,
172-
INITIAL_DELAY_SECONDS,
173-
standardMetricsReportingInterval.toSeconds(),
174-
SECONDS);
170+
// TODO: Disabled for fixing ENG-57034
171+
// This module can be removed once we have an external monitoring solution
172+
173+
// executor.scheduleAtFixedRate(
174+
// this::queryDocStoreAndSetMetricValues,
175+
// INITIAL_DELAY_SECONDS,
176+
// standardMetricsReportingInterval.toSeconds(),
177+
// SECONDS);
175178
}
176179

177180
private AtomicLong registerConnectionCountMetric() {

0 commit comments

Comments
 (0)