Skip to content

Commit

Permalink
chore: checks
Browse files Browse the repository at this point in the history
Signed-off-by: Dominik Rosiek <[email protected]>
  • Loading branch information
Dominik Rosiek authored and sumo-drosiek committed Feb 16, 2024
1 parent f7d8ccf commit 19382fd
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pkg/exporter/sumologicexporter/factory.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ func createDefaultConfig() component.Config {
MetricFormat: DefaultMetricFormat,
Client: DefaultClient,
ClearLogsTimestamp: DefaultClearLogsTimestamp,
TraceFormat: OTLPTraceFormat,
TraceFormat: OTLPTraceFormat,

HTTPClientSettings: CreateDefaultHTTPClientSettings(),
BackOffConfig: configretry.NewDefaultBackOffConfig(),
Expand Down
2 changes: 1 addition & 1 deletion pkg/exporter/sumologicexporter/factory_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ func TestCreateDefaultConfig(t *testing.T) {
MetricFormat: "otlp",
Client: "otelcol",
ClearLogsTimestamp: true,
TraceFormat: "otlp",
TraceFormat: "otlp",

HTTPClientSettings: confighttp.HTTPClientSettings{
Timeout: 30 * time.Second,
Expand Down
2 changes: 1 addition & 1 deletion pkg/exporter/sumologicexporter/sender_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -477,7 +477,7 @@ func TestSendLogsJsonConfig(t *testing.T) {
logsFunc: twoLogsFunc,
},
{
name: "empty body",
name: "empty body",
bodyRegex: `{"key1":"value1","key2":"value2"}`,

logsFunc: func() plog.ResourceLogs {
Expand Down

0 comments on commit 19382fd

Please sign in to comment.