Microsoft.FeatureManagement provides standardized APIs for enabling feature flags within applications. Utilize this library to secure a consistent experience when developing applications that use patterns such as beta access, rollout, dark deployments, and more.
MIT License
1.05k
stars
115
forks
source link
Telemetry Publishing via Activity & Activity Event #455
We now have our own ActivitySource and add an ActivityEvent on it. The event is essentially the EvaluationEvent that was previously passed to the Publisher.
Why our own ActivitySource instead of using the parent Activity?
We could emit the ActivityEvent onto whatever parent Activity is running. Sadly this approach has a few drawbacks:
Listeners who want this event now have to listen to all activities.
The parent code may not have an activity
If a customer implements slow async logic (like reading targeting context from a db), it’s no longer grouped within FeatureManagement.
Why this PR?
412
We now have our own
ActivitySource
and add anActivityEvent
on it. The event is essentially theEvaluationEvent
that was previously passed to the Publisher.Why our own
ActivitySource
instead of using the parentActivity
?We could emit the ActivityEvent onto whatever parent Activity is running. Sadly this approach has a few drawbacks:
Visible Changes
Becomes
ApplicationInsightsTelemetryPublisher
&ITelemetryPublisher
have been removed entirely