monitoring

package
v0.0.0-...-e5f8ed5 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Namespace is the Prometheus Namespace in all metrics published by the Observation Service
	Namespace string = "caraml"
	// Subsystem is the Prometheus Subsystem in all metrics published by the Observation Service
	Subsystem string = "observation_service"
	// FlushDurationMs is the key to measure duration for flushing observations from channel to configured Data sink
	FlushDurationMs metrics.MetricName = "flush_duration_ms"
	// RequestDurationMs is the key to measure end-to-end duration for consuming and publishing observations
	RequestDurationMs metrics.MetricName = "request_duration_ms"
	// ReadCount is the key to measure no. of logs read from configured Data source
	ReadCount metrics.MetricName = "read_count"
	// FlushCount is the key to measure no. of flushes to configured Data sink
	FlushCount metrics.MetricName = "flush_count"
	// FlushObservationCount is the key to measure no. of observations flushed to configured Data sink
	FlushObservationCount metrics.MetricName = "flush_observation_count"
)

Variables

GaugeMap configures gauge metrics

Functions

func GetCounterMap

func GetCounterMap() map[metrics.MetricName]metrics.PrometheusCounterVec

GetCounterMap configures counter metrics

func GetHistogramMap

func GetHistogramMap() map[metrics.MetricName]metrics.PrometheusHistogramVec

GetHistogramMap configures histogram metrics

Types

This section is empty.

Jump to

Keyboard shortcuts

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