metrics

package
v0.15.2 Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	DebugLogsCounter = logsCounters.WithLabelValues("debug")
	InfoLogsCounter  = logsCounters.WithLabelValues("info")
	WarnLogsCounter  = logsCounters.WithLabelValues("warn")
	ErrorLogsCounter = logsCounters.WithLabelValues("error")

	GRPCSuccessOutputReqCounter = outputRequestsCounter.WithLabelValues("grpc", "success")
	GRPCFailedOutputReqCounter  = outputRequestsCounter.WithLabelValues("grpc", "failed")

	HTTPSuccessOutputReqCounter = outputRequestsCounter.WithLabelValues("http", "success")
	HTTPFailedOutputReqCounter  = outputRequestsCounter.WithLabelValues("http", "failed")

	GRPCSuccessInputReqCounter = inputRequestsCounter.WithLabelValues("grpc", "success")
	GRPCFailedInputReqCounter  = inputRequestsCounter.WithLabelValues("grpc", "failed")

	HTTPSuccessInputReqCounter = inputRequestsCounter.WithLabelValues("http", "success")
	HTTPFailedInputReqCounter  = inputRequestsCounter.WithLabelValues("http", "failed")
)

nolint:gochecknoglobals // using metrics in clients.

Functions

func Register

func Register() error

Types

This section is empty.

Jump to

Keyboard shortcuts

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