monitor

package
v2.3.3 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

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"
	SUBSYSTEM_VM                      = "vm"

	ChainId                           = "chainId"
	PoolType                          = "poolType"
	MetricBlockSize                   = "metric_block_size"
	MetricBlockCounter                = "metric_block_counter"
	MetricTxCounter                   = "metric_tx_counter"
	MetricTxPoolSize                  = "metric_tx_pool_size"       // tx pool
	MetricValidateTxInDBTime          = "validate_tx_exist_db_time" // tx pool
	MetricValidateTxSignTime          = "validate_tx_sign_time"     // tx pool
	MetricTpsGauge                    = "metric_tps_gauge"
	MetricBlockCommitTime             = "metric_block_commit_time"
	MetricBlockIntervalTime           = "metric_block_interval_time"
	HelpCurrentBlockSizeMetric        = "current block size metric"
	HelpBlockCountsMetric             = "block counts metric"
	HelpTxCountsMetric                = "tx counts metric"
	HelpTxPoolSizeMetric              = "tx pool size metric"                 // tx pool
	MetricValidateTxInDBTimeMetric    = "validate tx exist in db time metric" // tx pool
	MetricValidateTxSignTimeMetric    = "validate tx sign time metric"        // tx pool
	HelpTpsGaugeMetric                = "real-time transaction per second (TPS) metric"
	HelpBlockCommitTimeMetric         = "block commit time metric"
	HelpBlockIntervalTimeMetric       = "block interval metric"
	MetricDeployedContractCounter     = "metric_deployed_contract_counter"
	MetricContractInvokeCounter       = "metric_contract_invoke_counter"
	MetricGasUsedHistogram            = "metric_gas_used_histogram"
	HelpDeployedContractCounterMetric = "deployed contract counter metric"
	HelpContractInvokeCounterMetric   = "contract invoke counter metric"
	HelpGasUsedHistogramMetric        = "gas used histogram 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