From 41f3680fc788488fdecbe2e652604680a90dc2a8 Mon Sep 17 00:00:00 2001 From: Andrew Gerrand Date: Wed, 5 Oct 2016 08:12:01 +1100 Subject: content: fix more links in tracing blog post Change-Id: I2aec5e9b4f4daec15f724f386eb57bbd34fba6f6 Reviewed-on: https://go-review.googlesource.com/30331 Reviewed-by: Andrew Gerrand --- content/http-tracing.article | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'content/http-tracing.article') diff --git a/content/http-tracing.article b/content/http-tracing.article index 0e586c5..d006bf6 100644 --- a/content/http-tracing.article +++ b/content/http-tracing.article @@ -8,7 +8,7 @@ Jaana Burcu Dogan In Go 1.7 we introduced HTTP tracing, a facility to gather fine-grained information throughout the lifecycle of an HTTP client request. -Support for HTTP tracing is provided by the [[`net/http/httptrace`][https://golang.org/pkg/net/http/httptrace/]] +Support for HTTP tracing is provided by the [[https://golang.org/pkg/net/http/httptrace/][`net/http/httptrace`]] package. The collected information can be used for debugging latency issues, service monitoring, writing adaptive systems, and more. @@ -26,9 +26,9 @@ during an HTTP round trip about a variety of events. These events include: * Tracing events You can enable HTTP tracing by putting an -[[`*httptrace.ClientTrace`][https://golang.org/pkg/net/http/httptrace/#ClientTrace]] -containing hook functions into a request's [[`context.Context`][https://golang.org/pkg/context/#Context]]. -Various [[`http.RoundTripper`][https://golang.org/pkg/net/http/#RoundTripper]] +[[https://golang.org/pkg/net/http/httptrace/#ClientTrace][`*httptrace.ClientTrace`]] +containing hook functions into a request's [[https://golang.org/pkg/context/#Context][`context.Context`]]. +Various [[https://golang.org/pkg/net/http/#RoundTripper][`http.RoundTripper`]] implementations report the internal events by looking for context's `*httptrace.ClientTrace` and calling the relevant hook functions. -- cgit v1.2.3