poolmetrics

package
v0.19.1237 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2026 License: AGPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Metrics

type Metrics struct {
	// contains filtered or unexported fields
}

func New

func New(provider metric.MeterProvider) *Metrics

func (*Metrics) RegisterClickHouse

func (m *Metrics) RegisterClickHouse(lc fx.Lifecycle, db *sql.DB) error

func (*Metrics) RegisterPostgres

func (m *Metrics) RegisterPostgres(role string, pool *pgxpool.Pool) error

type Params

type Params struct {
	fx.In
	Metrics *Metrics `optional:"true"`
}

Jump to

Keyboard shortcuts

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