You've already forked opentelemetry-go
mirror of
https://github.com/open-telemetry/opentelemetry-go.git
synced 2025-07-17 01:12:45 +02:00
exporter: swap pusher for exporter (#1656)
to provide consistent naming across the code base, deprecate pusher in favor of exporter naming convention. Signed-off-by: ldelossa <ldelossa@redhat.com> Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
569048591c
commit
bd0bba43b5
@ -284,7 +284,7 @@ func TestExportTimeout(t *testing.T) {
|
||||
),
|
||||
controller.WithCollectPeriod(time.Second),
|
||||
controller.WithPushTimeout(time.Millisecond),
|
||||
controller.WithPusher(exporter),
|
||||
controller.WithExporter(exporter),
|
||||
controller.WithResource(resource.Empty()),
|
||||
)
|
||||
mock := controllertest.NewMockClock()
|
||||
@ -340,7 +340,7 @@ func TestCollectAfterStopThenStartAgain(t *testing.T) {
|
||||
exp,
|
||||
),
|
||||
controller.WithCollectPeriod(time.Second),
|
||||
controller.WithPusher(exp),
|
||||
controller.WithExporter(exp),
|
||||
controller.WithResource(resource.Empty()),
|
||||
)
|
||||
mock := controllertest.NewMockClock()
|
||||
|
Reference in New Issue
Block a user