monitoringutil

package
v2.2.0 Latest Latest
Warning

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

Go to latest
Published: May 16, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package monitoringutil implements utility functions for monitoring.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func KeysetInfoFromPrimitiveSet

func KeysetInfoFromPrimitiveSet(ps *primitiveset.PrimitiveSet) (*monitoring.KeysetInfo, error)

KeysetInfoFromPrimitiveSet creates a `KeysetInfo` from a `PrimitiveSet`. This function doesn't guarantee to preserve the ordering of the keys in the keyset.

Types

type DoNothingLogger

type DoNothingLogger struct{}

DoNothingLogger is a Logger that does nothing when invoked.

func (*DoNothingLogger) Log

func (l *DoNothingLogger) Log(uint32, int)

Log drops a log call.

func (*DoNothingLogger) LogFailure

func (l *DoNothingLogger) LogFailure()

LogFailure drops a failure call.

Jump to

Keyboard shortcuts

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