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

otlpreceiver: Add Log Support #1444

Merged
merged 1 commit into from
Jul 27, 2020
Merged

otlpreceiver: Add Log Support #1444

merged 1 commit into from
Jul 27, 2020

Conversation

keitwb
Copy link
Contributor

@keitwb keitwb commented Jul 27, 2020

No description provided.

@codecov
Copy link

codecov bot commented Jul 27, 2020

Codecov Report

Merging #1444 into master will increase coverage by 0.05%.
The diff coverage is 95.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1444      +/-   ##
==========================================
+ Coverage   90.70%   90.75%   +0.05%     
==========================================
  Files         232      233       +1     
  Lines       16384    16423      +39     
==========================================
+ Hits        14861    14905      +44     
+ Misses       1092     1086       -6     
- Partials      431      432       +1     
Impacted Files Coverage Δ
receiver/otlpreceiver/factory.go 87.34% <75.00%> (-1.40%) ⬇️
receiver/otlpreceiver/logs/otlp.go 100.00% <100.00%> (ø)
receiver/otlpreceiver/otlp.go 94.44% <100.00%> (+0.79%) ⬆️
translator/internaldata/resource_to_oc.go 86.04% <0.00%> (ø)
internal/data/log.go 100.00% <0.00%> (+23.33%) ⬆️

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 fdfe497...a4753aa. Read the comment docs.

@bogdandrutu
Copy link
Member

Did not plan to do a full review, but saw that and want to point it out :)

Copy link
Member

@tigrannajaryan tigrannajaryan left a comment

Choose a reason for hiding this comment

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

LGTM

require.NoError(t, err, "Failed to export trace: %v", err)
require.NotNil(t, resp, "The response is missing")

// assert
Copy link
Member

Choose a reason for hiding this comment

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

What is this comment about?

_, port, doneFn := otlpReceiverOnGRPCServer(t, logSink)
defer doneFn()

traceClient, traceClientDoneFn, err := makeLogsServiceClient(port)
Copy link
Member

Choose a reason for hiding this comment

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

logsClient?

require.NoError(t, err, "Failed to create the TraceServiceClient: %v", err)
defer traceClientDoneFn()

// when
Copy link
Member

Choose a reason for hiding this comment

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

Unnecessary comment?

@tigrannajaryan tigrannajaryan merged commit a2b2aed into open-telemetry:master Jul 27, 2020
@tigrannajaryan
Copy link
Member

@bogdandrutu sorry, didn't notice that you had pending comments on this.

@keitwb keitwb deleted the otlp-receiver-logs branch July 28, 2020 14:59
MovieStoreGuy pushed a commit to atlassian-forks/opentelemetry-collector that referenced this pull request Nov 11, 2021
* add OpenCensus metric exporter bridge

* Update bridge/opencensus/README.md

Co-authored-by: Eric Sirianni <sirianni@users.noreply.github.com>

Co-authored-by: Eric Sirianni <sirianni@users.noreply.github.com>
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
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.

4 participants