Filter urls
Hello my backend is using multiple url workspaces api/v1/* api/v2/* system/* ...etc
i need to apply trebble to only some of them. It's possible to provide a wildcard mask to filter processed endpoints?
Hey man, thank you for posting - i think it should be possible. I'm going to CC our SDK dev @zoka123 and we'll take a peek 😀
This would be a nice enhancement. We could implement some service that would allow you to make decisions whether the Treblle logic should kick in or not, based on whatever logic you want it to be (route used, request context, etc), not only URL patterns.
Until the feature is ready, you could achieve the same by selectively instantiating the Treblle instance depending on conditions you care about.