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

Commit fb92c34

Browse files
author
Ramon Nogueira
authored
Fix some doc lint warnings (#939)
1 parent c20af95 commit fb92c34

3 files changed

Lines changed: 5 additions & 0 deletions

File tree

plugin/ochttp/span_annotating_client_trace.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ type spanAnnotator struct {
2929

3030
// TODO: Remove NewSpanAnnotator at the next release.
3131

32+
// NewSpanAnnotator returns a httptrace.ClientTrace which annotates
33+
// all emitted httptrace events on the provided Span.
3234
// Deprecated: Use NewSpanAnnotatingClientTrace instead
3335
func NewSpanAnnotator(r *http.Request, s *trace.Span) *httptrace.ClientTrace {
3436
return NewSpanAnnotatingClientTrace(r, s)

plugin/ochttp/stats.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ var (
3232
ClientLatency = stats.Float64("opencensus.io/http/client/latency", "End-to-end latency", stats.UnitMilliseconds)
3333
)
3434

35+
// Client measures supported for use in custom views.
3536
var (
3637
ClientSentBytes = stats.Int64(
3738
"opencensus.io/http/client/sent_bytes",

trace/tracestate/tracestate.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15+
// Package tracestate implements support for the Tracestate header of the
16+
// W3C TraceContext propagation format.
1517
package tracestate
1618

1719
import (

0 commit comments

Comments
 (0)