Allow adding custom conditions to Instrumenter#shouldStart()
#4389
Labels
enhancement
New feature or request
Instrumenter#shouldStart()
#4389
Is your feature request related to a problem? Please describe.
Currently there is no way to embed some additional conditions into the
Instrumenter#shouldStart()
method. There are several instrumentations that have additional checks (netty-4.1 client, jaxrs-1.1, cxf, ...)Describe the solution you'd like
We could add an additional interface that accepts
(REQUEST, Context)
and returns a boolean - and add a new configuration knob for it to theInstrumenterBuilder
.Describe alternatives you've considered
Leave the code in those instrumentations as it is.
Additional context
#4381 (comment)
The text was updated successfully, but these errors were encountered: