Documentation ¶
Index ¶
- Constants
- func IncreaseProducerRequestCount(appGroup, appName string)
- func IncreaseProducerRequestError(appGroup, appName string, r *http.Request, errorMsg string)
- func InitProducerInstrumentation()
- func ObserveBaritoMarketLatency(timeDuration time.Duration)
- func ObserveConsulLatency(appGroup, host string, timeDuration time.Duration)
- func ObserveProducerLatency(appGroup, appName string, timeDuration time.Duration)
- func ObserveTimberCollection(appGroup, appName string, timberCollection *pb.TimberCollection)
- func RunTransaction(app newrelic.Application, path string, w http.ResponseWriter, ...)
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 InitProducerInstrumentation ¶ added in v0.7.3
func InitProducerInstrumentation()
func ObserveBaritoMarketLatency ¶ added in v0.7.3
func ObserveConsulLatency ¶ added in v0.7.3
func ObserveProducerLatency ¶ added in v0.7.3
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.
Click to show internal directories.
Click to hide internal directories.