Reducing default batching time for dps and events
@@ -26,9 +26,9 @@ type WriterConfig struct {
// The agent does not send datapoints immediately upon a monitor generating
// them, but buffers them and sends them in batches. The lower this
// number, the less delay for datapoints to appear in SignalFx.
- DatapointSendIntervalSeconds int `yaml:"datapointSendIntervalSeconds" default:"5"`
+ DatapointSendIntervalSeconds int `yaml:"datapointSendIntervalSeconds" default:"1"`
// The analogue of `datapointSendIntervalSeconds` for events
- EventSendIntervalSeconds int `yaml:"eventSendIntervalSeconds" default:"5"`
+ EventSendIntervalSeconds int `yaml:"eventSendIntervalSeconds" default:"1"`
// If the log level is set to `debug` and this is true, all datapoints
// generated by the agent will be logged.
LogDatapoints bool `yaml:"logDatapoints"`
