From 99508a6b8fed1d57b3e5fed3395183f658be610d Mon Sep 17 00:00:00 2001 From: Jason Parraga Date: Sun, 17 Dec 2023 23:58:22 -0800 Subject: [PATCH] gofumpt --- .../otelrestful/internal/semconvutil/httpconv_test.go | 1 + .../gin-gonic/gin/otelgin/internal/semconvutil/httpconv_test.go | 1 + .../gorilla/mux/otelmux/internal/semconvutil/httpconv_test.go | 1 + .../echo/otelecho/internal/semconvutil/httpconv_test.go | 1 + .../grpc/otelgrpc/example/api/hello-service.pb.go | 2 ++ .../otelmacaron/internal/semconvutil/httpconv_test.go | 1 + .../otelhttptrace/internal/semconvutil/httpconv_test.go | 1 + .../net/http/otelhttp/internal/semconvutil/httpconv_test.go | 1 + 8 files changed, 9 insertions(+) diff --git a/instrumentation/github.com/emicklei/go-restful/otelrestful/internal/semconvutil/httpconv_test.go b/instrumentation/github.com/emicklei/go-restful/otelrestful/internal/semconvutil/httpconv_test.go index 26a2fe8cfbf..ea59b0706ec 100644 --- a/instrumentation/github.com/emicklei/go-restful/otelrestful/internal/semconvutil/httpconv_test.go +++ b/instrumentation/github.com/emicklei/go-restful/otelrestful/internal/semconvutil/httpconv_test.go @@ -67,6 +67,7 @@ func TestHTTPSClientRequest(t *testing.T) { HTTPClientRequest(req), ) } + func TestHTTPSClientRequestMetrics(t *testing.T) { req := &http.Request{ Method: http.MethodGet, diff --git a/instrumentation/github.com/gin-gonic/gin/otelgin/internal/semconvutil/httpconv_test.go b/instrumentation/github.com/gin-gonic/gin/otelgin/internal/semconvutil/httpconv_test.go index 26a2fe8cfbf..ea59b0706ec 100644 --- a/instrumentation/github.com/gin-gonic/gin/otelgin/internal/semconvutil/httpconv_test.go +++ b/instrumentation/github.com/gin-gonic/gin/otelgin/internal/semconvutil/httpconv_test.go @@ -67,6 +67,7 @@ func TestHTTPSClientRequest(t *testing.T) { HTTPClientRequest(req), ) } + func TestHTTPSClientRequestMetrics(t *testing.T) { req := &http.Request{ Method: http.MethodGet, diff --git a/instrumentation/github.com/gorilla/mux/otelmux/internal/semconvutil/httpconv_test.go b/instrumentation/github.com/gorilla/mux/otelmux/internal/semconvutil/httpconv_test.go index 26a2fe8cfbf..ea59b0706ec 100644 --- a/instrumentation/github.com/gorilla/mux/otelmux/internal/semconvutil/httpconv_test.go +++ b/instrumentation/github.com/gorilla/mux/otelmux/internal/semconvutil/httpconv_test.go @@ -67,6 +67,7 @@ func TestHTTPSClientRequest(t *testing.T) { HTTPClientRequest(req), ) } + func TestHTTPSClientRequestMetrics(t *testing.T) { req := &http.Request{ Method: http.MethodGet, diff --git a/instrumentation/github.com/labstack/echo/otelecho/internal/semconvutil/httpconv_test.go b/instrumentation/github.com/labstack/echo/otelecho/internal/semconvutil/httpconv_test.go index 26a2fe8cfbf..ea59b0706ec 100644 --- a/instrumentation/github.com/labstack/echo/otelecho/internal/semconvutil/httpconv_test.go +++ b/instrumentation/github.com/labstack/echo/otelecho/internal/semconvutil/httpconv_test.go @@ -67,6 +67,7 @@ func TestHTTPSClientRequest(t *testing.T) { HTTPClientRequest(req), ) } + func TestHTTPSClientRequestMetrics(t *testing.T) { req := &http.Request{ Method: http.MethodGet, diff --git a/instrumentation/google.golang.org/grpc/otelgrpc/example/api/hello-service.pb.go b/instrumentation/google.golang.org/grpc/otelgrpc/example/api/hello-service.pb.go index e6ec648f829..97bfad5b458 100644 --- a/instrumentation/google.golang.org/grpc/otelgrpc/example/api/hello-service.pb.go +++ b/instrumentation/google.golang.org/grpc/otelgrpc/example/api/hello-service.pb.go @@ -5,9 +5,11 @@ Package api is a generated protocol buffer package. It is generated from these files: + hello-service.proto It has these top-level messages: + HelloRequest HelloResponse */ diff --git a/instrumentation/gopkg.in/macaron.v1/otelmacaron/internal/semconvutil/httpconv_test.go b/instrumentation/gopkg.in/macaron.v1/otelmacaron/internal/semconvutil/httpconv_test.go index 26a2fe8cfbf..ea59b0706ec 100644 --- a/instrumentation/gopkg.in/macaron.v1/otelmacaron/internal/semconvutil/httpconv_test.go +++ b/instrumentation/gopkg.in/macaron.v1/otelmacaron/internal/semconvutil/httpconv_test.go @@ -67,6 +67,7 @@ func TestHTTPSClientRequest(t *testing.T) { HTTPClientRequest(req), ) } + func TestHTTPSClientRequestMetrics(t *testing.T) { req := &http.Request{ Method: http.MethodGet, diff --git a/instrumentation/net/http/httptrace/otelhttptrace/internal/semconvutil/httpconv_test.go b/instrumentation/net/http/httptrace/otelhttptrace/internal/semconvutil/httpconv_test.go index 26a2fe8cfbf..ea59b0706ec 100644 --- a/instrumentation/net/http/httptrace/otelhttptrace/internal/semconvutil/httpconv_test.go +++ b/instrumentation/net/http/httptrace/otelhttptrace/internal/semconvutil/httpconv_test.go @@ -67,6 +67,7 @@ func TestHTTPSClientRequest(t *testing.T) { HTTPClientRequest(req), ) } + func TestHTTPSClientRequestMetrics(t *testing.T) { req := &http.Request{ Method: http.MethodGet, diff --git a/instrumentation/net/http/otelhttp/internal/semconvutil/httpconv_test.go b/instrumentation/net/http/otelhttp/internal/semconvutil/httpconv_test.go index 26a2fe8cfbf..ea59b0706ec 100644 --- a/instrumentation/net/http/otelhttp/internal/semconvutil/httpconv_test.go +++ b/instrumentation/net/http/otelhttp/internal/semconvutil/httpconv_test.go @@ -67,6 +67,7 @@ func TestHTTPSClientRequest(t *testing.T) { HTTPClientRequest(req), ) } + func TestHTTPSClientRequestMetrics(t *testing.T) { req := &http.Request{ Method: http.MethodGet,