From 59de817be51b80e50ae329867ad13d29d8394901 Mon Sep 17 00:00:00 2001 From: Florian Lehner Date: Sat, 28 Mar 2026 11:42:47 +0100 Subject: [PATCH 1/2] profcheck: update module path https://github.com/open-telemetry/sig-profiling/pull/65 moved the package profcheck from the subdirectory tools to the root. Reflect this change for consistency also in the module path of the Go module. Signed-off-by: Florian Lehner --- profcheck/cmd/profcheck/main.go | 2 +- profcheck/go.mod | 2 +- profcheck/go.sum | 4 ---- 3 files changed, 2 insertions(+), 6 deletions(-) diff --git a/profcheck/cmd/profcheck/main.go b/profcheck/cmd/profcheck/main.go index 51c0e9e..49f534a 100644 --- a/profcheck/cmd/profcheck/main.go +++ b/profcheck/cmd/profcheck/main.go @@ -21,7 +21,7 @@ import ( "fmt" "os" - "github.com/open-telemetry/sig-profiling/tools/profcheck" + "github.com/open-telemetry/sig-profiling/profcheck" profiles "go.opentelemetry.io/proto/otlp/profiles/v1development" "google.golang.org/protobuf/proto" diff --git a/profcheck/go.mod b/profcheck/go.mod index c67767a..7a2785e 100644 --- a/profcheck/go.mod +++ b/profcheck/go.mod @@ -1,4 +1,4 @@ -module github.com/open-telemetry/sig-profiling/tools/profcheck +module github.com/open-telemetry/sig-profiling/profcheck go 1.24.4 diff --git a/profcheck/go.sum b/profcheck/go.sum index 35faec3..f54a382 100644 --- a/profcheck/go.sum +++ b/profcheck/go.sum @@ -1,11 +1,7 @@ github.com/google/go-cmp v0.7.0 h1:wk8382ETsv4JYUZwIsn6YpYiWiBsYLSJiTsyBybVuN8= github.com/google/go-cmp v0.7.0/go.mod h1:pXiqmnSA92OHEEa9HXL2W4E7lf9JzCmGVUdgjX3N/iU= -go.opentelemetry.io/proto/otlp v1.9.0 h1:l706jCMITVouPOqEnii2fIAuO3IVGBRPV5ICjceRb/A= -go.opentelemetry.io/proto/otlp v1.9.0/go.mod h1:xE+Cx5E/eEHw+ISFkwPLwCZefwVjY+pqKg1qcK03+/4= go.opentelemetry.io/proto/otlp v1.10.0 h1:IQRWgT5srOCYfiWnpqUYz9CVmbO8bFmKcwYxpuCSL2g= go.opentelemetry.io/proto/otlp v1.10.0/go.mod h1:/CV4QoCR/S9yaPj8utp3lvQPoqMtxXdzn7ozvvozVqk= -go.opentelemetry.io/proto/otlp/profiles/v1development v0.2.0 h1:yXinc284C6bmzA1r9jk7MxAhrBIIOH3qwmqwBmylZrA= -go.opentelemetry.io/proto/otlp/profiles/v1development v0.2.0/go.mod h1:ygxocDWPB6Y6bySAjxmHyTebjAJ8jcEUAZc03gu1pxk= go.opentelemetry.io/proto/otlp/profiles/v1development v0.3.0 h1:ZQs05qo3Yh4KUHeVH6v89xErwmsvgA/cLX2/w5Ikp+k= go.opentelemetry.io/proto/otlp/profiles/v1development v0.3.0/go.mod h1:3iiRVKaCfVo0UI1ZaSMm5WbCBbINRqVlD9SUmvyBNrY= google.golang.org/protobuf v1.36.11 h1:fV6ZwhNocDyBLK0dj+fg8ektcVegBBuEolpbTQyBNVE= From 663e6a993c1613de73ec67100de4700d56756baa Mon Sep 17 00:00:00 2001 From: Florian Lehner Date: Sat, 28 Mar 2026 11:45:21 +0100 Subject: [PATCH 2/2] add package comment Signed-off-by: Florian Lehner --- profcheck/check.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/profcheck/check.go b/profcheck/check.go index d182bdd..f240601 100644 --- a/profcheck/check.go +++ b/profcheck/check.go @@ -12,6 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. +// Package profcheck allows to verify that a ProfilesData proto conforms with +// the signal schema requirements and spec. package profcheck import (