|
74 | 74 | PeerCount = stats.Int64("peer/count", "Current number of FIL peers", stats.UnitDimensionless)
|
75 | 75 | APIRequestDuration = stats.Float64("api/request_duration_ms", "Duration of API requests", stats.UnitMilliseconds)
|
76 | 76 |
|
77 |
| - // graphsync |
78 |
| - |
79 |
| - GraphsyncReceivingPeersCount = stats.Int64("graphsync/receiving_peers", "number of peers we are receiving graphsync data from", stats.UnitDimensionless) |
80 |
| - GraphsyncReceivingActiveCount = stats.Int64("graphsync/receiving_active", "number of active receiving graphsync transfers", stats.UnitDimensionless) |
81 |
| - GraphsyncReceivingCountCount = stats.Int64("graphsync/receiving_pending", "number of pending receiving graphsync transfers", stats.UnitDimensionless) |
82 |
| - GraphsyncReceivingTotalMemoryAllocated = stats.Int64("graphsync/receiving_total_allocated", "amount of block memory allocated for receiving graphsync data", stats.UnitBytes) |
83 |
| - GraphsyncReceivingTotalPendingAllocations = stats.Int64("graphsync/receiving_pending_allocations", "amount of block memory on hold being received pending allocation", stats.UnitBytes) |
84 |
| - GraphsyncReceivingPeersPending = stats.Int64("graphsync/receiving_peers_pending", "number of peers we can't receive more data from cause of pending allocations", stats.UnitDimensionless) |
85 |
| - |
86 |
| - GraphsyncSendingPeersCount = stats.Int64("graphsync/sending_peers", "number of peers we are sending graphsync data to", stats.UnitDimensionless) |
87 |
| - GraphsyncSendingActiveCount = stats.Int64("graphsync/sending_active", "number of active sending graphsync transfers", stats.UnitDimensionless) |
88 |
| - GraphsyncSendingCountCount = stats.Int64("graphsync/sending_pending", "number of pending sending graphsync transfers", stats.UnitDimensionless) |
89 |
| - GraphsyncSendingTotalMemoryAllocated = stats.Int64("graphsync/sending_total_allocated", "amount of block memory allocated for sending graphsync data", stats.UnitBytes) |
90 |
| - GraphsyncSendingTotalPendingAllocations = stats.Int64("graphsync/sending_pending_allocations", "amount of block memory on hold from sending pending allocation", stats.UnitBytes) |
91 |
| - GraphsyncSendingPeersPending = stats.Int64("graphsync/sending_peers_pending", "number of peers we can't send more data to cause of pending allocations", stats.UnitDimensionless) |
92 |
| - |
93 | 77 | // chain
|
94 | 78 | ChainNodeHeight = stats.Int64("chain/node_height", "Current Height of the node", stats.UnitDimensionless)
|
95 | 79 | ChainNodeHeightExpected = stats.Int64("chain/node_height_expected", "Expected Height of the node", stats.UnitDimensionless)
|
@@ -580,56 +564,6 @@ var (
|
580 | 564 | Aggregation: view.Sum(),
|
581 | 565 | }
|
582 | 566 |
|
583 |
| - // graphsync |
584 |
| - GraphsyncReceivingPeersCountView = &view.View{ |
585 |
| - Measure: GraphsyncReceivingPeersCount, |
586 |
| - Aggregation: view.LastValue(), |
587 |
| - } |
588 |
| - GraphsyncReceivingActiveCountView = &view.View{ |
589 |
| - Measure: GraphsyncReceivingActiveCount, |
590 |
| - Aggregation: view.LastValue(), |
591 |
| - } |
592 |
| - GraphsyncReceivingCountCountView = &view.View{ |
593 |
| - Measure: GraphsyncReceivingCountCount, |
594 |
| - Aggregation: view.LastValue(), |
595 |
| - } |
596 |
| - GraphsyncReceivingTotalMemoryAllocatedView = &view.View{ |
597 |
| - Measure: GraphsyncReceivingTotalMemoryAllocated, |
598 |
| - Aggregation: view.LastValue(), |
599 |
| - } |
600 |
| - GraphsyncReceivingTotalPendingAllocationsView = &view.View{ |
601 |
| - Measure: GraphsyncReceivingTotalPendingAllocations, |
602 |
| - Aggregation: view.LastValue(), |
603 |
| - } |
604 |
| - GraphsyncReceivingPeersPendingView = &view.View{ |
605 |
| - Measure: GraphsyncReceivingPeersPending, |
606 |
| - Aggregation: view.LastValue(), |
607 |
| - } |
608 |
| - GraphsyncSendingPeersCountView = &view.View{ |
609 |
| - Measure: GraphsyncSendingPeersCount, |
610 |
| - Aggregation: view.LastValue(), |
611 |
| - } |
612 |
| - GraphsyncSendingActiveCountView = &view.View{ |
613 |
| - Measure: GraphsyncSendingActiveCount, |
614 |
| - Aggregation: view.LastValue(), |
615 |
| - } |
616 |
| - GraphsyncSendingCountCountView = &view.View{ |
617 |
| - Measure: GraphsyncSendingCountCount, |
618 |
| - Aggregation: view.LastValue(), |
619 |
| - } |
620 |
| - GraphsyncSendingTotalMemoryAllocatedView = &view.View{ |
621 |
| - Measure: GraphsyncSendingTotalMemoryAllocated, |
622 |
| - Aggregation: view.LastValue(), |
623 |
| - } |
624 |
| - GraphsyncSendingTotalPendingAllocationsView = &view.View{ |
625 |
| - Measure: GraphsyncSendingTotalPendingAllocations, |
626 |
| - Aggregation: view.LastValue(), |
627 |
| - } |
628 |
| - GraphsyncSendingPeersPendingView = &view.View{ |
629 |
| - Measure: GraphsyncSendingPeersPending, |
630 |
| - Aggregation: view.LastValue(), |
631 |
| - } |
632 |
| - |
633 | 567 | // rcmgr
|
634 | 568 | RcmgrAllowConnView = &view.View{
|
635 | 569 | Measure: RcmgrAllowConn,
|
@@ -710,19 +644,6 @@ var views = []*view.View{
|
710 | 644 | PeerCountView,
|
711 | 645 | APIRequestDurationView,
|
712 | 646 |
|
713 |
| - GraphsyncReceivingPeersCountView, |
714 |
| - GraphsyncReceivingActiveCountView, |
715 |
| - GraphsyncReceivingCountCountView, |
716 |
| - GraphsyncReceivingTotalMemoryAllocatedView, |
717 |
| - GraphsyncReceivingTotalPendingAllocationsView, |
718 |
| - GraphsyncReceivingPeersPendingView, |
719 |
| - GraphsyncSendingPeersCountView, |
720 |
| - GraphsyncSendingActiveCountView, |
721 |
| - GraphsyncSendingCountCountView, |
722 |
| - GraphsyncSendingTotalMemoryAllocatedView, |
723 |
| - GraphsyncSendingTotalPendingAllocationsView, |
724 |
| - GraphsyncSendingPeersPendingView, |
725 |
| - |
726 | 647 | RcmgrAllowConnView,
|
727 | 648 | RcmgrBlockConnView,
|
728 | 649 | RcmgrAllowStreamView,
|
|
0 commit comments