Skip to content

Conversation

pxaws
Copy link
Contributor

@pxaws pxaws commented May 11, 2021

Description:
This commit add the host info that are used by container insight receiver. This includes:

  • cpu/mem capacity from gopsutils
  • cluster name and auto scaling group from ec2 tags
  • instance id and type from ec2 metadata
  • ebs volume from ec2 describe volume api and symbolic links on filesystem

Link to tracking Issue:
#2307

Testing:
Unit tests will be added

Documentation:

@pxaws
Copy link
Contributor Author

pxaws commented May 12, 2021

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.

@pxaws pxaws marked this pull request as ready for review May 12, 2021 00:25
@pxaws pxaws requested a review from a team May 12, 2021 00:25
Copy link
Contributor

@pingleig pingleig left a 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.

@pxaws
Copy link
Contributor Author

pxaws commented May 17, 2021

@alolita @mxiamxia

Copy link
Contributor Author

@pxaws pxaws left a 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.

@pxaws pxaws requested a review from Aneurysm9 June 1, 2021 16:15
Copy link
Member

@mxiamxia mxiamxia left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@alolita alolita added the ready to merge Code review completed; ready to merge by maintainers label Jun 4, 2021
@bogdandrutu bogdandrutu merged commit cf1da57 into open-telemetry:main Jun 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready to merge Code review completed; ready to merge by maintainers

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants