Documentation ¶
Index ¶
- type MetricsBus
- func (m *MetricsBus) AppInfo() basemetrics.Counter
- func (m *MetricsBus) AppInitDuration() basemetrics.Gauge
- func (m *MetricsBus) BatchCollectTime() basemetrics.Histogram
- func (m *MetricsBus) BatchExecuteInvokeTime() basemetrics.Histogram
- func (m *MetricsBus) BatchItemsCount() basemetrics.Histogram
- func (m *MetricsBus) BatchSize() basemetrics.Histogram
- func (m *MetricsBus) BatchSizeEstimatedDiff() basemetrics.Histogram
- func (m *MetricsBus) BlockTxCount() basemetrics.Histogram
- func (m *MetricsBus) CollectorProcessBlockNum() basemetrics.Gauge
- func (m *MetricsBus) CreateChild(labels ...basemetrics.Label) metrics.Metrics
- func (m *MetricsBus) HeightLedgerBlocks() basemetrics.Gauge
- func (m *MetricsBus) TotalBatchExecuted() basemetrics.Counter
- func (m *MetricsBus) TotalBatchSize() basemetrics.Counter
- func (m *MetricsBus) TotalExecutedTx() basemetrics.Counter
- func (m *MetricsBus) TotalOrderingReqSizeExceeded() basemetrics.Counter
- func (m *MetricsBus) TotalRobotStarted() basemetrics.Counter
- func (m *MetricsBus) TotalRobotStopped() basemetrics.Counter
- func (m *MetricsBus) TotalSrcChErrors() basemetrics.Counter
- func (m *MetricsBus) TxWaitingCount() basemetrics.Gauge
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MetricsBus ¶
type MetricsBus struct {
// contains filtered or unexported fields
}
func NewMetrics ¶
func NewMetrics(ctx context.Context, mPrefix string) (*MetricsBus, error)
func (*MetricsBus) AppInfo ¶
func (m *MetricsBus) AppInfo() basemetrics.Counter
func (*MetricsBus) AppInitDuration ¶
func (m *MetricsBus) AppInitDuration() basemetrics.Gauge
func (*MetricsBus) BatchCollectTime ¶
func (m *MetricsBus) BatchCollectTime() basemetrics.Histogram
func (*MetricsBus) BatchExecuteInvokeTime ¶
func (m *MetricsBus) BatchExecuteInvokeTime() basemetrics.Histogram
func (*MetricsBus) BatchItemsCount ¶
func (m *MetricsBus) BatchItemsCount() basemetrics.Histogram
func (*MetricsBus) BatchSize ¶
func (m *MetricsBus) BatchSize() basemetrics.Histogram
func (*MetricsBus) BatchSizeEstimatedDiff ¶
func (m *MetricsBus) BatchSizeEstimatedDiff() basemetrics.Histogram
func (*MetricsBus) BlockTxCount ¶
func (m *MetricsBus) BlockTxCount() basemetrics.Histogram
func (*MetricsBus) CollectorProcessBlockNum ¶
func (m *MetricsBus) CollectorProcessBlockNum() basemetrics.Gauge
func (*MetricsBus) CreateChild ¶
func (m *MetricsBus) CreateChild(labels ...basemetrics.Label) metrics.Metrics
func (*MetricsBus) HeightLedgerBlocks ¶
func (m *MetricsBus) HeightLedgerBlocks() basemetrics.Gauge
func (*MetricsBus) TotalBatchExecuted ¶
func (m *MetricsBus) TotalBatchExecuted() basemetrics.Counter
func (*MetricsBus) TotalBatchSize ¶
func (m *MetricsBus) TotalBatchSize() basemetrics.Counter
func (*MetricsBus) TotalExecutedTx ¶
func (m *MetricsBus) TotalExecutedTx() basemetrics.Counter
func (*MetricsBus) TotalOrderingReqSizeExceeded ¶
func (m *MetricsBus) TotalOrderingReqSizeExceeded() basemetrics.Counter
func (*MetricsBus) TotalRobotStarted ¶
func (m *MetricsBus) TotalRobotStarted() basemetrics.Counter
func (*MetricsBus) TotalRobotStopped ¶
func (m *MetricsBus) TotalRobotStopped() basemetrics.Counter
func (*MetricsBus) TotalSrcChErrors ¶
func (m *MetricsBus) TotalSrcChErrors() basemetrics.Counter
func (*MetricsBus) TxWaitingCount ¶
func (m *MetricsBus) TxWaitingCount() basemetrics.Gauge
Click to show internal directories.
Click to hide internal directories.