@@ -35,7 +35,6 @@ pub(crate) struct GeneralSourceMetricDefs {
3535 // Source metrics
3636 pub ( crate ) capability : UIntGaugeVec ,
3737 pub ( crate ) resume_upper : IntGaugeVec ,
38- pub ( crate ) inmemory_remap_bindings : UIntGaugeVec ,
3938 pub ( crate ) commit_upper_ready_times : UIntGaugeVec ,
4039 pub ( crate ) commit_upper_accepted_times : UIntGaugeVec ,
4140
@@ -69,11 +68,6 @@ impl GeneralSourceMetricDefs {
6968 help: "The timestamp-domain resumption frontier chosen for a source's ingestion" ,
7069 var_labels: [ "source_id" ] ,
7170 ) ) ,
72- inmemory_remap_bindings : registry. register ( metric ! (
73- name: "mz_source_inmemory_remap_bindings" ,
74- help: "The number of in-memory remap bindings that reclocking a time needs to iterate over." ,
75- var_labels: [ "source_id" , "worker_id" ] ,
76- ) ) ,
7771 commit_upper_ready_times : registry. register ( metric ! (
7872 name: "mz_source_commit_upper_ready_times" ,
7973 help: "The number of ready remap bindings that are held in the reclock commit upper operator." ,
@@ -130,8 +124,6 @@ pub(crate) struct SourceMetrics {
130124 pub ( crate ) capability : DeleteOnDropGauge < ' static , AtomicU64 , Vec < String > > ,
131125 /// The resume_upper for a source.
132126 pub ( crate ) resume_upper : DeleteOnDropGauge < ' static , AtomicI64 , Vec < String > > ,
133- /// The number of in-memory remap bindings that reclocking a time needs to iterate over.
134- pub ( crate ) inmemory_remap_bindings : DeleteOnDropGauge < ' static , AtomicU64 , Vec < String > > ,
135127 /// The number of ready remap bindings that are held in the reclock commit upper operator.
136128 pub ( crate ) commit_upper_ready_times : DeleteOnDropGauge < ' static , AtomicU64 , Vec < String > > ,
137129 /// The number of accepted remap bindings that are held in the reclock commit upper operator.
@@ -156,9 +148,6 @@ impl SourceMetrics {
156148 resume_upper : defs
157149 . resume_upper
158150 . get_delete_on_drop_metric ( vec ! [ source_id. to_string( ) ] ) ,
159- inmemory_remap_bindings : defs
160- . inmemory_remap_bindings
161- . get_delete_on_drop_metric ( vec ! [ source_id. to_string( ) , worker_id. to_string( ) ] ) ,
162151 commit_upper_ready_times : defs
163152 . commit_upper_ready_times
164153 . get_delete_on_drop_metric ( vec ! [ source_id. to_string( ) , worker_id. to_string( ) ] ) ,
@@ -260,9 +249,6 @@ pub(crate) struct SourceMetricDefs {
260249 pub ( crate ) kafka_source_defs : kafka:: KafkaSourceMetricDefs ,
261250 /// A cluster-wide counter shared across all sources.
262251 pub ( crate ) bytes_read : IntCounter ,
263-
264- // Additional metrics definitions;
265- pub ( crate ) channel_metric_defs : super :: channel:: ChannelMetricDefs ,
266252}
267253
268254impl SourceMetricDefs {
@@ -276,7 +262,6 @@ impl SourceMetricDefs {
276262 name: "mz_bytes_read_total" ,
277263 help: "Count of bytes read from sources" ,
278264 ) ) ,
279- channel_metric_defs : super :: channel:: ChannelMetricDefs :: register_with ( registry) ,
280265 }
281266 }
282267}
0 commit comments