Documentation ¶
Overview ¶
Package settings contains the runtime settings for the agent
Index ¶
- type DsdCaptureDurationRuntimeSetting
- func (l *DsdCaptureDurationRuntimeSetting) Description() string
- func (l *DsdCaptureDurationRuntimeSetting) Get(_ config.Component) (interface{}, error)
- func (l *DsdCaptureDurationRuntimeSetting) Hidden() bool
- func (l *DsdCaptureDurationRuntimeSetting) Name() string
- func (l *DsdCaptureDurationRuntimeSetting) Set(config config.Component, v interface{}, source model.Source) error
- type DsdStatsRuntimeSetting
- func (s *DsdStatsRuntimeSetting) Description() string
- func (s *DsdStatsRuntimeSetting) Get(_ config.Component) (interface{}, error)
- func (s *DsdStatsRuntimeSetting) Hidden() bool
- func (s *DsdStatsRuntimeSetting) Name() string
- func (s *DsdStatsRuntimeSetting) Set(config config.Component, v interface{}, source model.Source) error
- type MultiRegionFailoverRuntimeSetting
- func (h *MultiRegionFailoverRuntimeSetting) Description() string
- func (h *MultiRegionFailoverRuntimeSetting) Get(config config.Component) (interface{}, error)
- func (h *MultiRegionFailoverRuntimeSetting) Hidden() bool
- func (h *MultiRegionFailoverRuntimeSetting) Name() string
- func (h *MultiRegionFailoverRuntimeSetting) Set(config config.Component, v interface{}, source model.Source) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DsdCaptureDurationRuntimeSetting ¶
type DsdCaptureDurationRuntimeSetting struct {
// contains filtered or unexported fields
}
DsdCaptureDurationRuntimeSetting wraps operations to change the duration, in seconds, of traffic captures
func NewDsdCaptureDurationRuntimeSetting ¶
func NewDsdCaptureDurationRuntimeSetting(value string) *DsdCaptureDurationRuntimeSetting
NewDsdCaptureDurationRuntimeSetting returns a new DsdCaptureDurationRuntimeSetting
func (*DsdCaptureDurationRuntimeSetting) Description ¶
func (l *DsdCaptureDurationRuntimeSetting) Description() string
Description returns the runtime setting's description
func (*DsdCaptureDurationRuntimeSetting) Get ¶
func (l *DsdCaptureDurationRuntimeSetting) Get(_ config.Component) (interface{}, error)
Get returns the current value of the runtime setting
func (*DsdCaptureDurationRuntimeSetting) Hidden ¶
func (l *DsdCaptureDurationRuntimeSetting) Hidden() bool
Hidden returns whether or not this setting is hidden from the list of runtime settings
func (*DsdCaptureDurationRuntimeSetting) Name ¶
func (l *DsdCaptureDurationRuntimeSetting) Name() string
Name returns the name of the runtime setting
type DsdStatsRuntimeSetting ¶
type DsdStatsRuntimeSetting struct {
ServerDebug dogstatsddebug.Component
}
DsdStatsRuntimeSetting wraps operations to change the collection of dogstatsd stats at runtime.
func NewDsdStatsRuntimeSetting ¶
func NewDsdStatsRuntimeSetting(serverDebug dogstatsddebug.Component) *DsdStatsRuntimeSetting
NewDsdStatsRuntimeSetting creates a new instance of DsdStatsRuntimeSetting
func (*DsdStatsRuntimeSetting) Description ¶
func (s *DsdStatsRuntimeSetting) Description() string
Description returns the runtime setting's description
func (*DsdStatsRuntimeSetting) Get ¶
func (s *DsdStatsRuntimeSetting) Get(_ config.Component) (interface{}, error)
Get returns the current value of the runtime setting
func (*DsdStatsRuntimeSetting) Hidden ¶
func (s *DsdStatsRuntimeSetting) Hidden() bool
Hidden returns whether or not this setting is hidden from the list of runtime settings
func (*DsdStatsRuntimeSetting) Name ¶
func (s *DsdStatsRuntimeSetting) Name() string
Name returns the name of the runtime setting
type MultiRegionFailoverRuntimeSetting ¶
type MultiRegionFailoverRuntimeSetting struct {
// contains filtered or unexported fields
}
MultiRegionFailoverRuntimeSetting wraps operations to change the Multi-Region Failover settings at runtime.
func NewMultiRegionFailoverRuntimeSetting ¶
func NewMultiRegionFailoverRuntimeSetting(name, desc string) *MultiRegionFailoverRuntimeSetting
NewMultiRegionFailoverRuntimeSetting creates a new instance of MultiRegionFailoverRuntimeSetting
func (*MultiRegionFailoverRuntimeSetting) Description ¶
func (h *MultiRegionFailoverRuntimeSetting) Description() string
Description returns the runtime setting's description
func (*MultiRegionFailoverRuntimeSetting) Get ¶
func (h *MultiRegionFailoverRuntimeSetting) Get(config config.Component) (interface{}, error)
Get returns the current value of the runtime setting
func (*MultiRegionFailoverRuntimeSetting) Hidden ¶
func (h *MultiRegionFailoverRuntimeSetting) Hidden() bool
Hidden returns whether or not this setting is hidden from the list of runtime settings
func (*MultiRegionFailoverRuntimeSetting) Name ¶
func (h *MultiRegionFailoverRuntimeSetting) Name() string
Name returns the name of the runtime setting