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

Resource Detection Processor: Logs Support #970

Merged

Conversation

pmm-sumo
Copy link
Contributor

@pmm-sumo pmm-sumo commented Sep 8, 2020

Description:

Add logs support to resourcedetection processor

This is a re-open of #967 due to issues with triggering CircleCI build

Link to tracking Issue: open-telemetry/opentelemetry-collector#1653

Testing: unit test for logs added. Tested manually with EC2 and ENV detectors

Documentation: Added a note on logs being supported by the processor

@pmm-sumo pmm-sumo requested a review from a team as a code owner September 8, 2020 18:06
@project-bot project-bot bot added this to In progress in Collector Sep 8, 2020
@codecov
Copy link

codecov bot commented Sep 8, 2020

Codecov Report

Merging #970 into master will increase coverage by 0.02%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #970      +/-   ##
==========================================
+ Coverage   88.47%   88.50%   +0.02%     
==========================================
  Files         245      245              
  Lines       13089    13103      +14     
==========================================
+ Hits        11581    11597      +16     
+ Misses       1148     1147       -1     
+ Partials      360      359       -1     
Flag Coverage Δ
#integration 74.88% <ø> (ø)
#unit 87.71% <100.00%> (+0.02%) ⬆️

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

Impacted Files Coverage Δ
processor/resourcedetectionprocessor/factory.go 97.43% <100.00%> (+5.43%) ⬆️
...edetectionprocessor/resourcedetection_processor.go 92.85% <100.00%> (-2.39%) ⬇️

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 3cc0d37...99f8e51. Read the comment docs.

@pmm-sumo
Copy link
Contributor Author

pmm-sumo commented Sep 8, 2020

Seems this triggered the original build, removing the duplicate PR

@pmm-sumo pmm-sumo closed this Sep 8, 2020
Collector automation moved this from In progress to Done Sep 8, 2020
@pmm-sumo pmm-sumo reopened this Sep 8, 2020
Collector automation moved this from Done to In progress Sep 8, 2020
@pmm-sumo pmm-sumo changed the title Resource Detection Processor: Logs Support (another attempt to trigger CircleCI) Resource Detection Processor: Logs Support Sep 8, 2020
@bogdandrutu
Copy link
Member

Finally looks like it works :)

Collector automation moved this from In progress to Reviewer approved Sep 8, 2020
@bogdandrutu bogdandrutu merged commit 0b53744 into open-telemetry:master Sep 8, 2020
Collector automation moved this from Reviewer approved to Done Sep 8, 2020
ljmsc referenced this pull request in ljmsc/opentelemetry-collector-contrib Feb 21, 2022
* Remove IndexedAttribute from api/label

IndexedAttribute is a synonym for IndexedLabel and a hold over from when
this iterator pattern had multiple implementations. Given it no longer
is uses, remove it to avoid introducing confusion to users.

* Update Changelog

* Update Changelog PR number
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Collector
  
Done
Development

Successfully merging this pull request may close these issues.

None yet

2 participants