-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added cleanup if service errors on Start (#6351)
* Added cleanup if service errors on Start Signed-off-by: Corbin Phelps <[email protected]> * Added issue to changelog Signed-off-by: Corbin Phelps <[email protected]> * Added a test to verify the reusablility of telemetryInitializer in services Signed-off-by: Corbin Phelps <[email protected]> * Moved telemetryInitializer shutdown out of service shutdown Signed-off-by: Corbin Phelps <[email protected]> * Fixed comment Signed-off-by: Corbin Phelps <[email protected]> * Bundled service shutdown and telemetry into a helper function in the collector Signed-off-by: Corbin Phelps <[email protected]> * PR Fixups Signed-off-by: Corbin Phelps <[email protected]> * Update service/collector.go Co-authored-by: Bogdan Drutu <[email protected]> Signed-off-by: Corbin Phelps <[email protected]> Co-authored-by: Bogdan Drutu <[email protected]>
- Loading branch information
Showing
4 changed files
with
100 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# One of 'breaking', 'deprecation', 'new_component', 'enhancement', 'bug_fix' | ||
change_type: bug_fix | ||
|
||
# The name of the component, or a single word describing the area of concern, (e.g. otlpreceiver) | ||
component: collector | ||
|
||
# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`). | ||
note: Fixed collector service not cleaning up if it failed during Start | ||
|
||
# One or more tracking issues or pull requests related to the change | ||
issues: [6352] | ||
|
||
# (Optional) One or more lines of additional information to render under the primary note. | ||
# These lines will be padded with 2 spaces and then inserted directly into the document. | ||
# Use pipe (|) for multiline entries. | ||
subtext: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters