Skip to content

Commit

Permalink
🟢 remove unused tracer
Browse files Browse the repository at this point in the history
Signed-off-by: Dominik Richter <[email protected]>
  • Loading branch information
arlimus committed Jan 12, 2024
1 parent 5d96a15 commit bebf298
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
7 changes: 1 addition & 6 deletions explorer/query_hub.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,11 @@ import (
"os"
"path"

"go.mondoo.com/cnquery/v10/logger"
"go.mondoo.com/cnquery/v10/mrn"

"go.mondoo.com/ranger-rpc"

"go.mondoo.com/cnquery/v10/logger"
"go.mondoo.com/ranger-rpc/codes"
"go.mondoo.com/ranger-rpc/status"
"go.opentelemetry.io/otel"
)

const (
Expand All @@ -26,8 +23,6 @@ const (
CollectionIDQueryPacks = "querypacks"
)

var tracer = otel.Tracer("go.mondoo.com/cnquery/v10/explorer")

func NewQueryPackMrn(namespace string, uid string) string {
m := &mrn.MRN{
ServiceName: RegistryServiceName,
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ require (
github.com/toravir/csd v0.0.0-20200911003203-13ae77ad849c
github.com/ulikunitz/xz v0.5.11
go.mondoo.com/ranger-rpc v0.5.3
go.opentelemetry.io/otel v1.21.0
go.opentelemetry.io/otel v1.21.0 // indirect
golang.org/x/crypto v0.18.0
golang.org/x/net v0.20.0
golang.org/x/sync v0.6.0
Expand Down

0 comments on commit bebf298

Please sign in to comment.