Skip to content

Commit

Permalink
fix import in go module prometheus and tempo
Browse files Browse the repository at this point in the history
Signed-off-by: Augustin Husson <[email protected]>
  • Loading branch information
Nexucis committed Feb 11, 2025
1 parent 0a08d3c commit 9fe475c
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion prometheus/sdk/go/query/options.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ package query
import (
"time"

promDatasource "github.com/perses/perses/go-sdk/prometheus/datasource"
"github.com/perses/perses/pkg/model/api/v1/common"
promDatasource "github.com/perses/plugins/prometheus/sdk/go/datasource"
)

func Expr(expr string) Option {
Expand Down
2 changes: 1 addition & 1 deletion prometheus/sdk/go/variable/label-names/options.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
package labelnames

import (
promDatasource "github.com/perses/perses/go-sdk/prometheus/datasource"
v1 "github.com/perses/perses/pkg/model/api/v1"
promDatasource "github.com/perses/plugins/prometheus/sdk/go/datasource"
)

func Datasource(datasourceName string) Option {
Expand Down
2 changes: 1 addition & 1 deletion prometheus/sdk/go/variable/label-values/options.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
package labelvalues

import (
promDatasource "github.com/perses/perses/go-sdk/prometheus/datasource"
v1 "github.com/perses/perses/pkg/model/api/v1"
promDatasource "github.com/perses/plugins/prometheus/sdk/go/datasource"
)

func LabelName(labelName string) Option {
Expand Down
2 changes: 1 addition & 1 deletion prometheus/sdk/go/variable/promql/options.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
package promql

import (
promDatasource "github.com/perses/perses/go-sdk/prometheus/datasource"
promDatasource "github.com/perses/plugins/prometheus/sdk/go/datasource"
)

func Expr(expr string) Option {
Expand Down
2 changes: 1 addition & 1 deletion tempo/sdk/go/query/options.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

package query

import "github.com/perses/perses/go-sdk/tempo/datasource"
import "github.com/perses/plugins/tempo/sdk/go/datasource"

func Expr(expr string) Option {
return func(builder *Builder) error {
Expand Down

0 comments on commit 9fe475c

Please sign in to comment.