You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Wolverine treats SQL filters differently from Correlation filters when auto-provisioning.
I have a couple of subscriptions with filters configured in Azure. We're using Pulumi to keep our infrastructure in code and it works well and one of my subscriptions has a SQL filter rule applied to it. Another has a correlation filter rule applied.
I was noticing that after provisioning the environment my SQL filter was being removed, but my correlation filter was not. At first I thought this was a problem with Azure, but then realized Wolverine was deleting my SQL filter, but not my correlation filter.
In neither case was I specifying the filters in the Wolverine code and just assumed they were ignored:
Back when I implemented this my intention was that Wolverine is the Master of the subscription. That's the reason it wipes out all other rules besides the default one.
The filter can be adjusted, so if you want your rule (non-default name) to stay either adjust the default rule Wolverine knows about or Wolverine needs to adapt some things.
But Wolverine might not work correctly if there are foreign rules active which prevents messages that Wolverine expects to receive.
But in the end, @jeremydmiller needs to decide what behavior he wants. I can just offer my help regarding ASB.
Wolverine treats SQL filters differently from Correlation filters when auto-provisioning.
I have a couple of subscriptions with filters configured in Azure. We're using Pulumi to keep our infrastructure in code and it works well and one of my subscriptions has a SQL filter rule applied to it. Another has a correlation filter rule applied.
I was noticing that after provisioning the environment my SQL filter was being removed, but my correlation filter was not. At first I thought this was a problem with Azure, but then realized Wolverine was deleting my SQL filter, but not my correlation filter.
In neither case was I specifying the filters in the Wolverine code and just assumed they were ignored:
Aside from the subscription name, both handlers had the same registration code. I've since added the subscription filter to my registration.
I'm not sure if Wolverine should ignore existing rule filters or wipe them out, but the behavior should at least be consistent between filter types.
The text was updated successfully, but these errors were encountered: