metrics

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2026 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package metrics provides metrics for the reminder service

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Metrics

type Metrics struct {
	// Time between when a reminder became eligible and when it was sent
	SendDelay metric.Float64Histogram

	// Time between when a reminder became eligible and when it was sent for the first time
	NewSendDelay metric.Float64Histogram

	// Current number of reminders in the batch
	BatchSize metric.Int64Histogram
}

Metrics contains all the metrics for the reminder service

func NewMetrics

func NewMetrics(meter metric.Meter) (*Metrics, error)

NewMetrics creates a new metrics instance

Jump to

Keyboard shortcuts

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