Documentation ¶
Index ¶
- type MetricsBus
- func (m *MetricsBus) AppInfo() basemetrics.Counter
- func (m *MetricsBus) AppInitDuration() basemetrics.Gauge
- func (m *MetricsBus) CollectorProcessBlockNum() basemetrics.Gauge
- func (m *MetricsBus) CreateChild(labels ...basemetrics.Label) metrics.Metrics
- func (m *MetricsBus) FabricConnectionStatus() basemetrics.Gauge
- func (m *MetricsBus) TimeDurationCompleteTransferBeforeResponding() basemetrics.Histogram
- func (m *MetricsBus) TotalFailureTransfer() basemetrics.Counter
- func (m *MetricsBus) TotalInWorkTransfer() basemetrics.Gauge
- func (m *MetricsBus) TotalReconnectsToFabric() basemetrics.Counter
- func (m *MetricsBus) TotalSuccessTransfer() basemetrics.Counter
- func (m *MetricsBus) TotalTransferCreated() basemetrics.Counter
- func (m *MetricsBus) TransferExecutionTimeDuration() basemetrics.Histogram
- func (m *MetricsBus) TransferStageExecutionTimeDuration() basemetrics.Histogram
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) CollectorProcessBlockNum ¶
func (m *MetricsBus) CollectorProcessBlockNum() basemetrics.Gauge
func (*MetricsBus) CreateChild ¶
func (m *MetricsBus) CreateChild(labels ...basemetrics.Label) metrics.Metrics
func (*MetricsBus) FabricConnectionStatus ¶
func (m *MetricsBus) FabricConnectionStatus() basemetrics.Gauge
func (*MetricsBus) TimeDurationCompleteTransferBeforeResponding ¶
func (m *MetricsBus) TimeDurationCompleteTransferBeforeResponding() basemetrics.Histogram
func (*MetricsBus) TotalFailureTransfer ¶
func (m *MetricsBus) TotalFailureTransfer() basemetrics.Counter
func (*MetricsBus) TotalInWorkTransfer ¶
func (m *MetricsBus) TotalInWorkTransfer() basemetrics.Gauge
func (*MetricsBus) TotalReconnectsToFabric ¶
func (m *MetricsBus) TotalReconnectsToFabric() basemetrics.Counter
func (*MetricsBus) TotalSuccessTransfer ¶
func (m *MetricsBus) TotalSuccessTransfer() basemetrics.Counter
func (*MetricsBus) TotalTransferCreated ¶
func (m *MetricsBus) TotalTransferCreated() basemetrics.Counter
func (*MetricsBus) TransferExecutionTimeDuration ¶
func (m *MetricsBus) TransferExecutionTimeDuration() basemetrics.Histogram
func (*MetricsBus) TransferStageExecutionTimeDuration ¶
func (m *MetricsBus) TransferStageExecutionTimeDuration() basemetrics.Histogram
Click to show internal directories.
Click to hide internal directories.