telemetry

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2021 License: MIT Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NrTracer

type NrTracer struct {
	// contains filtered or unexported fields
}

func NewNrTracer

func NewNrTracer(databaseName, databaseAddress, product string) NrTracer

func (NrTracer) Initialize

func (n NrTracer) Initialize(db *gorm.DB) error

Initialize will register necessary callbacks to creates segments on newrelic transaction sending the used SQL.

func (NrTracer) Name

func (n NrTracer) Name() string

Name will return the name of plugin that will be registered on GORM DB.

Jump to

Keyboard shortcuts

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