Skip to content

Commit

Permalink
Update dependencies and make gofmt
Browse files Browse the repository at this point in the history
The collector was updated to 0.9.0 upstream
  • Loading branch information
mx-psi committed Aug 31, 2020
1 parent 20afb0e commit c95adc4
Show file tree
Hide file tree
Showing 5 changed files with 135 additions and 42 deletions.
2 changes: 1 addition & 1 deletion exporter/datadogexporter/config_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -127,4 +127,4 @@ func TestOverrideMetricsURL(t *testing.T) {
err := cfg.Sanitize()
require.NoError(t, err)
assert.Equal(t, cfg.Metrics.Agentless.Endpoint, DebugEndpoint)
}
}
12 changes: 6 additions & 6 deletions exporter/datadogexporter/factory.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,19 +54,19 @@ func NewFactory() component.ExporterFactory {
func createDefaultConfig() configmodels.Exporter {
return &Config{
API: APIConfig{
Key: "", // must be set if using API
Site: "datadoghq.com",
Key: "", // must be set if using API
Site: "datadoghq.com",
},

Metrics: MetricsConfig{
Mode: DogStatsDMode,
Mode: DogStatsDMode,

DogStatsD: DogStatsDConfig{
Endpoint: "127.0.0.1:8125",
Telemetry: true,
},

Agentless: AgentlessConfig{
Agentless: AgentlessConfig{
Endpoint: "", // set during config sanitization
},
},
Expand Down
4 changes: 2 additions & 2 deletions exporter/datadogexporter/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ module github.com/DataDog/opentelemetry-collector-contrib/exporter/datadogexport
go 1.15

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

0 comments on commit c95adc4

Please sign in to comment.