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

Add missing argument names to the Span interface #1135

Merged
merged 1 commit into from
Sep 8, 2020
Merged

Add missing argument names to the Span interface #1135

merged 1 commit into from
Sep 8, 2020

Conversation

rakyll
Copy link
Contributor

@rakyll rakyll commented Sep 8, 2020

Even though arbitrary-looking, new developers need to rely on docs
to figure out the arguments. Self document them by naming.

Even though arbitrary-looking, new developers need to rely on docs
to figure out the arguments. Self document them by naming.
@codecov
Copy link

codecov bot commented Sep 8, 2020

Codecov Report

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

Impacted file tree graph

@@          Coverage Diff           @@
##           master   #1135   +/-   ##
======================================
  Coverage    77.2%   77.2%           
======================================
  Files         133     133           
  Lines        7101    7101           
======================================
+ Hits         5488    5489    +1     
+ Misses       1366    1364    -2     
- Partials      247     248    +1     
Impacted Files Coverage Δ
api/trace/api.go 65.5% <ø> (ø)
exporters/trace/jaeger/reconnecting_udp_client.go 88.5% <0.0%> (-2.3%) ⬇️
sdk/trace/batch_span_processor.go 83.5% <0.0%> (+3.0%) ⬆️

Copy link
Member

@XSAM XSAM left a comment

Choose a reason for hiding this comment

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

It looks like tons of interface need update. Maybe we should update our Style Guide and unify all interfaces.

@MrAlias MrAlias merged commit 7435710 into open-telemetry:master Sep 8, 2020
@MrAlias
Copy link
Contributor

MrAlias commented Sep 8, 2020

It looks like tons of interface need update. Maybe we should update our Style Guide and unify all interfaces.

Created #1138 to track this.

evantorrie pushed a commit to evantorrie/opentelemetry-go that referenced this pull request Sep 10, 2020
Even though arbitrary-looking, new developers need to rely on docs
to figure out the arguments. Self document them by naming.
@pellared pellared added this to the untracked milestone Nov 8, 2024
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