nrgorm

package
v0.7.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 11, 2024 License: MIT, MIT Imports: 4 Imported by: 0

README

Documentation

Overview

Package nrgorm integrates New Relic into the GORM database layer

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddGormCallbacks

func AddGormCallbacks(db *gorm.DB)

AddGormCallbacks adds callbacks to NewRelic, you should call SetTxnToGorm to make them work

func SetTxnToGorm

func SetTxnToGorm(txn *newrelic.Transaction, db *gorm.DB) *gorm.DB

SetTxnToGorm sets transaction to gorm settings, returns cloned DB

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL