Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( StorageCommitCounter = promauto.NewCounter(prometheus.CounterOpts{ Name: metricPrefix + "_storage_commit_counter", Help: "The total number of commit operations to storage", }) RpcCallsCounter = promauto.NewCounter(prometheus.CounterOpts{ Name: metricPrefix + "_rpc_calls_counter", Help: "The total number of RPC calls to taraxa-node", }) IndexedBlocksCounter = promauto.NewCounter(prometheus.CounterOpts{ Name: metricPrefix + "_blocks_indexed_counter", Help: "Number of indexed blocks by indexer since start", }) IndexedTransactionsLastProcessedBlock = promauto.NewGauge(prometheus.GaugeOpts{ Name: metricPrefix + "_indexed_transactions_last_block", Help: "Number of indexed transactions in last processed block", }) IndexedDagBlocksLastProcessedBlock = promauto.NewGauge(prometheus.GaugeOpts{ Name: metricPrefix + "_indexed_dags_last_block", Help: "Number of indexed DAG blocks in last processed block", }) IndexedTransactions = promauto.NewGauge(prometheus.GaugeOpts{ Name: metricPrefix + "_indexed_transactions", Help: "Number of indexed transactions since start", }) IndexedDagBlocks = promauto.NewGauge(prometheus.GaugeOpts{ Name: metricPrefix + "_indexed_dags", Help: "Number of indexed DAG blocks since start", }) BlockProcessingTimeMilisec = promauto.NewSummary(prometheus.SummaryOpts{ Name: metricPrefix + "_block_processing_time", Help: "Time of processing block in milisec", }) LastProcessedBlockTimestamp = promauto.NewGauge(prometheus.GaugeOpts{ Name: metricPrefix + "_time_last_block", Help: "Timestamp of last processed block", }) IndexedBlocksTotal = promauto.NewGauge(prometheus.GaugeOpts{ Name: metricPrefix + "_blocks_indexed_total", Help: "Total number of indexed blocks", }) IndexedTransactionsTotal = promauto.NewGauge(prometheus.GaugeOpts{ Name: metricPrefix + "_transactions_indexed_total", Help: "Total number of indexed transactions", }) IndexedDagsTotal = promauto.NewGauge(prometheus.GaugeOpts{ Name: metricPrefix + "_dags_indexed_total", Help: "Total number of indexed DAG blocks", }) )
Functions ¶
func RunPrometheusServer ¶
func RunPrometheusServer(listenAddr string)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.