stats

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Sep 21, 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() gostats.Client

func Configure

func Configure(namespace string, host string, port int, tags gostats.Tags) error

func IncrSuccessOrFail

func IncrSuccessOrFail(err error, prefix string, tags gostats.Tags)

func WithTiming

func WithTiming(name string, tags gostats.Tags, 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