readers

package
v0.0.0-...-d3fa782 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DataEntry

func DataEntry(ctx context.Context, e data.Entry)

DataEntry increases the dataEntryCount metric when the data is kept by the filter.

func Init

func Init(meter api.Meter) error

Init initializes the readers metrics. This should only be called by the tattler constructor or tests.

func StaleData

func StaleData(ctx context.Context, e data.Entry)

StaleData increases the dataEntryCount metric when the data is stale and dropped by the filter.

func WatchEvent

func WatchEvent(ctx context.Context, e watch.Event)

WatchEvent increases the watchEventCount metric with event type = (added, modified, deleted, bookmark, error).

Types

This section is empty.

Jump to

Keyboard shortcuts

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