metrics

package
v0.4.16 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	DBOperationRead                   DBOperation        = "read"
	DBOperationInsert                 DBOperation        = "insert"
	DBOperationUpdate                 DBOperation        = "update"
	DBOperationCreateTempTable        DBOperation        = "create_temp_table"
	PulsarMessageErrorDeserialization PulsarMessageError = "deserialization"
	PulsarMessageErrorProcessing      PulsarMessageError = "processing"
)
View Source
const (
	ArmadaLookoutIngesterMetricsPrefix   = "armada_lookout_ingester_"
	ArmadaLookoutIngesterV2MetricsPrefix = "armada_lookout_ingester_v2_"
	ArmadaEventIngesterMetricsPrefix     = "armada_event_ingester_"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type DBOperation

type DBOperation string

type Metrics

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

func NewMetrics

func NewMetrics(prefix string) *Metrics

func (*Metrics) RecordDBError

func (m *Metrics) RecordDBError(operation DBOperation)

func (*Metrics) RecordPulsarConnectionError

func (m *Metrics) RecordPulsarConnectionError()

func (*Metrics) RecordPulsarMessageError

func (m *Metrics) RecordPulsarMessageError(error PulsarMessageError)

type PulsarMessageError

type PulsarMessageError string

Jump to

Keyboard shortcuts

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