Skip to content

Commit

Permalink
remove framework exclusion
Browse files Browse the repository at this point in the history
  • Loading branch information
ganeshnj committed Mar 4, 2025
1 parent 99f9e0c commit ef0eda3
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions tracer/src/Datadog.Trace/TracerManagerFactory.cs
Original file line number Diff line number Diff line change
Expand Up @@ -350,9 +350,6 @@ protected virtual IAgentWriter GetAgentWriter(TracerSettings settings, IDogStats

private IApi GetApi(TracerSettings settings, IDogStatsd statsd, Action<Dictionary<string, float>> updateSampleRates, IApiRequestFactory apiRequestFactory, bool partialFlushEnabled)
{
#if NETFRAMEWORK
return new Api(apiRequestFactory, statsd, updateSampleRates, partialFlushEnabled);
#else
if (settings.DataPipelineEnabled)
{
var configuration = new TraceExporterConfiguration
Expand All @@ -371,7 +368,6 @@ private IApi GetApi(TracerSettings settings, IDogStatsd statsd, Action<Dictionar
}

return new Api(apiRequestFactory, statsd, updateSampleRates, partialFlushEnabled);
#endif
}

private string GetUrl(TracerSettings settings)
Expand Down

0 comments on commit ef0eda3

Please sign in to comment.