-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
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
[receiver/azuremonitorreceiver] feat: multi subscriptions support and automatic discovery #37167
base: main
Are you sure you want to change the base?
Conversation
… automatic discovery Signed-off-by: Célian Garcia <celian.garcia@amadeus.com>
This PR was marked stale due to lack of activity. It will be closed in 14 days. |
if c.SubscriptionID == "" && len(c.SubscriptionIDs) == 0 && !c.DiscoverSubscriptions { | ||
err = multierr.Append(err, errMissingSubscriptionIDs) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does it ever make sense to allow more than one of these three modes to be configured? Maybe have an error is more than one setting exists?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah to be honest I'm even thinking of introducing a breaking change 😅 like changing subscription id into subscription IDs and that's it. It's still an alpha receiver
Co-authored-by: Joshua MacDonald <jmacd@users.noreply.github.com>
This PR was marked stale due to lack of activity. It will be closed in 14 days. |
Recreated from a diffferent fork. Context: #36467