metrics

package
v0.19.0 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (

	// Driver
	DriverL1HeadHeightGauge     = metrics.NewRegisteredGauge("driver/l1Head/height", taikoMetrics)
	DriverL2HeadHeightGauge     = metrics.NewRegisteredGauge("driver/l2Head/height", taikoMetrics)
	DriverL1CurrentHeightGauge  = metrics.NewRegisteredGauge("driver/l1Current/height", taikoMetrics)
	DriverL2HeadIDGauge         = metrics.NewRegisteredGauge("driver/l2Head/id", taikoMetrics)
	DriverL2VerifiedHeightGauge = metrics.NewRegisteredGauge("driver/l2Verified/id", taikoMetrics)

	// Proposer
	ProposerProposeEpochCounter    = metrics.NewRegisteredCounter("proposer/epoch", taikoMetrics)
	ProposerProposedTxListsCounter = metrics.NewRegisteredCounter("proposer/proposed/txLists", taikoMetrics)
	ProposerProposedTxsCounter     = metrics.NewRegisteredCounter("proposer/proposed/txs", taikoMetrics)

	// Prover
	ProverLatestVerifiedIDGauge      = metrics.NewRegisteredGauge("prover/latestVerified/id", taikoMetrics)
	ProverLatestProvenBlockIDGauge   = metrics.NewRegisteredGauge("prover/latestProven/id", taikoMetrics)
	ProverQueuedProofCounter         = metrics.NewRegisteredCounter("prover/proof/all/queued", taikoMetrics)
	ProverReceivedProofCounter       = metrics.NewRegisteredCounter("prover/proof/all/received", taikoMetrics)
	ProverSentProofCounter           = metrics.NewRegisteredCounter("prover/proof/all/sent", taikoMetrics)
	ProverProofsAssigned             = metrics.NewRegisteredCounter("prover/proof/assigned", taikoMetrics)
	ProverReceivedProposedBlockGauge = metrics.NewRegisteredGauge("prover/proposed/received", taikoMetrics)
	ProverReceivedProvenBlockGauge   = metrics.NewRegisteredGauge("prover/proven/received", taikoMetrics)
	ProverSubmissionAcceptedCounter  = metrics.NewRegisteredCounter("prover/proof/submission/accepted", taikoMetrics)
	ProverSubmissionErrorCounter     = metrics.NewRegisteredCounter("prover/proof/submission/error", taikoMetrics)
	ProverSgxProofGeneratedCounter   = metrics.NewRegisteredCounter("prover/proof/sgx/generated", taikoMetrics)
	ProverPseProofGeneratedCounter   = metrics.NewRegisteredCounter("prover/proof/pse/generated", taikoMetrics)
)

Metrics

Functions

func Serve

func Serve(ctx context.Context, c *cli.Context) error

Serve starts the metrics server on the given address, will be closed when the given context is cancelled.

Types

This section is empty.

Jump to

Keyboard shortcuts

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