Skip to content

Commit

Permalink
chore: fix submodule for v3 (#12438)
Browse files Browse the repository at this point in the history
Signed-off-by: Edward Welch <edward.welch@grafana.com>
  • Loading branch information
slim-bean committed Apr 2, 2024
1 parent a53a0cc commit 824f5aa
Show file tree
Hide file tree
Showing 30 changed files with 384 additions and 375 deletions.
3 changes: 2 additions & 1 deletion clients/pkg/logentry/stages/structuredmetadata_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ import (
"github.com/prometheus/common/model"
"github.com/stretchr/testify/require"

"github.com/grafana/loki/v3/pkg/push"
"github.com/grafana/loki/pkg/push"

util_log "github.com/grafana/loki/v3/pkg/util/log"
)

Expand Down
3 changes: 2 additions & 1 deletion clients/pkg/promtail/client/client_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,9 @@ import (
"github.com/grafana/loki/v3/clients/pkg/promtail/api"
"github.com/grafana/loki/v3/clients/pkg/promtail/utils"

"github.com/grafana/loki/pkg/push"

"github.com/grafana/loki/v3/pkg/logproto"
"github.com/grafana/loki/v3/pkg/push"
lokiflag "github.com/grafana/loki/v3/pkg/util/flagext"
)

Expand Down
3 changes: 2 additions & 1 deletion clients/pkg/promtail/promtail_wal_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ import (
"github.com/grafana/loki/v3/clients/pkg/promtail/utils"
"github.com/grafana/loki/v3/clients/pkg/promtail/wal"

"github.com/grafana/loki/v3/pkg/push"
"github.com/grafana/loki/pkg/push"

util_log "github.com/grafana/loki/v3/pkg/util/log"
)

Expand Down
4 changes: 2 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ require (
github.com/fsnotify/fsnotify v1.7.0
github.com/gogo/googleapis v1.4.0
github.com/grafana/jsonparser v0.0.0-20240209175146-098958973a2d
github.com/grafana/loki/v3/pkg/push v0.0.0-20231124142027-e52380921608
github.com/grafana/loki/pkg/push v0.0.0-20231124142027-e52380921608
github.com/heroku/x v0.0.61
github.com/influxdata/tdigest v0.0.2-0.20210216194612-fc98d27c9e8b
github.com/prometheus/alertmanager v0.27.0
Expand Down Expand Up @@ -358,4 +358,4 @@ replace github.com/hashicorp/memberlist => github.com/grafana/memberlist v0.3.1-
// Insist on the optimised version of grafana/regexp
replace github.com/grafana/regexp => github.com/grafana/regexp v0.0.0-20221122212121-6b5c0a4cb7fd

replace github.com/grafana/loki/v3/pkg/push => ./pkg/push
replace github.com/grafana/loki/pkg/push => ./pkg/push
3 changes: 2 additions & 1 deletion integration/loki_micro_services_delete_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,10 @@ import (
"github.com/grafana/loki/v3/integration/client"
"github.com/grafana/loki/v3/integration/cluster"

"github.com/grafana/loki/pkg/push"

"github.com/grafana/loki/v3/pkg/logproto"
"github.com/grafana/loki/v3/pkg/logql/syntax"
"github.com/grafana/loki/v3/pkg/push"
"github.com/grafana/loki/v3/pkg/storage"
)

Expand Down
3 changes: 2 additions & 1 deletion pkg/chunkenc/memchunk_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,14 @@ import (
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"

"github.com/grafana/loki/pkg/push"

"github.com/grafana/loki/v3/pkg/chunkenc/testdata"
"github.com/grafana/loki/v3/pkg/iter"
"github.com/grafana/loki/v3/pkg/logproto"
"github.com/grafana/loki/v3/pkg/logql/log"
"github.com/grafana/loki/v3/pkg/logql/syntax"
"github.com/grafana/loki/v3/pkg/logqlmodel/stats"
"github.com/grafana/loki/v3/pkg/push"
"github.com/grafana/loki/v3/pkg/storage/chunk"
"github.com/grafana/loki/v3/pkg/util/filter"
)
Expand Down
3 changes: 2 additions & 1 deletion pkg/distributor/distributor_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,13 @@ import (
"google.golang.org/grpc"
"google.golang.org/grpc/health/grpc_health_v1"

"github.com/grafana/loki/pkg/push"

"github.com/grafana/loki/v3/pkg/ingester"
"github.com/grafana/loki/v3/pkg/ingester/client"
loghttp_push "github.com/grafana/loki/v3/pkg/loghttp/push"
"github.com/grafana/loki/v3/pkg/logproto"
"github.com/grafana/loki/v3/pkg/logql/syntax"
"github.com/grafana/loki/v3/pkg/push"
"github.com/grafana/loki/v3/pkg/runtime"
"github.com/grafana/loki/v3/pkg/util/constants"
fe "github.com/grafana/loki/v3/pkg/util/flagext"
Expand Down
2 changes: 1 addition & 1 deletion pkg/distributor/tee_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (

"github.com/stretchr/testify/mock"

"github.com/grafana/loki/v3/pkg/push"
"github.com/grafana/loki/pkg/push"
)

type mockedTee struct {
Expand Down
3 changes: 2 additions & 1 deletion pkg/distributor/validator_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,10 @@ import (
"github.com/prometheus/prometheus/model/labels"
"github.com/stretchr/testify/assert"

"github.com/grafana/loki/pkg/push"

"github.com/grafana/loki/v3/pkg/logproto"
"github.com/grafana/loki/v3/pkg/logql/syntax"
"github.com/grafana/loki/v3/pkg/push"
"github.com/grafana/loki/v3/pkg/validation"
)

Expand Down
2 changes: 1 addition & 1 deletion pkg/loghttp/push/otlp.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import (
"go.opentelemetry.io/collector/pdata/plog"
"go.opentelemetry.io/collector/pdata/plog/plogotlp"

"github.com/grafana/loki/v3/pkg/push"
"github.com/grafana/loki/pkg/push"

"github.com/grafana/loki/v3/pkg/logproto"
loki_util "github.com/grafana/loki/v3/pkg/util"
Expand Down
3 changes: 2 additions & 1 deletion pkg/loghttp/push/otlp_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,9 @@ import (
"go.opentelemetry.io/collector/pdata/pcommon"
"go.opentelemetry.io/collector/pdata/plog"

"github.com/grafana/loki/pkg/push"

"github.com/grafana/loki/v3/pkg/logproto"
"github.com/grafana/loki/v3/pkg/push"
)

func TestOTLPToLokiPushRequest(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion pkg/loghttp/push/push.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (

"github.com/go-kit/log/level"

"github.com/grafana/loki/v3/pkg/push"
"github.com/grafana/loki/pkg/push"

"github.com/dustin/go-humanize"
"github.com/go-kit/log"
Expand Down
2 changes: 1 addition & 1 deletion pkg/logproto/alias.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package logproto
import (
"google.golang.org/grpc"

"github.com/grafana/loki/v3/pkg/push"
"github.com/grafana/loki/pkg/push"
)

// Aliases to avoid renaming all the imports of logproto
Expand Down
Loading

0 comments on commit 824f5aa

Please sign in to comment.