Skip to content

Commit

Permalink
[chore] add generated lifecycle tests to sumologic exporter (open-tel…
Browse files Browse the repository at this point in the history
  • Loading branch information
atoulme authored Feb 1, 2024
1 parent 02a3e97 commit b9d414b
Show file tree
Hide file tree
Showing 4 changed files with 123 additions and 2 deletions.
106 changes: 106 additions & 0 deletions exporter/sumologicexporter/generated_component_test.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 11 additions & 1 deletion exporter/sumologicexporter/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,12 @@ module github.com/open-telemetry/opentelemetry-collector-contrib/exporter/sumolo
go 1.20

require (
github.com/open-telemetry/opentelemetry-collector-contrib/internal/coreinternal v0.93.0
github.com/stretchr/testify v1.8.4
go.opentelemetry.io/collector/component v0.93.1-0.20240130182548-89388addcc7f
go.opentelemetry.io/collector/config/confighttp v0.93.1-0.20240130182548-89388addcc7f
go.opentelemetry.io/collector/config/configretry v0.93.1-0.20240130182548-89388addcc7f
go.opentelemetry.io/collector/confmap v0.93.1-0.20240130182548-89388addcc7f
go.opentelemetry.io/collector/consumer v0.93.1-0.20240130182548-89388addcc7f
go.opentelemetry.io/collector/exporter v0.93.1-0.20240130182548-89388addcc7f
go.opentelemetry.io/collector/pdata v1.0.2-0.20240130181942-9c7177496fd5
Expand Down Expand Up @@ -50,10 +52,10 @@ require (
go.opentelemetry.io/collector/config/configtelemetry v0.93.1-0.20240130182548-89388addcc7f // indirect
go.opentelemetry.io/collector/config/configtls v0.93.1-0.20240130182548-89388addcc7f // indirect
go.opentelemetry.io/collector/config/internal v0.93.1-0.20240130182548-89388addcc7f // indirect
go.opentelemetry.io/collector/confmap v0.93.1-0.20240130182548-89388addcc7f // indirect
go.opentelemetry.io/collector/extension v0.93.1-0.20240130182548-89388addcc7f // indirect
go.opentelemetry.io/collector/extension/auth v0.93.1-0.20240130182548-89388addcc7f // indirect
go.opentelemetry.io/collector/featuregate v1.0.2-0.20240130181942-9c7177496fd5 // indirect
go.opentelemetry.io/collector/receiver v0.93.1-0.20240130182548-89388addcc7f // indirect
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.47.0 // indirect
go.opentelemetry.io/otel v1.22.0 // indirect
go.opentelemetry.io/otel/exporters/prometheus v0.45.0 // indirect
Expand All @@ -75,3 +77,11 @@ retract (
v0.76.1
v0.65.0
)

replace github.com/open-telemetry/opentelemetry-collector-contrib/internal/coreinternal => ../../internal/coreinternal

replace github.com/open-telemetry/opentelemetry-collector-contrib/pkg/pdatautil => ../../pkg/pdatautil

replace github.com/open-telemetry/opentelemetry-collector-contrib/pkg/pdatatest => ../../pkg/pdatatest

replace github.com/open-telemetry/opentelemetry-collector-contrib/pkg/golden => ../../pkg/golden
3 changes: 2 additions & 1 deletion exporter/sumologicexporter/go.sum

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions exporter/sumologicexporter/metadata.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,7 @@ status:
distributions: [contrib]
codeowners:
active: [sumo-drosiek]

tests:
config:
skip_lifecycle: true

0 comments on commit b9d414b

Please sign in to comment.