Registered metricsets fail to load if listed as light modules #14698
Labels
bug
candidate
Candidate to be added to the current iteration
Metricbeat
Metricbeat
Team:Integrations
Label for the Integrations team
When we added support for light modules in Metricbeat (#12270), we defined that available light metricsets in a module should be listed in a
module.yml
file.In the case of mixed modules (modules with light and registered metricsets), only light modules are intended to be listed there. We have found that this is confusing, a developer would expect that metricsets listed there continue working no matter their kind, but current implementation fails to load a light module if one of the metricsets listed in
module.yml
doesn't have amanifest.yml
.Metricbeat shouldn't try to load metricsets as light metricsets if they are registered, even if they are listed in the
module,yml
file.How to reproduce:
module.yml
fileExpected behaviour:
module.yml
that are registered.manifest.yml
AND is not registered.The text was updated successfully, but these errors were encountered: