instrumentation

package
v0.7.4 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2021 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ErrorFetchProfile  = "fetch_profile"
	ErrorConsulCall    = "consul_call"
	ErrorNoProducer    = "no_producer"
	ErrorTimberConvert = "timber_convert"
	ErrorProducerCall  = "producer_call"
)

list error message for producerRequestError metrics

Variables

This section is empty.

Functions

func IncreaseProducerRequestCount added in v0.7.3

func IncreaseProducerRequestCount(appGroup, appName string)

func IncreaseProducerRequestError added in v0.7.3

func IncreaseProducerRequestError(appGroup, appName string, r *http.Request, errorMsg string)

func InitProducerInstrumentation added in v0.7.3

func InitProducerInstrumentation()

func ObserveBaritoMarketLatency added in v0.7.3

func ObserveBaritoMarketLatency(timeDuration time.Duration)

func ObserveConsulLatency added in v0.7.3

func ObserveConsulLatency(appGroup, host string, timeDuration time.Duration)

func ObserveProducerLatency added in v0.7.3

func ObserveProducerLatency(appGroup, appName string, timeDuration time.Duration)

func ObserveTimberCollection added in v0.7.3

func ObserveTimberCollection(appGroup, appName string, timberCollection *pb.TimberCollection)

func RunTransaction

func RunTransaction(app newrelic.Application, path string, w http.ResponseWriter, req *http.Request)

Types

This section is empty.

Jump to

Keyboard shortcuts

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