Skip to content

Commit

Permalink
[chore] move opensearch exporter to generated lifecycle tests (open-t…
Browse files Browse the repository at this point in the history
…elemetry#30476)

Relates to
open-telemetry#27849

---------

Signed-off-by: Jared Tan <[email protected]>
  • Loading branch information
JaredTan95 committed Jan 17, 2024
1 parent f2dc31e commit 206e1a8
Show file tree
Hide file tree
Showing 3 changed files with 126 additions and 1 deletion.
114 changes: 114 additions & 0 deletions exporter/opensearchexporter/generated_component_test.go

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

5 changes: 5 additions & 0 deletions exporter/opensearchexporter/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ module github.com/open-telemetry/opentelemetry-collector-contrib/exporter/opense
go 1.20

require (
github.com/open-telemetry/opentelemetry-collector-contrib/internal/coreinternal v0.92.0
github.com/open-telemetry/opentelemetry-collector-contrib/pkg/golden v0.92.0
github.com/opensearch-project/opensearch-go/v2 v2.3.0
github.com/stretchr/testify v1.8.4
Expand Down Expand Up @@ -88,3 +89,7 @@ require (
replace github.com/open-telemetry/opentelemetry-collector-contrib/pkg/pdatautil => ../../pkg/pdatautil

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

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

replace github.com/open-telemetry/opentelemetry-collector-contrib/pkg/pdatatest => ../../pkg/pdatatest
8 changes: 7 additions & 1 deletion exporter/opensearchexporter/metadata.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,10 @@ status:
development: [logs]
distributions: [contrib]
codeowners:
active: [Aneurysm9, MitchellGale, MaxKsyunz, YANG-DB]
active: [Aneurysm9, MitchellGale, MaxKsyunz, YANG-DB]

tests:
expect_consumer_error: true
config:
http:
endpoint: https://opensearch.example.com:9200

0 comments on commit 206e1a8

Please sign in to comment.