Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Retrieve instance tags at the same time to reduce number of entities in Explore related experience #1474

Merged
merged 13 commits into from
Dec 19, 2024
Merged
Prev Previous commit
Next Next commit
merged upstream
  • Loading branch information
nathalapooja committed Dec 9, 2024
commit 5048fe5630e228031d1aed93a8f2eeeb23a39d85
3 changes: 2 additions & 1 deletion extension/entitystore/ec2Info.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ import (
"go.uber.org/zap"

"github.com/aws/amazon-cloudwatch-agent/internal/ec2metadataprovider"
"github.com/aws/amazon-cloudwatch-agent/translator/config"
)

const (
Expand Down Expand Up @@ -88,7 +89,7 @@ func (ei *EC2Info) setInstanceIDAccountID() error {
}
}

func newEC2Info(metadataProvider ec2metadataprovider.MetadataProvider, done chan struct{}, region string, logger *zap.Logger) *EC2Info {
func newEC2Info(metadataProvider ec2metadataprovider.MetadataProvider, kubernetesMode string, done chan struct{}, region string, logger *zap.Logger) *EC2Info {
return &EC2Info{
metadataProvider: metadataProvider,
kubernetesMode: kubernetesMode,
Expand Down
You are viewing a condensed version of this merge commit. You can view the full changes here.