// NewNewRelic creates and returns a new New Relic tracer.
NewNewRelic creates and returns a new New Relic tracer.
// NewNewRelic creates and returns a new New Relic tracer .
func NewNewRelic(ctx context.Context) *newRelic {
	nrtx, ok := ctx.Value(monitoringctx.NewRelicKey).(newrelic.Transaction)
	if !ok {
		nrtx = nil
	}
	return &newRelic{
		nrtx: nrtx,
	}
}
func NewNewRelic ( ctx context . Context ) * newRelic { nrtx , ok := ctx . Value ( monitoringctx . NewRelicKey ) . ( newrelic . Transaction ) if ! ok { nrtx = nil } return & newRelic { nrtx : nrtx , } }
NewNewRelic creates and returns a new New Relic tracer.
NewNewRelic creates and returns a new New Relic tracer .