nrsubee

package module
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewStatsHandler

func NewStatsHandler(app *newrelic.Application, opts ...Option) subee.StatsHandler

NewStatsHandler creates a new subee.StatsHandler instance for measuring application performances with New Relic.

Types

type Config

type Config struct {
	TransactionName     string
	ConsumeSegmentName  string
	QueueingSegmentName string
}

func DefaultConfig

func DefaultConfig() *Config

type Option

type Option func(*Config)

func WithTransactionName

func WithTransactionName(name string) Option

Jump to

Keyboard shortcuts

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