prometheus

package
v0.0.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 19, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL