metrics

package
v0.0.0-...-e61e643 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2019 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	StatusSuccess = "success"
	StatusFailure = "failure"
)

Common status values

Variables

This section is empty.

Functions

func IncrementAuthSession

func IncrementAuthSession(realmType string)

IncrementAuthSession increments the /requestAuthSession request counter

func IncrementCommand

func IncrementCommand(cmdName string, st Status)

IncrementCommand increments the pling command counter

func IncrementConfigureService

func IncrementConfigureService(serviceType string)

IncrementConfigureService increments the /configureService counter

func IncrementWebhook

func IncrementWebhook(serviceType string)

IncrementWebhook increments the incoming webhook request counter

Types

type Status

type Status string

Status is the status of a measurable metric (incoming commands, outgoing polls, etc)

Jump to

Keyboard shortcuts

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