stats

package
v0.1.6 Latest Latest
Warning

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

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

Documentation

Overview

stats is a very lightweight wrapper around the dogstatsd client, which gives us a package-level function

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Client

func Client() *statsd.Client

func Configure

func Configure(host string, port int) error

func IncrSuccessOrFail

func IncrSuccessOrFail(err error, prefix string, tags []string)

func WithTiming

func WithTiming(name string, tags []string, f func()) time.Duration

Types

This section is empty.

Jump to

Keyboard shortcuts

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