null

package
v1.9.2 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package null is a null metrics logger.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

type Service struct{}

Service is a metrics service that drops metrics.

func New

func New() *Service

New creates a new null metrics service.

func (*Service) ClientOperation

func (*Service) ClientOperation(_ string, _ string, _ bool, _ time.Duration)

ClientOperation provides a generic monitor for client operations.

func (*Service) Presenter added in v1.2.0

func (*Service) Presenter() string

Presenter provides the presenter for this service.

func (*Service) StrategyOperation added in v1.2.0

func (*Service) StrategyOperation(_ string, _ string, _ string, _ time.Duration)

StrategyOperation provides a generic monitor for strategy operations.

Jump to

Keyboard shortcuts

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