Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions data_for_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1435,7 +1435,7 @@ var suites = []FixtureSuite{
},
Expect: Results{
CliOutputRe: regexp.MustCompile(`.+`), // match and strip any content
CliOutput: "\n", // after strip, should be just newline
CliOutput: "\n", // after strip, should be just newline
ExitCode: 0,
},
CheckFuncs: []CheckFunc{
Expand All @@ -1461,7 +1461,7 @@ var suites = []FixtureSuite{
},
Expect: Results{
CliOutputRe: regexp.MustCompile(`.+`), // match and strip any content
CliOutput: "\n", // after strip, should be just newline
CliOutput: "\n", // after strip, should be just newline
ExitCode: 0,
},
CheckFuncs: []CheckFunc{
Expand Down
36 changes: 18 additions & 18 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,39 +4,39 @@ go 1.26

require (
github.com/google/go-cmp v0.7.0
github.com/pterm/pterm v0.12.79
github.com/spf13/cobra v1.8.0
github.com/pterm/pterm v0.12.83
github.com/spf13/cobra v1.10.2
go.opentelemetry.io/otel v1.44.0
go.opentelemetry.io/otel/sdk v1.44.0
go.opentelemetry.io/proto/otlp v1.1.0
google.golang.org/genproto/googleapis/rpc v0.0.0-20251202230838-ff82c1b0f217
google.golang.org/grpc v1.79.3
google.golang.org/protobuf v1.36.10
go.opentelemetry.io/proto/otlp v1.10.0
google.golang.org/genproto/googleapis/rpc v0.0.0-20260622175928-b703f567277d
google.golang.org/grpc v1.81.1
google.golang.org/protobuf v1.36.11
)

require (
atomicgo.dev/cursor v0.2.0 // indirect
atomicgo.dev/keyboard v0.2.9 // indirect
atomicgo.dev/keyboard v0.2.10 // indirect
atomicgo.dev/schedule v0.1.0 // indirect
github.com/cespare/xxhash/v2 v2.3.0 // indirect
github.com/containerd/console v1.0.3 // indirect
github.com/clipperhouse/uax29/v2 v2.7.0 // indirect
github.com/containerd/console v1.0.5 // indirect
github.com/go-logr/logr v1.4.3 // indirect
github.com/go-logr/stdr v1.2.2 // indirect
github.com/google/uuid v1.6.0 // indirect
github.com/gookit/color v1.5.4 // indirect
github.com/grpc-ecosystem/grpc-gateway/v2 v2.19.0 // indirect
github.com/gookit/color v1.6.1 // indirect
github.com/grpc-ecosystem/grpc-gateway/v2 v2.29.0 // indirect
github.com/inconshreveable/mousetrap v1.1.0 // indirect
github.com/lithammer/fuzzysearch v1.1.8 // indirect
github.com/mattn/go-runewidth v0.0.15 // indirect
github.com/rivo/uniseg v0.4.4 // indirect
github.com/spf13/pflag v1.0.5 // indirect
github.com/mattn/go-runewidth v0.0.24 // indirect
github.com/spf13/pflag v1.0.10 // indirect
github.com/xo/terminfo v0.0.0-20220910002029-abceb7e1c41e // indirect
go.opentelemetry.io/auto/sdk v1.2.1 // indirect
go.opentelemetry.io/otel/metric v1.44.0 // indirect
go.opentelemetry.io/otel/trace v1.44.0 // indirect
golang.org/x/net v0.55.0 // indirect
golang.org/x/sys v0.45.0 // indirect
golang.org/x/term v0.43.0 // indirect
golang.org/x/text v0.37.0 // indirect
google.golang.org/genproto/googleapis/api v0.0.0-20251202230838-ff82c1b0f217 // indirect
golang.org/x/net v0.56.0 // indirect
golang.org/x/sys v0.46.0 // indirect
golang.org/x/term v0.44.0 // indirect
golang.org/x/text v0.38.0 // indirect
google.golang.org/genproto/googleapis/api v0.0.0-20260622175928-b703f567277d // indirect
)
133 changes: 48 additions & 85 deletions go.sum

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ import (
"testing"
"time"

"github.com/google/go-cmp/cmp"
"github.com/tobert/otel-cli/otlpclient"
"github.com/tobert/otel-cli/otlpserver"
"github.com/google/go-cmp/cmp"
tracepb "go.opentelemetry.io/proto/otlp/trace/v1"
)

Expand Down
2 changes: 1 addition & 1 deletion otelcli/exec.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ import (
"strings"
"time"

"github.com/spf13/cobra"
"github.com/tobert/otel-cli/otlpclient"
"github.com/tobert/otel-cli/w3c/traceparent"
"github.com/spf13/cobra"
commonpb "go.opentelemetry.io/proto/otlp/common/v1"
tracev1 "go.opentelemetry.io/proto/otlp/trace/v1"
)
Expand Down
2 changes: 1 addition & 1 deletion otelcli/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ package otelcli
import (
"strings"

"github.com/tobert/otel-cli/otlpserver"
"github.com/spf13/cobra"
"github.com/tobert/otel-cli/otlpserver"
)

const defaultOtlpEndpoint = "grpc://localhost:4317"
Expand Down
2 changes: 1 addition & 1 deletion otelcli/server_json.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ import (
"strconv"
"time"

"github.com/tobert/otel-cli/otlpserver"
"github.com/spf13/cobra"
"github.com/tobert/otel-cli/otlpserver"
tracepb "go.opentelemetry.io/proto/otlp/trace/v1"
)

Expand Down
4 changes: 2 additions & 2 deletions otelcli/server_tui.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ import (
"sort"
"strconv"

"github.com/tobert/otel-cli/otlpclient"
"github.com/tobert/otel-cli/otlpserver"
"github.com/pterm/pterm"
"github.com/spf13/cobra"
"github.com/tobert/otel-cli/otlpclient"
"github.com/tobert/otel-cli/otlpserver"
tracepb "go.opentelemetry.io/proto/otlp/trace/v1"
)

Expand Down
2 changes: 1 addition & 1 deletion otelcli/span.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import (
"os"
"time"

"github.com/tobert/otel-cli/otlpclient"
"github.com/spf13/cobra"
"github.com/tobert/otel-cli/otlpclient"
)

// spanCmd represents the span command
Expand Down
2 changes: 1 addition & 1 deletion otelcli/span_background.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ import (
"syscall"
"time"

"github.com/tobert/otel-cli/otlpclient"
"github.com/spf13/cobra"
"github.com/tobert/otel-cli/otlpclient"
tracepb "go.opentelemetry.io/proto/otlp/trace/v1"
)

Expand Down
2 changes: 1 addition & 1 deletion otelcli/span_end.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ package otelcli
import (
"os"

"github.com/tobert/otel-cli/w3c/traceparent"
"github.com/spf13/cobra"
"github.com/tobert/otel-cli/w3c/traceparent"
)

// spanEndCmd represents the span event command
Expand Down
2 changes: 1 addition & 1 deletion otelcli/span_event.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import (
"os"
"time"

"github.com/tobert/otel-cli/w3c/traceparent"
"github.com/spf13/cobra"
"github.com/tobert/otel-cli/w3c/traceparent"
)

// spanEventCmd represents the span event command
Expand Down
2 changes: 1 addition & 1 deletion otelcli/status.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ import (
"strings"
"time"

"github.com/tobert/otel-cli/otlpclient"
"github.com/spf13/cobra"
"github.com/tobert/otel-cli/otlpclient"
tracepb "go.opentelemetry.io/proto/otlp/trace/v1"
)

Expand Down
Loading