Skip to content

Commit

Permalink
apply feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
antonjim-te committed Sep 27, 2023
1 parent f9ca8a7 commit 8c3cddd
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion otelcol/unmarshaler.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"},
Expand Down
2 changes: 1 addition & 1 deletion otelcol/unmarshaler_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion service/telemetry/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"`
Expand Down

0 comments on commit 8c3cddd

Please sign in to comment.