Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
thampiotr committed May 16, 2024
1 parent 85a3d1f commit b8609c0
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 9 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -720,7 +720,7 @@ replace (
// TODO: remove replace directive once:
// * There is a release of Prometheus which addresses https://github.com/prometheus/prometheus/issues/14049,
// for example, via this implementation: https://github.com/grafana/prometheus/pull/34
replace github.com/prometheus/prometheus => github.com/grafana/prometheus v1.8.2-0.20240514135907-13889ba362e6 // thampiotr/v0.51_expose_staleness_disabling branch
replace github.com/prometheus/prometheus => github.com/grafana/prometheus v1.8.2-0.20240514135907-13889ba362e6 // staleness_disabling_v0.51 branch

replace gopkg.in/yaml.v2 => github.com/rfratto/go-yaml v0.0.0-20211119180816-77389c3526dc

Expand Down
2 changes: 0 additions & 2 deletions internal/component/discovery/discovery.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@ import (
"github.com/prometheus/prometheus/model/labels"

"github.com/grafana/alloy/internal/component"

"github.com/grafana/alloy/internal/alloy/logging/level"
)

// Target refers to a singular discovered endpoint found by a discovery
Expand Down
1 change: 1 addition & 0 deletions internal/component/loki/process/stages/multiline.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ import (
"github.com/prometheus/common/model"

"github.com/grafana/alloy/internal/component/common/loki"
"github.com/grafana/alloy/internal/runtime/logging/level"
)

// Configuration errors.
Expand Down
7 changes: 2 additions & 5 deletions internal/component/loki/source/file/decompresser.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,19 +19,16 @@ import (
"unsafe"

"github.com/go-kit/log"
"github.com/grafana/alloy/internal/component/common/loki"
"github.com/grafana/alloy/internal/component/common/loki/positions"
"github.com/grafana/alloy/internal/runtime/logging/level"
"github.com/grafana/loki/pkg/logproto"
"github.com/grafana/loki/v3/pkg/logproto"
"github.com/prometheus/common/model"
"go.uber.org/atomic"
"golang.org/x/text/encoding"
"golang.org/x/text/encoding/ianaindex"
"golang.org/x/text/transform"
"github.com/grafana/alloy/internal/alloy/logging/level"

"github.com/grafana/alloy/internal/component/common/loki"
"github.com/grafana/alloy/internal/component/common/loki/positions"
"github.com/grafana/alloy/internal/runtime/logging/level"
)

func supportedCompressedFormats() map[string]struct{} {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ import (

"github.com/coreos/go-systemd/sdjournal"
"github.com/go-kit/log"
"github.com/grafana/alloy/internal/alloy/logging/level"
"github.com/grafana/loki/v3/clients/pkg/promtail/scrapeconfig"
"github.com/grafana/loki/v3/clients/pkg/promtail/targets/target"
"github.com/grafana/loki/v3/pkg/logproto"
Expand Down

0 comments on commit b8609c0

Please sign in to comment.