Documentation ¶
Index ¶
- Constants
- type Ems
- func (e *Ems) HandleResults(result []gjson.Result, prop map[string][]*emsProp) (map[string]*matrix.Matrix, uint64, uint64)
- func (e *Ems) HarvestModule() plugin.ModuleInfo
- func (e *Ems) Init(a *collector.AbstractCollector) error
- func (e *Ems) InitCache() error
- func (e *Ems) InitEmsProp()
- func (e *Ems) InitMatrix() error
- func (e *Ems) LoadPlugin(kind string, _ *plugin.AbstractPlugin) plugin.Plugin
- func (e *Ems) ParseDefaults(prop *emsProp)
- func (e *Ems) ParseExports(counter *node.Node, prop *emsProp)
- func (e *Ems) ParseLabels(labels *node.Node, prop *emsProp)
- func (e *Ems) ParseMatches(matches *node.Node, prop *emsProp)
- func (e *Ems) ParseResolveEms(resolveEvent *node.Node, issueEmsProp emsProp)
- func (e *Ems) PollData() (map[string]*matrix.Matrix, error)
- func (e *Ems) PollInstance() (map[string]*matrix.Matrix, error)
- type Matches
- type Metric
Constants ¶
View Source
const AutoResolved = "autoresolved"
View Source
const DefaultBookendResolutionDuration = 28 * 24 * time.Hour // 28 days == 672 hours
View Source
const Hyphen = "-"
View Source
const MaxBookendInstances = 1000
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Ems ¶
type Ems struct { *rest2.Rest // provides: AbstractCollector, Client, Object, Query, TemplateFn, TemplateType Query string TemplatePath string Filter []string Fields []string ReturnTimeOut *int DefaultLabels []string // contains filtered or unexported fields }
func (*Ems) HandleResults ¶
func (e *Ems) HandleResults(result []gjson.Result, prop map[string][]*emsProp) (map[string]*matrix.Matrix, uint64, uint64)
HandleResults function is used for handling the rest response for parent as well as endpoints calls,
func (*Ems) HarvestModule ¶
func (e *Ems) HarvestModule() plugin.ModuleInfo
func (*Ems) InitEmsProp ¶
func (e *Ems) InitEmsProp()
func (*Ems) InitMatrix ¶
func (*Ems) LoadPlugin ¶
func (*Ems) ParseDefaults ¶
func (e *Ems) ParseDefaults(prop *emsProp)
func (*Ems) ParseExports ¶
func (*Ems) ParseLabels ¶
func (*Ems) ParseMatches ¶
func (*Ems) ParseResolveEms ¶
Click to show internal directories.
Click to hide internal directories.