bgjob_metrics

package
v1.42.1 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2025 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Storage

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

func NewStorage

func NewStorage(reg *metrics.Registry) *Storage

func (*Storage) IncDlqCount

func (c *Storage) IncDlqCount(queue string, jobType string)

func (*Storage) IncInternalErrorCount

func (c *Storage) IncInternalErrorCount()

func (*Storage) IncRetryCount

func (c *Storage) IncRetryCount(queue string, jobType string)

func (*Storage) IncSuccessCount

func (c *Storage) IncSuccessCount(queue string, jobType string)

func (*Storage) ObserveExecuteDuration

func (c *Storage) ObserveExecuteDuration(queue string, jobType string, duration time.Duration)

Jump to

Keyboard shortcuts

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