Set add_cloud_metadata/provider_aws_ec2.go/addTags
's loglevel to info or debug
#42182
Labels
needs_team
Indicates that the issue/PR needs a Team:* label
Describe the enhancement:
Current implementation of addTags generates warning log when
addTagsFromIMDS
fails and then callsec2.DescribeTags
.In k8s environment, I believe this is unnecessary warning log because many k8s provisioning tools doesn't support instance metadata tags option(refer to karpenter and kops links below). Also, as instance metadata tags is not enabled by default, many users will get warning logs which doesn't affect filebeat's behavior getting instance tags because there's fallback using
ec2.DescribeTags
.Describe a specific use case for the enhancement or feature:
Make loglevel in getTagsFromIMDS info or debug
The text was updated successfully, but these errors were encountered: