Skip to content

Commit

Permalink
move forked packages to internal
Browse files Browse the repository at this point in the history
  • Loading branch information
rfratto committed Jun 6, 2023
1 parent 2ce6602 commit c42d74a
Show file tree
Hide file tree
Showing 36 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion component/pyroscope/scrape/delta_profiles.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"io"

"github.com/grafana/agent/component/pyroscope"
"github.com/grafana/agent/component/pyroscope/scrape/fastdelta"
"github.com/grafana/agent/component/pyroscope/scrape/internal/fastdelta"
"github.com/prometheus/common/model"
"github.com/prometheus/prometheus/model/labels"
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (

"github.com/spaolacci/murmur3"

"github.com/grafana/agent/component/pyroscope/scrape/pproflite"
"github.com/grafana/agent/component/pyroscope/scrape/internal/pproflite"
)

// As of Go 1.19, the Go heap profile has 4 values per sample, with 2 of them
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ import (

"github.com/spaolacci/murmur3"

"github.com/grafana/agent/component/pyroscope/scrape/pproflite"
"github.com/grafana/agent/component/pyroscope/scrape/internal/pproflite"
)

// ValueType describes the type and unit of a value.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import (
"io"
"testing"

"github.com/grafana/agent/component/pyroscope/scrape/fastdelta"
"github.com/grafana/agent/component/pyroscope/scrape/internal/fastdelta"
)

// FuzzDelta looks for inputs to delta which cause crashes. This is to account
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (

"github.com/spaolacci/murmur3"

"github.com/grafana/agent/component/pyroscope/scrape/pproflite"
"github.com/grafana/agent/component/pyroscope/scrape/internal/pproflite"
)

// Hash is a 128-bit hash representing sample identity
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import (
"github.com/google/pprof/profile"
"github.com/stretchr/testify/require"

"github.com/grafana/agent/component/pyroscope/scrape/pproflite"
"github.com/grafana/agent/component/pyroscope/scrape/internal/pproflite"
)

func TestDecoderEncoder(t *testing.T) {
Expand Down

0 comments on commit c42d74a

Please sign in to comment.