Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Dummy ¶
type Dummy struct { }
Dummy Structure
func (*Dummy) ExternalSegment ¶
Create a external segment
func (*Dummy) SetTransaction ¶
func (d *Dummy) SetTransaction(txn interface{})
Set the NewRelic transaction
type DummyExternalSegment ¶
type DummyExternalSegment struct { }
Dummy External Structure
func (DummyExternalSegment) End ¶
func (es DummyExternalSegment) End() error
Ends the external segment
type Instrument ¶
type Instrument interface { // Added new external segment metric (ex. http clients) ExternalSegment(url string) Segment // Added a segment metric Segment(name string) Segment // Define a transaction used in segments SetTransaction(txn interface{}) }
Instrumentation interface for metrics
type NewRelic ¶
type NewRelic struct {
// contains filtered or unexported fields
}
Structure used to storage the NewRelic transaction
func (*NewRelic) ExternalSegment ¶
Create a external segment
func (*NewRelic) SetTransaction ¶
func (nr *NewRelic) SetTransaction(txn interface{})
Set the NewRelic transaction
type NewRelicExternalSegment ¶
type NewRelicExternalSegment struct {
// contains filtered or unexported fields
}
Structure used to storage the NewRelic External Segment
func (NewRelicExternalSegment) End ¶
func (es NewRelicExternalSegment) End() error
Ends the external segment
type NewRelicSegment ¶
type NewRelicSegment struct {
// contains filtered or unexported fields
}
Structure used to storage the NewRelic Segment
Click to show internal directories.
Click to hide internal directories.