Versions in this module Expand all Collapse all v0 v0.2.0 Dec 1, 2025 v0.1.0 Nov 28, 2025 Changes in this version + const NewRelicContextKey + func RecordCount(ctx context.Context, metricName string, count uint64) + func RecordDuration(ctx context.Context, metricName string, duration time.Duration) + func RecordEvent(ctx context.Context, eventName string, kvPairs map[string]interface{}) + type CustomNewRelicContextLogFormatter struct + func NewCustomNewRelicLogFormatter(app *newrelic.Application, formatter logrus.Formatter) CustomNewRelicContextLogFormatter + func (f CustomNewRelicContextLogFormatter) Format(e *logrus.Entry) ([]byte, error) + type MethodTracer struct + func TraceMethodCall(ctx context.Context, structOrPackageName, methodName string) *MethodTracer + func (t *MethodTracer) AddAttribute(key string, value interface{}) + func (t *MethodTracer) AddAttributes(attributes map[string]interface{}) + func (t *MethodTracer) End() + func (t *MethodTracer) OnError(err error)