Skip to content

Commit 18dd64d

Browse files
committed
migrate to new azure-sdk-for-go
Signed-off-by: Markus Blaschke <mblaschke82@gmail.com>
1 parent 489c660 commit 18dd64d

File tree

6 files changed

+117
-160
lines changed

6 files changed

+117
-160
lines changed

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,6 @@ available on `/metrics`
9797
| `azure_loganalytics_query_results` | Number of results from query |
9898
| `azure_loganalytics_query_requests` | Count of requests (eg paged subqueries) per query |
9999

100-
101100
### AzureTracing metrics
102101

103102
(with 22.2.0 and later)

go.mod

Lines changed: 17 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -3,39 +3,37 @@ module github.com/webdevops/azure-loganalytics-exporter
33
go 1.19
44

55
require (
6-
github.com/Azure/azure-sdk-for-go v66.0.0+incompatible
7-
github.com/Azure/go-autorest/autorest v0.11.28
8-
github.com/Azure/go-autorest/autorest/to v0.4.0
6+
github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/operationalinsights/armoperationalinsights v1.0.0
97
github.com/google/uuid v1.3.0
108
github.com/jessevdk/go-flags v1.5.0
119
github.com/patrickmn/go-cache v2.1.0+incompatible
12-
github.com/prometheus/client_golang v1.13.0
10+
github.com/prometheus/client_golang v1.14.0
1311
github.com/remeh/sizedwaitgroup v1.0.0
1412
github.com/sirupsen/logrus v1.9.0
15-
github.com/webdevops/go-common v0.0.0-20220914173209-2471ec95feda
13+
github.com/webdevops/go-common v0.0.0-20221119133732-e35d54501261
1614
)
1715

1816
require (
19-
github.com/Azure/go-autorest v14.2.0+incompatible // indirect
20-
github.com/Azure/go-autorest/autorest/adal v0.9.21 // indirect
21-
github.com/Azure/go-autorest/autorest/azure/auth v0.5.11 // indirect
22-
github.com/Azure/go-autorest/autorest/azure/cli v0.4.6 // indirect
23-
github.com/Azure/go-autorest/autorest/date v0.3.0 // indirect
24-
github.com/Azure/go-autorest/autorest/validation v0.3.1 // indirect
25-
github.com/Azure/go-autorest/logger v0.2.1 // indirect
26-
github.com/Azure/go-autorest/tracing v0.6.0 // indirect
17+
github.com/Azure/azure-sdk-for-go/sdk/azcore v1.2.0 // indirect
18+
github.com/Azure/azure-sdk-for-go/sdk/azidentity v1.2.0 // indirect
19+
github.com/Azure/azure-sdk-for-go/sdk/internal v1.1.1 // indirect
20+
github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/resources/armresources v1.0.0 // indirect
21+
github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/resources/armsubscriptions v1.0.0 // indirect
22+
github.com/AzureAD/microsoft-authentication-library-for-go v0.7.0 // indirect
2723
github.com/beorn7/perks v1.0.1 // indirect
2824
github.com/cespare/xxhash/v2 v2.1.2 // indirect
29-
github.com/dimchansky/utfbom v1.1.1 // indirect
3025
github.com/golang-jwt/jwt/v4 v4.4.2 // indirect
3126
github.com/golang/protobuf v1.5.2 // indirect
32-
github.com/matttproud/golang_protobuf_extensions v1.0.1 // indirect
33-
github.com/mitchellh/go-homedir v1.1.0 // indirect
34-
github.com/prometheus/client_model v0.2.0 // indirect
27+
github.com/kylelemons/godebug v1.1.0 // indirect
28+
github.com/matttproud/golang_protobuf_extensions v1.0.4 // indirect
29+
github.com/pkg/browser v0.0.0-20210911075715-681adbf594b8 // indirect
30+
github.com/prometheus/client_model v0.3.0 // indirect
3531
github.com/prometheus/common v0.37.0 // indirect
3632
github.com/prometheus/procfs v0.8.0 // indirect
37-
golang.org/x/crypto v0.0.0-20220829220503-c86fa9a7ed90 // indirect
38-
golang.org/x/sys v0.0.0-20220915200043-7b5979e65e41 // indirect
33+
golang.org/x/crypto v0.3.0 // indirect
34+
golang.org/x/net v0.2.0 // indirect
35+
golang.org/x/sys v0.2.0 // indirect
36+
golang.org/x/text v0.4.0 // indirect
3937
google.golang.org/protobuf v1.28.1 // indirect
4038
gopkg.in/yaml.v2 v2.4.0 // indirect
4139
)

0 commit comments

Comments
 (0)