[9.1](backport #45679) feat: add status reporting to CloudWatch#45843
Merged
Kavindu-Dodan merged 2 commits into9.1from Aug 7, 2025
Merged
[9.1](backport #45679) feat: add status reporting to CloudWatch#45843Kavindu-Dodan merged 2 commits into9.1from
Kavindu-Dodan merged 2 commits into9.1from
Conversation
* feat: add status reporting to CloudWatch Signed-off-by: Kavindu Dodanduwa <kavindu.dodanduwa@elastic.co> * improve status propagation Signed-off-by: Kavindu Dodanduwa <kavindu.dodanduwa@elastic.co> * add changelog entry Signed-off-by: Kavindu Dodanduwa <kavindu.dodanduwa@elastic.co> * review: sync for reporting Signed-off-by: Kavindu Dodanduwa <kavindu.dodanduwa@elastic.co> * review: add error message for degrading statuses Signed-off-by: Kavindu Dodanduwa <kavindu.dodanduwa@elastic.co> * review suggestions Signed-off-by: Kavindu Dodanduwa <kavindu.dodanduwa@elastic.co> * improve nil handling in error handling Signed-off-by: Kavindu Dodanduwa <kavindu.dodanduwa@elastic.co> --------- Signed-off-by: Kavindu Dodanduwa <kavindu.dodanduwa@elastic.co> (cherry picked from commit b17bbad)
Contributor
🤖 GitHub commentsExpand to view the GitHub comments
Just comment with:
|
Contributor
|
Pinging @elastic/obs-ds-hosted-services (Team:obs-ds-hosted-services) |
Kavindu-Dodan
approved these changes
Aug 7, 2025
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Proposed commit message
Adds Status reporting for AWS CloudWatch input. I have introduced following,
cwStateReporter: This proxy the status to the actual status reporter. Validate status change from current before conveying status to internal reporter.debugCWStatusReporter: Performs debug logging when context-bound reporter is missing. For example, this happens in standalone modeChecklist
CHANGELOG.next.asciidocorCHANGELOG-developer.next.asciidoc.Disruptive User Impact
None - Status reports are utilized by the Agent. In standalone mode, logs are added in Debug level
How to test this PR locally
CloudWatch input status updated:prefix for status changesSee below log entries from a standalone run,
Startup and configuration
Degraded - network connectivity issue
Back to running status
Related issues
Fixes #44648
This is an automatic backport of pull request #45679 done by Mergify.