Skip to content

Commit

Permalink
[chore] move awscloudwatchlogs exporter to generated lifecycle tests (o…
Browse files Browse the repository at this point in the history
…pen-telemetry#30391)

Relates to
open-telemetry#27849

---------

Co-authored-by: bryan-aguilar <46550959+bryan-aguilar@users.noreply.github.com>
  • Loading branch information
2 people authored and cparkins committed Feb 1, 2024
1 parent 69bbb0f commit 74b765f
Show file tree
Hide file tree
Showing 3 changed files with 126 additions and 0 deletions.
107 changes: 107 additions & 0 deletions exporter/awscloudwatchlogsexporter/generated_component_test.go

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

9 changes: 9 additions & 0 deletions exporter/awscloudwatchlogsexporter/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ require (
github.com/google/uuid v1.5.0
github.com/open-telemetry/opentelemetry-collector-contrib/internal/aws/awsutil v0.92.0
github.com/open-telemetry/opentelemetry-collector-contrib/internal/aws/cwlogs v0.92.0
github.com/open-telemetry/opentelemetry-collector-contrib/internal/coreinternal v0.92.0
github.com/stretchr/testify v1.8.4
go.opentelemetry.io/collector/component v0.92.1-0.20240112172857-83d463ceba06
go.opentelemetry.io/collector/config/configretry v0.92.1-0.20240112172857-83d463ceba06
Expand Down Expand Up @@ -76,8 +77,16 @@ replace github.com/open-telemetry/opentelemetry-collector-contrib/internal/aws/a

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

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

retract (
v0.76.2
v0.76.1
v0.65.0
)

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

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

replace github.com/open-telemetry/opentelemetry-collector-contrib/pkg/pdatatest => ../../pkg/pdatatest
10 changes: 10 additions & 0 deletions exporter/awscloudwatchlogsexporter/metadata.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,13 @@ status:
distributions: [contrib, observiq, liatrio]
codeowners:
active: [boostchicken, bryan-aguilar, rapphil]

tests:
config:
endpoint: http://localhost:0
region: local
sending_queue:
enabled: false
retry_on_failure:
enabled: false
expect_consumer_error: true

0 comments on commit 74b765f

Please sign in to comment.