metrics

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Sep 5, 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 (
	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) RecordEventSequenceProcessed added in v0.9.1

func (m *Metrics) RecordEventSequenceProcessed(queue, msgTpe string)

func (*Metrics) RecordPulsarConnectionError

func (m *Metrics) RecordPulsarConnectionError()

func (*Metrics) RecordPulsarMessageError

func (m *Metrics) RecordPulsarMessageError(error PulsarMessageError)

func (*Metrics) RecordPulsarMessageProcessed added in v0.9.1

func (m *Metrics) RecordPulsarMessageProcessed()

type PulsarMessageError

type PulsarMessageError string

Jump to

Keyboard shortcuts

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