Skip to content

[exporter/file] Refactor to keep the file exporter inside start/stop lifecycle #31495

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 29, 2024

Conversation

atoulme
Copy link
Contributor

@atoulme atoulme commented Feb 29, 2024

Description:
Scope the behavior of the fileexporter to its lifecycle, so it is safe to shut it down or restart it.

Link to tracking Issue:
Fixes #31494

@atoulme atoulme requested review from a team and dmitryax February 29, 2024 00:47
@github-actions github-actions bot requested a review from atingchen February 29, 2024 00:47
@atoulme atoulme force-pushed the fileexporter_lifecycle branch 4 times, most recently from 7b21f04 to 8ee39de Compare February 29, 2024 01:51
@dmitryax
Copy link
Member

PTAL at the linter failures

@dmitryax
Copy link
Member

@atingchen PTAL

@atoulme atoulme force-pushed the fileexporter_lifecycle branch from 8ee39de to 37cb0cb Compare February 29, 2024 05:20
@dmitryax
Copy link
Member

Merging to unblock the failing build

@dmitryax dmitryax merged commit 89c6207 into open-telemetry:main Feb 29, 2024
@github-actions github-actions bot added this to the next release milestone Feb 29, 2024
XinRanZhAWS pushed a commit to XinRanZhAWS/opentelemetry-collector-contrib that referenced this pull request Mar 13, 2024
…lifecycle (open-telemetry#31495)

**Description:**
Scope the behavior of the fileexporter to its lifecycle, so it is safe
to shut it down or restart it.

**Link to tracking Issue:**
Fixes open-telemetry#31494
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Flaky Test][exporter/file] TestComponentLifecycle/logs-lifecycle: file already closed
3 participants