fabric-sdk-go: github.com/hyperledger/fabric-sdk-go/pkg/fabsdk/metrics Index | Files | Directories

package metrics

import "github.com/hyperledger/fabric-sdk-go/pkg/fabsdk/metrics"

Index

Package Files

metrics.go

type ClientMetrics Uses

type ClientMetrics struct {
    QueriesReceived    metrics.Counter
    QueriesFailed      metrics.Counter
    QueryDuration      metrics.Histogram
    QueryTimeouts      metrics.Counter
    ExecutionsReceived metrics.Counter
    ExecutionsFailed   metrics.Counter
    ExecutionDuration  metrics.Histogram
    ExecutionTimeouts  metrics.Counter
}

ClientMetrics contains the metrics used in the (channel) client

func NewClientMetrics Uses

func NewClientMetrics(p metrics.Provider) *ClientMetrics

NewClientMetrics builds a new instance of ClientMetrics

Directories

PathSynopsis
cfg

Package metrics imports 1 packages (graph) and is imported by 7 packages. Updated 2019-04-01. Refresh now. Tools for package owners.