Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func OnOptionsChange ¶
func OnOptionsChange(oldO, newO interface{}) bool
Types ¶
type CloudMonOptions ¶
type CloudMonOptions struct { common_options.CommonOptions PingProbeOptions EndpointType string `default:"internalURL" help:"Defaults to internalURL" choices:"publicURL|internalURL|adminURL"` ApiVersion string `help:"override default modules service api version"` ReqTimeout int `default:"600" help:"Number of seconds to wait for a response"` Insecure bool `default:"true" help:"Allow skip server cert verification if URL is https" short-token:"k"` CertFile string `help:"certificate file"` KeyFile string `help:"private key file"` ResourcesSyncInterval int64 `help:"Increment Sync Interval unit:minute" default:"10"` CollectMetricInterval int64 `help:"Increment Sync Interval unit:minute" default:"6"` SkipMetricPullProviders string `help:"Skip indicate provider metric pull" default:""` InfluxDatabase string `help:"influxdb database name, default telegraf" default:"telegraf"` CloudAccountCollectMetricsBatchCount int `help:"Cloud Account Collect Metrics Batch Count" default:"10"` CloudResourceCollectMetricsBatchCount int `help:"Cloud Resource Collect Metrics BatchC ount" default:"40"` }
var (
Options CloudMonOptions
)
type PingProbeOptions ¶
type PingProbeOptions struct { Debug bool `help:"debug"` ProbeCount int `help:"probe count, default is 3" default:"3"` TimeoutSecond int `help:"probe timeout in second, default is 1 second" default:"1"` DisablePingProbe bool `help:"enable ping probe"` PingProbIntervalHours int64 `help:"PingProb Interval unit:hour" default:"6"` }
Click to show internal directories.
Click to hide internal directories.