We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Running the resource health exporter results into some panics in our environments:
panic occurred (panic threshold 4 of 5): caught panics while processing SubscriptionsIterator.ForEachAsync: panic: GET https://management.azure.com/subscriptions/.../providers/Microsoft.ResourceHealth/availabilityStatuses -------------------------------------------------------------------------------- RESPONSE 400: 400 Bad Request ERROR CODE: InvalidODataQueryOptions -------------------------------------------------------------------------------- { "message": "Query option 'SkipToken' is not allowed. To allow it, set the 'AllowedQueryOptions' property on EnableQueryAttribute or QueryValidationSettings.", "code": "InvalidODataQueryOptions" } -------------------------------------------------------------------------------- goroutine 651 [running]: runtime/debug.Stack() /usr/local/go/src/runtime/debug/stack.go:24 +0x5e github.com/webdevops/go-common/azuresdk/armclient.(*SubscriptionsIterator).ForEachAsync.func1.1() /go/pkg/mod/github.com/webdevops/go-common@v0.0.0-20240229220036-40910d2ba23e/azuresdk/armclient/iterator.subscriptions.go:104 +0x146 panic({0x2055e80?, 0xc0001191a0?}) /usr/local/go/src/runtime/panic.go:770 +0x132 go.uber.org/zap/zapcore.CheckWriteAction.OnWrite(0x0?, 0x0?, {0x0?, 0x0?, 0xc00013eb60?}) /go/pkg/mod/go.uber.org/zap@v1.27.0/zapcore/entry.go:196 +0x54 go.uber.org/zap/zapcore.(*CheckedEntry).Write(0xc0008c64e0, {0x0, 0x0, 0x0}) /go/pkg/mod/go.uber.org/zap@v1.27.0/zapcore/entry.go:262 +0x24e go.uber.org/zap.(*SugaredLogger).log(0xc0003f6788, 0x4, {0x0?, 0x0?}, {0xc0003ffce0?, 0x1?, 0x1?}, {0x0, 0x0, 0x0}) /go/pkg/mod/go.uber.org/zap@v1.27.0/sugar.go:355 +0xec go.uber.org/zap.(*SugaredLogger).Panic(...) /go/pkg/mod/go.uber.org/zap@v1.27.0/sugar.go:180 main.(*MetricsCollectorAzureRmHealth).collectSubscription(0xc0006912e0, 0xc000612840, 0xc0003f6788, 0xc0008cc480?) /go/src/github.com/webdevops/azure-resourcemanager-exporter/metrics_azurerm_health.go:103 +0x479 main.(*MetricsCollectorAzureRmHealth).Collect.func1(0xc0000802e0?, 0xc0005cf778?) /go/src/github.com/webdevops/azure-resourcemanager-exporter/metrics_azurerm_health.go:79 +0x25 github.com/webdevops/go-common/azuresdk/armclient.(*SubscriptionsIterator).ForEachAsync.func1(0xc000612840) /go/pkg/mod/github.com/webdevops/go-common@v0.0.0-20240229220036-40910d2ba23e/azuresdk/armclient/iterator.subscriptions.go:113 +0x242 created by github.com/webdevops/go-common/azuresdk/armclient.(*SubscriptionsIterator).ForEachAsync in goroutine 648 /go/pkg/mod/github.com/webdevops/go-common@v0.0.0-20240229220036-40910d2ba23e/azuresdk/armclient/iterator.subscriptions.go:85 +0x145
Ref: Azure/azure-sdk-for-go#23148
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Running the resource health exporter results into some panics in our environments:
Ref: Azure/azure-sdk-for-go#23148
The text was updated successfully, but these errors were encountered: