Skip to content

Commit c95adc4

Browse files
committed
Update dependencies and make gofmt
The collector was updated to 0.9.0 upstream
1 parent 20afb0e commit c95adc4

File tree

5 files changed

+135
-42
lines changed

5 files changed

+135
-42
lines changed

exporter/datadogexporter/config_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,4 +127,4 @@ func TestOverrideMetricsURL(t *testing.T) {
127127
err := cfg.Sanitize()
128128
require.NoError(t, err)
129129
assert.Equal(t, cfg.Metrics.Agentless.Endpoint, DebugEndpoint)
130-
}
130+
}

exporter/datadogexporter/factory.go

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -54,19 +54,19 @@ func NewFactory() component.ExporterFactory {
5454
func createDefaultConfig() configmodels.Exporter {
5555
return &Config{
5656
API: APIConfig{
57-
Key: "", // must be set if using API
58-
Site: "datadoghq.com",
57+
Key: "", // must be set if using API
58+
Site: "datadoghq.com",
5959
},
60-
60+
6161
Metrics: MetricsConfig{
62-
Mode: DogStatsDMode,
63-
62+
Mode: DogStatsDMode,
63+
6464
DogStatsD: DogStatsDConfig{
6565
Endpoint: "127.0.0.1:8125",
6666
Telemetry: true,
6767
},
6868

69-
Agentless: AgentlessConfig{
69+
Agentless: AgentlessConfig{
7070
Endpoint: "", // set during config sanitization
7171
},
7272
},

exporter/datadogexporter/go.mod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ module github.com/DataDog/opentelemetry-collector-contrib/exporter/datadogexport
33
go 1.15
44

55
require (
6-
github.com/DataDog/datadog-go v3.7.2+incompatible
6+
github.com/DataDog/datadog-go v4.0.0+incompatible
77
github.com/census-instrumentation/opencensus-proto v0.3.0
88
github.com/stretchr/testify v1.6.1
9-
go.opentelemetry.io/collector v0.8.1-0.20200820203435-961c48b75778
9+
go.opentelemetry.io/collector v0.9.0
1010
go.uber.org/zap v1.15.0
1111
)

0 commit comments

Comments
 (0)