Dedotting by default is not working on metricbeat Kubernetes module #13409
Labels
bug
containers
Related to containers use case
Metricbeat
Metricbeat
module
Team:Integrations
Label for the Integrations team
In Beats 6.7 we introduced dedotting options to all known places where dedotting could be needed for labels and annotations, and in 7.0 we set these options to true by default, so dedotting is done unless otherwise wanted (see #9860).
This is not working for metricbeat Kubernetes module, where at least labels collected by the
container
metricset are not dedotted.I think that the problem is how we initialize the meta generator in the metadata enricher, there we do:
So
metaConfig
has an empty configuration. We should have akubernetes.DefaultMetaGeneratorConfig()
that generates a default configuration, and use it any time we initialize configurations of this type.Not sure if
IncludeCreatorMetadata
is also wanted, but it is enabled by default inkubernetes.NewMetaGenerator
.For confirmed bugs, please report:
The text was updated successfully, but these errors were encountered: