Skip to content
This repository has been archived by the owner on Jul 31, 2023. It is now read-only.

Commit

Permalink
Fix some doc lint warnings (#939)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ramon Nogueira authored Oct 4, 2018
1 parent c20af95 commit fb92c34
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions plugin/ochttp/span_annotating_client_trace.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ type spanAnnotator struct {

// TODO: Remove NewSpanAnnotator at the next release.

// NewSpanAnnotator returns a httptrace.ClientTrace which annotates
// all emitted httptrace events on the provided Span.
// Deprecated: Use NewSpanAnnotatingClientTrace instead
func NewSpanAnnotator(r *http.Request, s *trace.Span) *httptrace.ClientTrace {
return NewSpanAnnotatingClientTrace(r, s)
Expand Down
1 change: 1 addition & 0 deletions plugin/ochttp/stats.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ var (
ClientLatency = stats.Float64("opencensus.io/http/client/latency", "End-to-end latency", stats.UnitMilliseconds)
)

// Client measures supported for use in custom views.
var (
ClientSentBytes = stats.Int64(
"opencensus.io/http/client/sent_bytes",
Expand Down
2 changes: 2 additions & 0 deletions trace/tracestate/tracestate.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
// See the License for the specific language governing permissions and
// limitations under the License.

// Package tracestate implements support for the Tracestate header of the
// W3C TraceContext propagation format.
package tracestate

import (
Expand Down

0 comments on commit fb92c34

Please sign in to comment.