monitor

package
v2.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2021 License: Apache-2.0 Imports: 3 Imported by: 4

Documentation

Index

Constants

View Source
const (
	SUBSYSTEM_GRPC                    = "grpc"
	SUBSYSTEM_CORE_COMMITTER          = "committer"
	SUBSYSTEM_RPCSERVER               = "rpcserver"
	SUBSYSTEM_CORE_PROPOSER_SCHEDULER = "scheduler"
	SUBSYSTEM_CORE_PROPOSER           = "proposer"
	SUBSYSTEM_CORE_VERIFIER           = "verifier"
	SUBSYSTEM_WASM_WASMER             = "wasmer"
	SUBSYSTEM_TXPOOL                  = "txpool"

	ChainId                    = "chainId"
	MetricBlockSize            = "metric_block_size"
	MetricBlockCounter         = "metric_block_counter"
	MetricTxCounter            = "metric_tx_counter"
	MetricBlockCommitTime      = "metric_block_commit_time"
	HelpCurrentBlockSizeMetric = "current block size metric"
	HelpBlockCountsMetric      = "block counts metric"
	HelpTxCountsMetric         = "tx counts metric"
	HelpBlockCommitTimeMetric  = "block commit time metric"
)

Variables

This section is empty.

Functions

func NewCounterVec

func NewCounterVec(subsystem, name, help string, labels ...string) *prometheus.CounterVec

func NewGaugeVec

func NewGaugeVec(subsystem, name, help string, labels ...string) *prometheus.GaugeVec

func NewHistogram

func NewHistogram(subsystem, name, help string, buckets []float64) *prometheus.Histogram

func NewHistogramVec

func NewHistogramVec(subsystem, name, help string, buckets []float64, labels ...string) *prometheus.HistogramVec

Types

This section is empty.

Jump to

Keyboard shortcuts

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