Replies: 1 comment 1 reply
-
Do you intent to drop telemetry in the sampler itself, based on whether its coming from WCF/SQL/Etc? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
We have a requirement to have instrumentation controlled by a feature toggle. The plan is to use WCF, SQL auto instrumentation libraries and manual instrumentation as required but all controlled by a flag which resides in the database. So we want to suppress the activities from being created and exported by OpenTelemetry collector.
I was thinking to have that check inside the sampler rather that three different places (WCF Filter, Tracer API, SQL Filter which is not exposed yet). The API which retrieves this value calls database every 15 mins (caches and returns cached value). Any inputs on the approach?
Beta Was this translation helpful? Give feedback.
All reactions