-
Notifications
You must be signed in to change notification settings - Fork 5
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
net/http: Handler
interface implementation is not always instrumented
#173
Comments
The I think what we need to do is:
|
@RomainMuller to check in on this, here is what I have tried so far:
And to your suggestions I added one more rule, since these things weren't matched by the above rules:
My thinking was that it'd be better to make the rules more targeted, as opposed to doing something like instrumenting any function with the signature
then the How should I approach this? |
It sounds like you're trying to do call-site instrumentation of the I guess if you do callee instrumentation, things become a lot simpler... The main difference being in how
We can probably build round-about ways to achieve both declaratively; but this would be a feature "for later" (read: once someone actually has a compelling real-life use-case for this). |
Version of orchestrion
0.7.x
Describe what happened:
The implementation of the
ServerHTTP
method does not get instrumented, because its aspect is gated byhttpmode=report
, which cannot be enabled externally.The text was updated successfully, but these errors were encountered: