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
This is an alternative implementation of elastic#2032. Instead of collecting the errors
and then removing the empty values, we define a schema of conversions and we use code
apply them, so we have the opportunity to handle errors.
Fixeselastic#1972.
This is an alternative implementation of #2032. Instead of collecting the errors
and then removing the empty values, we define a schema of conversions and we use code
apply them, so we have the opportunity to handle errors.
Fixes#1972.
Currently most metricsets send a default value in case a value is not set. In contrast the mongodb/status metricset removes all fields which are not set. An example can be found here https://github.com/elastic/beats/blob/master/metricbeat/module/mongodb/status/data.go#L175
The MongoDB implementation has the following advantage:
All Metricsets should have the same implementation as MongoDB has. The logic in MongoDB to remove fields should be generalised.
The text was updated successfully, but these errors were encountered: