metrics

package
v0.0.0-...-45d3223 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// DBTransactionTotal keeps track of the number of transactions
	DBTransactionTotal = prometheus.NewCounterVec(
		prometheus.CounterOpts{
			Name: "orc_db_transaction_total",
			Help: "Number of database transactions, partitioned by method and outcome (commit/rollback)",
		},
		[]string{"method", "outcome"},
	)

	// EventDispatchedTotal keeps track of the number of dispatched events
	EventDispatchedTotal = prometheus.NewCounter(
		prometheus.CounterOpts{
			Name: "orc_event_sent_total",
			Help: "Number of events dispatched",
		},
	)
)

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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