Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type LabelNames ¶
type LabelNames struct { Channel basemetrics.LabelName AppVer basemetrics.LabelName AppSdkFabricVer basemetrics.LabelName FailTransferTag basemetrics.LabelName TransferStatus basemetrics.LabelName }
func Labels ¶
func Labels() LabelNames
type Metrics ¶
type Metrics interface { TotalTransferCreated() basemetrics.Counter TotalReconnectsToFabric() basemetrics.Counter TotalSuccessTransfer() basemetrics.Counter TotalFailureTransfer() basemetrics.Counter TotalInWorkTransfer() basemetrics.Gauge AppInitDuration() basemetrics.Gauge FabricConnectionStatus() basemetrics.Gauge TimeDurationCompleteTransferBeforeResponding() basemetrics.Histogram TransferExecutionTimeDuration() basemetrics.Histogram TransferStageExecutionTimeDuration() basemetrics.Histogram CollectorProcessBlockNum() basemetrics.Gauge AppInfo() basemetrics.Counter CreateChild(labels ...basemetrics.Label) Metrics }
func FromContext ¶
FromContext gets Logger from the Context.
Click to show internal directories.
Click to hide internal directories.