@@ -15,7 +15,6 @@ type CollectionCollector struct {
1515 transactionsIngested prometheus.Counter // tracks the number of ingested transactions
1616 finalizedHeight * prometheus.GaugeVec // tracks the finalized height
1717 maxCollectionSize prometheus.Gauge // tracks the maximum collection size
18- proposals * prometheus.HistogramVec // tracks the number/size of PROPOSED collections
1918 guarantees * prometheus.HistogramVec // counts the number/size of FINALIZED collections
2019 collectionSize * prometheus.HistogramVec
2120 priorityTxns * prometheus.HistogramVec
@@ -48,14 +47,6 @@ func NewCollectionCollector(tracer module.Tracer) *CollectionCollector {
4847 Help : "last used max collection size" ,
4948 }),
5049
51- proposals : promauto .NewHistogramVec (prometheus.HistogramOpts {
52- Namespace : namespaceCollection ,
53- Subsystem : subsystemProposal ,
54- Buckets : []float64 {1 , 2 , 5 , 10 , 20 },
55- Name : "proposals_size_transactions" ,
56- Help : "size/number of proposed collections" ,
57- }, []string {LabelChain }),
58-
5950 guarantees : promauto .NewHistogramVec (prometheus.HistogramOpts {
6051 Namespace : namespaceCollection ,
6152 Subsystem : subsystemProposal ,
@@ -90,14 +81,6 @@ func (cc *CollectionCollector) TransactionIngested(txID flow.Identifier) {
9081 cc .transactionsIngested .Inc ()
9182}
9283
93- // ClusterBlockProposed tracks the size and number of proposals, as well as
94- // starting the collection->guarantee span.
95- func (cc * CollectionCollector ) ClusterBlockProposed (block * cluster.Block ) {
96- cc .proposals .
97- With (prometheus.Labels {LabelChain : block .ChainID .String ()}).
98- Observe (float64 (block .Payload .Collection .Len ()))
99- }
100-
10184// ClusterBlockFinalized updates the guaranteed collection size gauge and
10285// finishes the tx->collection span for each constituent transaction.
10386func (cc * CollectionCollector ) ClusterBlockFinalized (block * cluster.Block ) {
0 commit comments