-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
add host relevant info for container insight receiver #3372
Conversation
The unit tests are not ready yet. While I am working on them, I hope to get feedback as soon as possible to speed up the process. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we should merge all the refresh ticker logic.
receiver/awscontainerinsightreceiver/internal/host/ebsvolume.go
Outdated
Show resolved
Hide resolved
receiver/awscontainerinsightreceiver/internal/host/ebsvolume.go
Outdated
Show resolved
Hide resolved
receiver/awscontainerinsightreceiver/internal/host/ebsvolume.go
Outdated
Show resolved
Hide resolved
receiver/awscontainerinsightreceiver/internal/host/ebsvolume.go
Outdated
Show resolved
Hide resolved
receiver/awscontainerinsightreceiver/internal/host/ebsvolume.go
Outdated
Show resolved
Hide resolved
receiver/awscontainerinsightreceiver/internal/host/ec2metadata.go
Outdated
Show resolved
Hide resolved
receiver/awscontainerinsightreceiver/internal/host/ec2metadata.go
Outdated
Show resolved
Hide resolved
receiver/awscontainerinsightreceiver/internal/host/nodeCapacity.go
Outdated
Show resolved
Hide resolved
receiver/awscontainerinsightreceiver/internal/host/ec2metadata.go
Outdated
Show resolved
Hide resolved
receiver/awscontainerinsightreceiver/internal/host/nodeCapacity.go
Outdated
Show resolved
Hide resolved
receiver/awscontainerinsightreceiver/internal/host/nodeCapacity.go
Outdated
Show resolved
Hide resolved
receiver/awscontainerinsightreceiver/internal/host/ec2metadata.go
Outdated
Show resolved
Hide resolved
receiver/awscontainerinsightreceiver/internal/host/ebsvolume.go
Outdated
Show resolved
Hide resolved
receiver/awscontainerinsightreceiver/internal/host/ebsvolume.go
Outdated
Show resolved
Hide resolved
receiver/awscontainerinsightreceiver/internal/host/ebsvolume.go
Outdated
Show resolved
Hide resolved
receiver/awscontainerinsightreceiver/internal/host/ebsvolume.go
Outdated
Show resolved
Hide resolved
receiver/awscontainerinsightreceiver/internal/host/machineinfo.go
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I refactored the code based on previous comments and added the unit tests.
receiver/awscontainerinsightreceiver/internal/host/ebsvolume.go
Outdated
Show resolved
Hide resolved
receiver/awscontainerinsightreceiver/internal/host/ebsvolume.go
Outdated
Show resolved
Hide resolved
receiver/awscontainerinsightreceiver/internal/host/ec2metadata.go
Outdated
Show resolved
Hide resolved
receiver/awscontainerinsightreceiver/internal/host/ec2metadata.go
Outdated
Show resolved
Hide resolved
receiver/awscontainerinsightreceiver/internal/host/ec2metadata.go
Outdated
Show resolved
Hide resolved
receiver/awscontainerinsightreceiver/internal/host/ebsvolume.go
Outdated
Show resolved
Hide resolved
receiver/awscontainerinsightreceiver/internal/host/ebsvolume.go
Outdated
Show resolved
Hide resolved
receiver/awscontainerinsightreceiver/internal/host/nodeCapacity.go
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Description:
This commit add the host info that are used by container insight receiver. This includes:
Link to tracking Issue:
#2307
Testing:
Unit tests will be added
Documentation: