Skip to content

Commit

Permalink
apply @jpkrohling feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
antonjim-te committed Sep 26, 2023
1 parent ce3776a commit bce885d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 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: 10,
Initial: 100,
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: 10,
Initial: 100,
Thereafter: 100,
},
DisableCaller: zapProdCfg.DisableCaller,
Expand Down
2 changes: 2 additions & 0 deletions service/service_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -544,6 +544,8 @@ func newNopConfigPipelineConfigs(pipelineCfgs pipelines.Config) Config {
Development: false,
Encoding: "console",
Sampling: &telemetry.LogsSamplingConfig{
Enabled: true,
Tick: 10 * time.Second,
Initial: 100,
Thereafter: 100,
},
Expand Down

0 comments on commit bce885d

Please sign in to comment.