Skip to content

Commit

Permalink
[chore] move lifecycle tests to alertmanagerexporter (#30389)
Browse files Browse the repository at this point in the history
Relates to
#27849
  • Loading branch information
atoulme authored Jan 11, 2024
1 parent 00af683 commit a308c47
Show file tree
Hide file tree
Showing 3 changed files with 122 additions and 1 deletion.
109 changes: 109 additions & 0 deletions exporter/alertmanagerexporter/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/alertmanagerexporter/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ go 1.20
require (
github.com/cenkalti/backoff/v4 v4.2.1
github.com/open-telemetry/opentelemetry-collector-contrib/internal/common v0.92.0
github.com/open-telemetry/opentelemetry-collector-contrib/internal/coreinternal v0.92.0
github.com/prometheus/common v0.45.0
github.com/stretchr/testify v1.8.4
go.opentelemetry.io/collector/component v0.92.1-0.20240110091511-bf804d6c4ecc
Expand Down Expand Up @@ -73,3 +74,11 @@ retract (
)

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

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
5 changes: 4 additions & 1 deletion exporter/alertmanagerexporter/metadata.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,7 @@ status:
development: [traces]
distributions: [contrib]
codeowners:
active: [jpkrohling, sokoide, mcube8]
active: [jpkrohling, sokoide, mcube8]

tests:
config:

0 comments on commit a308c47

Please sign in to comment.