metrics

package
v0.0.0-...-75f25d5 Latest Latest
Warning

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

Go to latest
Published: Jun 24, 2024 License: BSD-3-Clause Imports: 1 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 {
	NumberOfActivatedCompanies prometheus.Counter
	AdminUserCount             prometheus.Counter
	AnalystUserCount           prometheus.Counter
	BuyerUserCount             prometheus.Counter
}

Metrics содержит описание всех метрик.

func New

func New() *Metrics

New создает новый экземпляр метрик.

func (*Metrics) Collect

func (m *Metrics) Collect()

Collect регистрирует сборку метрик.

Jump to

Keyboard shortcuts

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