Documentation ¶
Index ¶
- Constants
- type DBOperation
- type Metrics
- func (m *Metrics) RecordControlPlaneEventProcessed(msgType string)
- func (m *Metrics) RecordDBError(operation DBOperation)
- func (m *Metrics) RecordEventSequenceProcessed(queue string, msgType string)
- func (m *Metrics) RecordPulsarConnectionError()
- func (m *Metrics) RecordPulsarMessageError(error PulsarMessageError)
- func (m *Metrics) RecordPulsarMessageProcessed()
- type PulsarMessageError
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_" )
View Source
const ( JobSetEventsLabel = "jobSet" ControlPlaneEventsLabel = "controlPlane" )
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 (*Metrics) RecordControlPlaneEventProcessed ¶ added in v0.15.0
func (*Metrics) RecordDBError ¶
func (m *Metrics) RecordDBError(operation DBOperation)
func (*Metrics) RecordEventSequenceProcessed ¶ added in v0.9.1
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
Click to show internal directories.
Click to hide internal directories.