Documentation ¶
Index ¶
- func CloseStatsDClient()
- func GetTx(ctx context.Context) (newrelic.Transaction, bool)
- func IncrementAPIBackendRequestCount(apiName, backendName string)
- func IncrementAPIBackendStatusCount(apiName, backendName string, httpStatusCode int)
- func IncrementAPIRequestCount(apiName string)
- func IncrementAPIStatusCount(apiName string, httpStatusCode int)
- func IncrementCrashCount()
- func IncrementInternalAPIStatusCount(aclName string, statusCode int)
- func IncrementNotFound()
- func IncrementTotalRequestCount()
- func InitNewRelic() newrelic.Application
- func InitiateStatsDMetrics() error
- func NewContext(ctx context.Context, w http.ResponseWriter) context.Context
- func NewContextWithTransaction(ctx context.Context, tx newrelic.Transaction) context.Context
- func NewRelicApp() newrelic.Application
- func NewTiming() statsd.Timing
- func ShutdownNewRelic()
- func StartRedisSegmentNow(op string, coll string, txn newrelic.Transaction) newrelic.DatastoreSegment
- func StatsDClient() *statsd.Client
- func TimeAPIBackendLatency(apiName, backendName string, timing statsd.Timing)
- func TimeAPILatency(apiName string, timing statsd.Timing)
- func TimeTotalLatency(timing statsd.Timing)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CloseStatsDClient ¶
func CloseStatsDClient()
func IncrementAPIBackendRequestCount ¶
func IncrementAPIBackendRequestCount(apiName, backendName string)
func IncrementAPIRequestCount ¶
func IncrementAPIRequestCount(apiName string)
func IncrementAPIStatusCount ¶
func IncrementCrashCount ¶
func IncrementCrashCount()
func IncrementNotFound ¶
func IncrementNotFound()
func IncrementTotalRequestCount ¶
func IncrementTotalRequestCount()
func InitNewRelic ¶
func InitNewRelic() newrelic.Application
func InitiateStatsDMetrics ¶
func InitiateStatsDMetrics() error
func NewContext ¶
func NewRelicApp ¶
func NewRelicApp() newrelic.Application
func ShutdownNewRelic ¶
func ShutdownNewRelic()
func StartRedisSegmentNow ¶
func StartRedisSegmentNow(op string, coll string, txn newrelic.Transaction) newrelic.DatastoreSegment
func StatsDClient ¶
func TimeAPIBackendLatency ¶
func TimeAPILatency ¶
func TimeTotalLatency ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.