You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While investigating elastic/elastic-agent#6155, @VihasMakwana pointed out that if a Metricbeat module contains multiple metricsets, an error reported by one metricset is overwritten by another. This was tested with the latest DRA (8.17.0) of Elastic Agent.
The scenario goes like this:
One metricset Fetch call reports a partial metrics error
Almost immediately a new metricset from the same module reports a success
The status of the previous metricset gets overwritten and it reports the status as success.
Go to step 1, loop and repeat forever. Due to how fast this happens, the error is never shown to the user.
Here it says that PartialMetricsError is temporary and will be removed at some point, but we started using it in more than one place. I propose we remove this comment.
The likely cause of this issue appears to be in the following code that is called for the error result of a metricset Fetch op: metricbeat/mb/module/wrapper.go#L313-L336.
The text was updated successfully, but these errors were encountered:
While investigating elastic/elastic-agent#6155, @VihasMakwana pointed out that if a Metricbeat module contains multiple metricsets, an error reported by one metricset is overwritten by another. This was tested with the latest DRA (8.17.0) of Elastic Agent.
The scenario goes like this:
Here it says that PartialMetricsError is temporary and will be removed at some point, but we started using it in more than one place. I propose we remove this comment.
The likely cause of this issue appears to be in the following code that is called for the error result of a metricset Fetch op: metricbeat/mb/module/wrapper.go#L313-L336.
The text was updated successfully, but these errors were encountered: