metrics

package
v0.0.0-...-5238b66 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IncrementClientRegistrationFailure

func IncrementClientRegistrationFailure(count int)

func IncrementClientRegistrationSuccess

func IncrementClientRegistrationSuccess(count int)

func IncrementClientUnRegistrationFailure

func IncrementClientUnRegistrationFailure(count int)

func IncrementClientUnRegistrationSuccess

func IncrementClientUnRegistrationSuccess(count int)

func IncrementHttpResp

func IncrementHttpResp(statusCode int)

func IncrementMessagePosted

func IncrementMessagePosted(count int)

func IncrementMessageRecieved

func IncrementMessageRecieved(count int)

func IncrementTotalQueries

func IncrementTotalQueries(count int)

func InitMetrics

func InitMetrics()

uses this page https://prometheus.io/docs/guides/go-application/

func RecordTimeToPushMessage

func RecordTimeToPushMessage(count int)

Types

This section is empty.

Jump to

Keyboard shortcuts

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