monitor

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jun 8, 2024 License: CC0-1.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FeedConsumerMetrics

func FeedConsumerMetrics(topic, group, status string, duration time.Duration)

FeedConsumerMetrics to monitor consumer latency, status counts

func FeedGRPCMetrics

func FeedGRPCMetrics(method string, code codes.Code, duration time.Duration)

FeedGRPCMetrics to monitor grpc latency, status code counts

func FeedHTTPMetrics

func FeedHTTPMetrics(status int, duration time.Duration, path string, method string)

FeedHTTPMetrics to monitor latency, http code counts

func Init

func Init(appName string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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