Skip to content

Commit 8c3cddd

Browse files
committed
apply feedback
1 parent f9ca8a7 commit 8c3cddd

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

otelcol/unmarshaler.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ func unmarshal(v *confmap.Conf, factories Factories) (*configSettings, error) {
4949
Sampling: &telemetry.LogsSamplingConfig{
5050
Enabled: true,
5151
Tick: 10 * time.Second,
52-
Initial: 100,
52+
Initial: 10,
5353
Thereafter: 100,
5454
},
5555
OutputPaths: []string{"stderr"},

otelcol/unmarshaler_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ func TestUnmarshalEmptyAllSections(t *testing.T) {
4848
Sampling: &telemetry.LogsSamplingConfig{
4949
Enabled: true,
5050
Tick: 10 * time.Second,
51-
Initial: 100,
51+
Initial: 10,
5252
Thereafter: 100,
5353
},
5454
DisableCaller: zapProdCfg.DisableCaller,

service/telemetry/config.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ type LogsConfig struct {
6060
// sampling:
6161
// enabled: true
6262
// tick: 10s
63-
// initial: 100
63+
// initial: 10
6464
// thereafter: 100
6565
// Sampling can be disabled by setting 'enabled' to false
6666
Sampling *LogsSamplingConfig `mapstructure:"sampling"`

0 commit comments

Comments
 (0)