telemetry

package
v0.0.0-...-f7c2916 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2022 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitLogging

func InitLogging(w io.Writer, version string, logLevel int) zerolog.Logger

func InitTracing

func InitTracing(jaegerAddr string) error

Types

type DurationMetric

type DurationMetric struct {
	Path       string
	Method     string
	DurationMs float64
}

type MetricReporter

type MetricReporter struct {
	// contains filtered or unexported fields
}

func InitMetrics

func InitMetrics(statsdAddr string) (MetricReporter, error)

func (MetricReporter) ReportLatency

func (m MetricReporter) ReportLatency(metric DurationMetric)

Jump to

Keyboard shortcuts

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