Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FromContext ¶
func FromContext(ctx context.Context) *newrelic.Transaction
FromContext extracts the transaction from the context.
func StartExternalSegment ¶
StartExternalSegment starts a newrelic external segment. It extracts the transaction from the context.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (Client) Application ¶
func (c Client) Application() *newrelic.Application
Application returns the newrelic application.
func (Client) StartTransaction ¶
func (c Client) StartTransaction(name string) *newrelic.Transaction
StartTransaction starts a newrelic transaction.
Click to show internal directories.
Click to hide internal directories.