Add configuration for Datadog batch size

This commit is contained in:
Chris Eager
2021-06-30 15:01:58 -05:00
committed by Chris Eager
parent 5d5c63e6d4
commit 4c99577c08
2 changed files with 14 additions and 0 deletions

View File

@@ -297,6 +297,11 @@ public class WhisperServerService extends Application<WhisperServerConfiguration
return config.getDatadogConfiguration().getStep();
}
@Override
public int batchSize() {
return config.getDatadogConfiguration().getBatchSize();
}
@Override
public String hostTag() {
return "host";