metrics

package
v0.0.0-...-f374617 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConfigMetricInit

func ConfigMetricInit()

LogMetricInit function to register log metrics

func LogMetricInit

func LogMetricInit()

LogMetricInit function to register log metrics

func NatsIncrementMessageCount

func NatsIncrementMessageCount(subject string)

NatsIncrementMessageCount increments the count of message for a given NATS subject

func NatsMetricInit

func NatsMetricInit()

NatsMetricInit initialize various metrics for different NATS topics

func NatsUpdateMessageLatency

func NatsUpdateMessageLatency(subject string, latency int64)

NatsUpdateMessageLatency updates the message latency in μs for a given NATS subject

func NatsUpdateMessageSizeHistogram

func NatsUpdateMessageSizeHistogram(subject string, messageSize int)

NatsUpdateMessageSizeHistogram updates the message size histogram for a given NATS subject

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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