-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
[meraki] Log getDevicePerformanceScores
errors
#41622
Conversation
This pull request does not have a backport label.
To fixup this pull request, you need to add the backport labels for the needed
|
|
Co-authored-by: Tom Myers <[email protected]>
Pinging @elastic/elastic-agent-data-plane (Team:Elastic-Agent-Data-Plane) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
a nit.
Co-authored-by: Vihas Makwana <[email protected]>
* log getDevicePerformanceScores errors * add changelog entry * fix PR id * Update x-pack/metricbeat/module/meraki/device_health/devices.go Co-authored-by: Tom Myers <[email protected]> * Update x-pack/metricbeat/module/meraki/device_health/devices.go Co-authored-by: Vihas Makwana <[email protected]> * fix imports --------- Co-authored-by: Tom Myers <[email protected]> Co-authored-by: Vihas Makwana <[email protected]> (cherry picked from commit f35602f)
…rs (#41659) * [meraki] Log `getDevicePerformanceScores` errors (#41622) * log getDevicePerformanceScores errors * add changelog entry * fix PR id * Update x-pack/metricbeat/module/meraki/device_health/devices.go Co-authored-by: Tom Myers <[email protected]> * Update x-pack/metricbeat/module/meraki/device_health/devices.go Co-authored-by: Vihas Makwana <[email protected]> * fix imports --------- Co-authored-by: Tom Myers <[email protected]> Co-authored-by: Vihas Makwana <[email protected]> (cherry picked from commit f35602f) * Update CHANGELOG.next.asciidoc --------- Co-authored-by: Gabriel Pop <[email protected]>
Overview
Currently,
getDevicePerformanceScores
stops the entire metric collection if it encounters an error for a single device that does not support this feature, impacting data collection for other devices. The function should log the errors and skip models with issues, ensuring that metric collection continues smoothly.Checklist
CHANGELOG.next.asciidoc
orCHANGELOG-developer.next.asciidoc
.Disruptive User Impact
Author's Checklist
How to test this PR locally
Related issues
getDevicePerformanceScores
errors without stopping metric collection #41611Use cases
Screenshots
Logs