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

Run make gotidy on master branch #1171

Closed
wants to merge 1 commit into from

Conversation

bogdandrutu
Copy link
Member

Signed-off-by: Bogdan Drutu [email protected]

@bogdandrutu bogdandrutu requested a review from a team as a code owner October 1, 2020 21:29
@codecov
Copy link

codecov bot commented Oct 1, 2020

Codecov Report

Merging #1171 into master will increase coverage by 13.94%.
The diff coverage is n/a.

Impacted file tree graph

@@             Coverage Diff             @@
##           master    #1171       +/-   ##
===========================================
+ Coverage   76.01%   89.95%   +13.94%     
===========================================
  Files          24      283      +259     
  Lines        1163    13772    +12609     
===========================================
+ Hits          884    12389    +11505     
- Misses        226     1014      +788     
- Partials       53      369      +316     
Flag Coverage Δ
#integration 76.09% <ø> (+0.08%) ⬆️
#unit 89.11% <ø> (?)

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

Impacted Files Coverage Δ
...eceiver/k8sclusterreceiver/collection/collector.go 22.66% <0.00%> (ø)
receiver/k8sclusterreceiver/collection/replica.go 100.00% <0.00%> (ø)
internal/awsxray/tracesegment.go 100.00% <0.00%> (ø)
...resourcedetectionprocessor/internal/aws/ec2/ec2.go 90.00% <0.00%> (ø)
receiver/kubeletstatsreceiver/kubelet/cert.go 63.63% <0.00%> (ø)
...sformprocessor/operation_aggregate_label_values.go 100.00% <0.00%> (ø)
receiver/sapmreceiver/factory.go 100.00% <0.00%> (ø)
...er/k8sclusterreceiver/collection/resourcequotas.go 100.00% <0.00%> (ø)
...orter/signalfxexporter/translation/defaultrules.go 100.00% <0.00%> (ø)
receiver/prometheusexecreceiver/factory.go 100.00% <0.00%> (ø)
... and 263 more

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 450f782...7707ab3. Read the comment docs.

@tigrannajaryan
Copy link
Member

Closing this, since I just did gotidy in my last PR: #1172

dyladan referenced this pull request in dynatrace-oss-contrib/opentelemetry-collector-contrib Jan 29, 2021
Note: All of the cudos go to @dneray for the logic/testing/effort in open-telemetry/opentelemetry-collector#981

This pr is based off of it with the following modifications

- The config looks like
```
- key : <key to use for applying the rule too>
  pattern: <the regex pattern with named submatchers>
  action: extract
```
I think that the original PR is going in the right way for what we can the internal logic to be but as the issue #979 and #1170 indicate we need to take a step back and redesign the attributes processor (or make it clear of its limitations).  This pr unblocks the required functionality. 

**Link to tracking Issue:** #979 

**Link to follow up issue:** #1170 

**Testing:** Added tests for extracting.

**Documentation:** Updated processor readme.
@bogdandrutu bogdandrutu deleted the gomodtidy branch February 1, 2021 20:43
ljmsc referenced this pull request in ljmsc/opentelemetry-collector-contrib Feb 21, 2022
…ion (#1171)

* ParentSampler -> ParentBased in Zipkin example description

* update CHANGELOG
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.

2 participants