Documentation ¶
Index ¶
- type Profiler
- func (profiler *Profiler) Get() models.TSProfile
- func (profiler *Profiler) GetCurrentPeriodPath() []int
- func (profiler *Profiler) GetCurrentPhase() int
- func (profiler *Profiler) GetCurrentState() []models.TSState
- func (profiler *Profiler) GetCurrentStats() map[string]models.TSStats
- func (profiler *Profiler) Put(data models.TSInput)
- func (profiler *Profiler) Terminate()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Profiler ¶
type Profiler struct {
// contains filtered or unexported fields
}
Profiler is the TSProfiler implementation of spec.TSProfiler
func NewProfiler ¶
NewProfiler creates and returns a new TSProfiler, configured with given Settings
func (*Profiler) GetCurrentPeriodPath ¶
GetCurrentPeriodPath returns the current period path
func (*Profiler) GetCurrentPhase ¶
GetCurrentPhase returns the current phase id
func (*Profiler) GetCurrentState ¶
GetCurrentState returns the current state for each metric
func (*Profiler) GetCurrentStats ¶
GetCurrentStats returns the current stats for each metric
Click to show internal directories.
Click to hide internal directories.