Skip to content

Commit 95fa2e1

Browse files
authored
Merge pull request #15 from grafana/bohandley/clearer-name
change name
2 parents 0a2aacd + 423f7b4 commit 95fa2e1

24 files changed

+53
-53
lines changed

docker-compose.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ version: '3.0'
22

33
services:
44
grafana:
5-
container_name: 'prometheus-amd-datasource'
5+
container_name: 'prometheus-amazon-datasource'
66
build:
77
context: ./.config
88
args:
@@ -11,5 +11,5 @@ services:
1111
ports:
1212
- 3000:3000/tcp
1313
volumes:
14-
- ./dist:/var/lib/grafana/plugins/prometheus-amd-datasource
14+
- ./dist:/var/lib/grafana/plugins/prometheus-amazon-datasource
1515
- ./provisioning:/etc/grafana/provisioning

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module github.com/grafana/prometheus-amd
1+
module github.com/grafana/prometheus-amazon
22

33
go 1.19
44

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "prometheus-amd",
2+
"name": "prometheus-amazon",
33
"version": "1.0.0",
44
"description": "A prometheus plugin for Amazon",
55
"scripts": {

pkg/gcopypaste/converter/prom.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import (
1010
"github.com/grafana/grafana-plugin-sdk-go/data"
1111
jsoniter "github.com/json-iterator/go"
1212

13-
"github.com/grafana/prometheus-amd/pkg/gcopypaste/converter/jsonitere"
13+
"github.com/grafana/prometheus-amazon/pkg/gcopypaste/converter/jsonitere"
1414
)
1515

1616
// helpful while debugging all the options that may appear

pkg/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import (
55

66
"github.com/grafana/grafana-plugin-sdk-go/backend/datasource"
77
"github.com/grafana/grafana-plugin-sdk-go/backend/log"
8-
"github.com/grafana/prometheus-amd/pkg/prometheus"
8+
"github.com/grafana/prometheus-amazon/pkg/prometheus"
99
)
1010

1111
func main() {

pkg/prometheus/azureauth/azure.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import (
1212
"github.com/grafana/grafana-plugin-sdk-go/backend"
1313
sdkhttpclient "github.com/grafana/grafana-plugin-sdk-go/backend/httpclient"
1414

15-
"github.com/grafana/prometheus-amd/pkg/prometheus/utils"
15+
"github.com/grafana/prometheus-amazon/pkg/prometheus/utils"
1616
)
1717

1818
var (

pkg/prometheus/client/client.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import (
1313

1414
"github.com/grafana/grafana-plugin-sdk-go/backend"
1515

16-
"github.com/grafana/prometheus-amd/pkg/prometheus/models"
16+
"github.com/grafana/prometheus-amazon/pkg/prometheus/models"
1717
)
1818

1919
type doer interface {

pkg/prometheus/client/client_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import (
1111
logger "github.com/grafana/grafana-plugin-sdk-go/backend/log"
1212
"github.com/stretchr/testify/require"
1313

14-
"github.com/grafana/prometheus-amd/pkg/prometheus/models"
14+
"github.com/grafana/prometheus-amazon/pkg/prometheus/models"
1515
)
1616

1717
type MockDoer struct {

pkg/prometheus/client/transport.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ import (
88
sdkhttpclient "github.com/grafana/grafana-plugin-sdk-go/backend/httpclient"
99
"github.com/grafana/grafana-plugin-sdk-go/backend/log"
1010

11-
"github.com/grafana/prometheus-amd/pkg/gcopypaste/maputil"
12-
"github.com/grafana/prometheus-amd/pkg/prometheus/middleware"
13-
"github.com/grafana/prometheus-amd/pkg/prometheus/utils"
11+
"github.com/grafana/prometheus-amazon/pkg/gcopypaste/maputil"
12+
"github.com/grafana/prometheus-amazon/pkg/prometheus/middleware"
13+
"github.com/grafana/prometheus-amazon/pkg/prometheus/utils"
1414
)
1515

1616
// CreateTransportOptions creates options for the http client. Probably should be shared and should not live in the

pkg/prometheus/healthcheck.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ import (
1111

1212
"github.com/grafana/grafana-plugin-sdk-go/backend"
1313
"github.com/grafana/grafana-plugin-sdk-go/backend/log"
14-
"github.com/grafana/prometheus-amd/pkg/prometheus/kinds/dataquery"
15-
"github.com/grafana/prometheus-amd/pkg/prometheus/models"
14+
"github.com/grafana/prometheus-amazon/pkg/prometheus/kinds/dataquery"
15+
"github.com/grafana/prometheus-amazon/pkg/prometheus/models"
1616
)
1717

1818
const (

0 commit comments

Comments
 (0)