Versions in this module Expand all Collapse all v0 v0.0.1 Apr 23, 2019 Changes in this version + type Action struct + ActionName string + ActionType string + Callback func(payload map[string]interface{}) string + type Apm struct + Type string + Version string + type CPU struct + Info string + Number int + type Config struct + Hostname string + Name string + Node *string + PrivateKey string + ProcessUniqueID string + Proxy string + PublicKey string + ServerName string + func (config *Config) InitNames() + type Metric struct + Aggregation string + Category string + Function func() float64 + Historic bool + Name string + Unit string + Value float64 + func CreateFuncMetric(name string, category string, unit string, cb func() float64) Metric + func CreateMetric(name string, category string, unit string) Metric + func (metric *Metric) Get() float64 + func (metric *Metric) Set(value float64) + type Options struct + Apm Apm + CustomProbes bool + DefaultActions bool + HeapDump bool + Profiling bool + type Process struct + Name string + PmID int + Rev string + Server string + type ProfilingRequest struct + Timeout int64 + type ProfilingResponse struct + At int64 + Data string + Duration int + Encoding string + Initiated string + Type string + func NewProfilingResponse(data []byte, element string) ProfilingResponse + type Server struct + Arch string + CPU CPU + FreeMem int64 + Hostname string + Interaction bool + Loadavg []float64 + NodeVersion string + Platform string + Pm2Version string + RemoteIP string + RemotePort int + TotalMem uint64 + Type string + Uptime int64 + User string + type Status struct + Process []StatusProcess + Server Server + type StatusProcess struct + AxmActions []*Action + AxmMonitor map[string]*Metric + AxmOptions Options + CPU float64 + CreatedAt int64 + ExecMode string + Interpreter string + Memory uint64 + Name string + NodeEnv string + Pid int32 + PmID int + PmUptime int64 + RestartTime int + Rev string + Server string + Status string + UniqueID string + Watching bool