Documentation
¶
Index ¶
- Constants
- type Agent
- func (a *Agent) Configure(agentKey string, appName string)
- func (a *Agent) MeasureSegment(segmentName string) *Segment
- func (a *Agent) MeasureSubsegment(segmentName string, subsegmentName string) *Segment
- func (a *Agent) RecordAndRecoverPanic()
- func (a *Agent) RecordError(err interface{})
- func (a *Agent) RecordPanic()
- func (a *Agent) Start(options Options)
- type Options
- type Segment
Constants ¶
View Source
const ErrorGroupHandledExceptions string = "Handled exceptions"
View Source
const ErrorGroupRecoveredPanics string = "Recovered panics"
View Source
const ErrorGroupUnrecoveredPanics string = "Unrecovered panics"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Agent ¶
type Agent struct { // compatibility < 1.2.0 DashboardAddress string AgentKey string AppName string HostName string Debug bool // contains filtered or unexported fields }
func (*Agent) MeasureSegment ¶ added in v1.1.2
func (*Agent) MeasureSubsegment ¶ added in v1.1.2
func (*Agent) RecordAndRecoverPanic ¶ added in v1.2.0
func (a *Agent) RecordAndRecoverPanic()
func (*Agent) RecordError ¶ added in v1.2.0
func (a *Agent) RecordError(err interface{})
func (*Agent) RecordPanic ¶ added in v1.2.0
func (a *Agent) RecordPanic()
Directories
¶
Path | Synopsis |
---|---|
pprof/profile
Package profile provides a representation of profile.proto and methods to encode/decode profiles in this format.
|
Package profile provides a representation of profile.proto and methods to encode/decode profiles in this format. |
Click to show internal directories.
Click to hide internal directories.