diff --git a/pkg/ccl/streamingccl/streamingest/metrics.go b/pkg/ccl/streamingccl/streamingest/metrics.go index c2858cd5ad36..18cba44f8fb1 100644 --- a/pkg/ccl/streamingccl/streamingest/metrics.go +++ b/pkg/ccl/streamingccl/streamingest/metrics.go @@ -155,7 +155,6 @@ func MakeMetrics(histogramWindow time.Duration) metric.Struct { Buckets: metric.BatchProcessLatencyBuckets, MaxVal: streamingFlushHistMaxLatency.Nanoseconds(), SigFigs: 1, - Mode: metric.HistogramModePreferHdrLatency, }), CommitLatency: metric.NewHistogram(metric.HistogramOptions{ Metadata: metaReplicationCommitLatency, @@ -163,7 +162,6 @@ func MakeMetrics(histogramWindow time.Duration) metric.Struct { Buckets: metric.BatchProcessLatencyBuckets, MaxVal: streamingCommitLatencyMaxValue.Nanoseconds(), SigFigs: 1, - Mode: metric.HistogramModePreferHdrLatency, }), AdmitLatency: metric.NewHistogram(metric.HistogramOptions{ Metadata: metaReplicationAdmitLatency, @@ -171,7 +169,6 @@ func MakeMetrics(histogramWindow time.Duration) metric.Struct { Buckets: metric.BatchProcessLatencyBuckets, MaxVal: streamingAdmitLatencyMaxValue.Nanoseconds(), SigFigs: 1, - Mode: metric.HistogramModePreferHdrLatency, }), RunningCount: metric.NewGauge(metaStreamsRunning), EarliestDataCheckpointSpan: metric.NewGauge(metaEarliestDataCheckpointSpan), diff --git a/pkg/util/metric/aggmetric/agg_metric_test.go b/pkg/util/metric/aggmetric/agg_metric_test.go index a139347d38db..605f7276b2f6 100644 --- a/pkg/util/metric/aggmetric/agg_metric_test.go +++ b/pkg/util/metric/aggmetric/agg_metric_test.go @@ -13,7 +13,6 @@ package aggmetric_test import ( "bufio" "bytes" - "fmt" "sort" "strings" "testing" @@ -93,7 +92,6 @@ func TestAggMetric(t *testing.T) { g3.Inc(3) g3.Dec(1) f2.Update(1.5) - fmt.Println(r) f3.Update(2.5) h2.RecordValue(10) h3.RecordValue(90) @@ -105,7 +103,6 @@ func TestAggMetric(t *testing.T) { }) t.Run("destroy", func(t *testing.T) { - fmt.Println(r) g3.Unlink() c2.Unlink() f3.Unlink()