diff --git a/otelcol/unmarshaler.go b/otelcol/unmarshaler.go index 2b68b543af0..66b2a87a0c6 100644 --- a/otelcol/unmarshaler.go +++ b/otelcol/unmarshaler.go @@ -49,7 +49,7 @@ func unmarshal(v *confmap.Conf, factories Factories) (*configSettings, error) { Sampling: &telemetry.LogsSamplingConfig{ Enabled: true, Tick: 10 * time.Second, - Initial: 100, + Initial: 10, Thereafter: 100, }, OutputPaths: []string{"stderr"}, diff --git a/otelcol/unmarshaler_test.go b/otelcol/unmarshaler_test.go index 83528076633..1e7881a8a0d 100644 --- a/otelcol/unmarshaler_test.go +++ b/otelcol/unmarshaler_test.go @@ -48,7 +48,7 @@ func TestUnmarshalEmptyAllSections(t *testing.T) { Sampling: &telemetry.LogsSamplingConfig{ Enabled: true, Tick: 10 * time.Second, - Initial: 100, + Initial: 10, Thereafter: 100, }, DisableCaller: zapProdCfg.DisableCaller, diff --git a/service/telemetry/config.go b/service/telemetry/config.go index 3fc0e1e04ad..becc1b11e38 100644 --- a/service/telemetry/config.go +++ b/service/telemetry/config.go @@ -60,7 +60,7 @@ type LogsConfig struct { // sampling: // enabled: true // tick: 10s - // initial: 100 + // initial: 10 // thereafter: 100 // Sampling can be disabled by setting 'enabled' to false Sampling *LogsSamplingConfig `mapstructure:"sampling"`