Skip to content

Add skeleton for AWS ECS container metrics receiver #463

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

Merged
merged 8 commits into from
Aug 13, 2020

Conversation

hossain-rayhan
Copy link
Contributor

@hossain-rayhan hossain-rayhan commented Jul 15, 2020

Description:
Adding a feature: This change adds the skeleton for AWS ECS container metrics receiver. It reads
collection_interval from config file and ships some dummy metrics on that fixed interval.

Link to tracking Issue:
Closes #458

Testing:
Unit test added and executed locally.

Documentation:
README was added.

@hossain-rayhan hossain-rayhan requested a review from a team July 15, 2020 19:30
@linux-foundation-easycla
Copy link

linux-foundation-easycla bot commented Jul 15, 2020

CLA Check
The committers are authorized under a signed CLA.

  • ✅ Rayhan Hossain (Mukla.C) (7aedd880288d6076a33d56bc34622d205e604104)

@hossain-rayhan hossain-rayhan changed the title Add skeleton for Amazon ECS Task Metadata Endpoint Add skeleton for Amazon ECS Task Metadata Endpoint receiver Jul 15, 2020
@hossain-rayhan hossain-rayhan changed the title Add skeleton for Amazon ECS Task Metadata Endpoint receiver Add skeleton for AWS ECS container metrics receiver Jul 17, 2020
@codecov
Copy link

codecov bot commented Jul 17, 2020

Codecov Report

Merging #463 into master will increase coverage by 0.07%.
The diff coverage is 96.77%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #463      +/-   ##
==========================================
+ Coverage   86.04%   86.12%   +0.07%     
==========================================
  Files         203      206       +3     
  Lines       11230    11292      +62     
==========================================
+ Hits         9663     9725      +62     
  Misses       1236     1236              
  Partials      331      331              
Flag Coverage Δ
#integration 57.03% <ø> (ø)
#unit 85.91% <96.77%> (+0.07%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
...eceiver/awsecscontainermetricsreceiver/receiver.go 92.59% <92.59%> (ø)
...sreceiver/awsecscontainermetrics/metrics_helper.go 100.00% <100.00%> (ø)
receiver/awsecscontainermetricsreceiver/factory.go 100.00% <100.00%> (ø)
...eiver/awsxrayreceiver/internal/udppoller/poller.go 100.00% <0.00%> (+2.43%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update e3d97f3...3fd9d10. Read the comment docs.

mxiamxia referenced this pull request in mxiamxia/opentelemetry-collector-contrib Jul 22, 2020
* Add debug logging to tail sampling filters

Signed-off-by: Annanay <[email protected]>

* Correct import order

Signed-off-by: Annanay <[email protected]>
@jrcamp jrcamp self-assigned this Jul 22, 2020
@hossain-rayhan hossain-rayhan force-pushed the taskmetadata branch 3 times, most recently from 176aa1c to 527e8d6 Compare July 25, 2020 01:02
@jrcamp
Copy link
Contributor

jrcamp commented Jul 27, 2020

@hossain-rayhan patch codecov is still low and lint is failing (you can try running make lint locally)

@jrcamp
Copy link
Contributor

jrcamp commented Jul 29, 2020

@hossain-rayhan coverage check is still low. Please take a look at the coverage report to see what coverage you're missing. If you're not able to provide the required coverage please explain why it's not feasible for certain lines to not be covered.

@hossain-rayhan hossain-rayhan requested a review from jrcamp August 4, 2020 01:30
@hossain-rayhan hossain-rayhan force-pushed the taskmetadata branch 2 times, most recently from 34f368e to ea7678c Compare August 4, 2020 18:14
Copy link
Contributor

@jrcamp jrcamp left a comment

Choose a reason for hiding this comment

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

Sorry for the delay, was out last week. Just one cleanup then lgtm.

@hossain-rayhan hossain-rayhan force-pushed the taskmetadata branch 3 times, most recently from 7c96c03 to 82256e2 Compare August 11, 2020 19:14
Description:
This change adds the skeleton for AWS ECS container metrics receiver. It reads
`collection_interval` from config file and ships some dummy metrics on that fixed interval.
@jrcamp
Copy link
Contributor

jrcamp commented Aug 12, 2020

@bogdandrutu @tigrannajaryan ready for merge

@hossain-rayhan
Copy link
Contributor Author

Detached my incomplete receiver from the component.go file. We can add it once my receiver is completely ready. Also, I guess it will help to get rid of the conflicts occurring every hour in top level go.mod and go.sum file.

@tigrannajaryan tigrannajaryan merged commit 4533aa7 into open-telemetry:master Aug 13, 2020
bogdandrutu pushed a commit that referenced this pull request May 12, 2022
* Change default value of 'parse_to' to 'attributes'

* Fix tests in recently added operator
codeboten pushed a commit that referenced this pull request Nov 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

AWS ECS container metrics receiver: create receiver skeleton
4 participants