Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewRelicApplication ¶
func NewRelicApplication(config newrelic.Config) (newrelic.Application, error)
NewRelicApplication create new relic application
func NewRelicDataStoreSegment ¶
func NewRelicDataStoreSegment(ctx context.Context, product newrelic.DatastoreProduct, queryParams map[string]interface{}, collection, operation, query, host, port, databaseName string) func()
NewRelicDataStoreSegment used for send database data to new relic defer NewRelicDataStoreSegment(...)()
func NewRelicExternalSegment ¶
func NewRelicExternalSegment(ctx context.Context, request *http.Request, url string) *newrelic.ExternalSegment
NewRelicExternalSegment used for send external data request to new relic segment := NewRelicExternalSegment(...) resp, err := client.Do(request) segment.Response = resp segment.End()
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.