Highlights
- .NET 6 support added
- .NET Framework versions <4.6.1 are no longer supported
- ASP.NET and ASP.NET Core resource names have been standardized to use controller/action and routes wherever possible
- ⚠️ This will change endpoints in the Datadog app
- New integrations
- Couchbase
- Postgres v6
- Public API changes
Datadog.Trace.Traceris now a singleton and its settings can be updated withTracer.ConfigureDatadog.Trace.TracerimplementsITracerfor use in DI- Replace usages of
Scope/Spanclasses withIScope/ISpanclasses
Changes
- Resolver and Formatter improvements for domain-neutral scenarios. (#1500)
- Remove unused throughput test (#1802)
- Couchbase instrumentation (#1925)
- [2.0] Add ImmutableTracerSettings (#1951)
- [2.0] Remove obsolete APIs (#1952)
- [2.0] Drop support for .NET < 4.6.1 (#1957)
- [2.0] - Remove CallSite instrumentation (#1958)
- [2.0] Update default value of DD_TRACE_ROUTE_TEMPLATE_RESOURCE_NAMES_ENABLED to true (#1961)
- [2.0] - Native stats fixes (#1967)
- [2.0] Make various APIs internal (#1968)
- [2.0] - Adds a simple agent port checker on CI Visibility scenarios. (#1972)
- [2.0] Mark deprecated settings obsolete (#1974)
- [2.0] Cleanup old factory method and tests (#1980)
- fold
IntegrationIds.ElasticsearchNet5intoElasticsearchNet(#1983) - [2.0] - Remove unnecessary copies from native side. (#1989)
- [2.0] Handle multiple tracer instances gracefully (#1990)
- Improves DomainMetadata class (#2003)
- [2.0] Split integration id
AdoNetinto individual ids per db type (#2008) - [2.0] Rename ReplaceGlobalSettings() -> Configure() (#2023)
- [2.0] Various small DiagnosticObserver optimisations (#2024)
- [2.0] Use buster-based debian for building (#2032)
- Update CI App specs (#2035)
- Profiler uses environment variables instead of current module for pinvoke generation (#2042)
- Remove dependency from the shared project to main project (#2043)
- [2.0] - Detect current module at runtime and use it for PInvoke rewriting (#2044)
- [2.0] Relax duck type visibility requirements (#2045)
- [2.0] Simplify IntegrationSettingsCollection (#2048)
- [AppSec] Waf fixes: reading register for waf and unit tests for alpine (#2060)
- Restoring Couchbase instrumentation (#2064)
- Remove the newline between the log message and properties (#2070)
- Update supported ADO.NET versions (#2077)
- Remove CIApp Feature Tracking (#2088)
- Change the public API to only use ISpan / IScope (#2090)
- CallTarget ByRef (#2092)
- Add a pointer to the "Performance Counters and In-Process Side-By-Side Applications" doc (#2093)
- Add space in log line (#2094)
- Add helper for collecting host metadata (#2097)
- Change the CallTargetReturn struct to a ref struct (#2103)
- [CIApp] - MsTest 2.2.8 integration. (#2107)
- Bump supported version of NUnit3TestAdapter (#2118)
- [AppSec] Fix tag prefix bug (#2123)
- Add a big fat warning in NativeCallTargetDefinition file (#2126)
- Use the non truncated UserAgent property in .netfx webapi (#2128)
- Update ITracer interface (#2131)
- Add space before exception message (#2133)
- Make Span internal (#2134)
- Improve performance of AutomaticTracer (#2135)
- Log additional information about the AssemblyLoadContext (#2136)
- Reinstate Integration.AdoNet integration (#2137)
- DBScopeFactory improvements. (#2138)
- Use PathBase.ToUriComponent in AspNetCoreDiagnosticObserver (#2141)
- Adds feature flag to disable integration version checks. (#2147)
Fixes
- [2.0] Additional cleanup from CallSite removal (#1966)
- [2.0] - Refactor Integration struct, and remove unused code. (#1969)
- [2.0] - Remove unused files (#1985)
- [2.0] Cleanup some more obsolete usages (#1997)
- Remove SpanId argument from StartActiveWithTags (#2017)
- [2.0] Minor restructuring of logging files (#2040)
- [2.0] Add modified WCF CallTarget instrumentation via opt-in environment variable (#2041)
- Fix a couple of obsolete API usages (#2056)
- [2.0] remove leftover references to
integrations.jsonandDD_INTEGRATIONS(#2073) - [2.0] remove unused class
MethodBuilderand test references (#2074) - Fix disabled integrations log message (#2078)
- CallTarget ByRef: Fix ByRef Generics arguments (#2099)
- Fix host metadata kernel information (#2104)
- Fix benchmarks comparison (#2130)
Build / Test
- [2.0] Add support for .NET 6 (#1885)
- [2.0] Update GitLab build to use .NET 6 SDK (#2010)
- [2.0] Fix ASP.NET Core tests + snapshots (#2012)
- [2.0] Add .NET 6 WebApplicationBuilder tests (#2016)
- Don't push artifacts to AWS/Azure unless on main/master (#2018)
- [2.0] Add Linux installer smoke tests (#2036)
- Switch to using curl to send AzDo build GitHub status (#2049)
- Try switch dependabot generation to use pull_request_target (#2055)
- Don't throw in AgentWriterBenchmark (#2057)
- Allow running ITests locally on Mac (#2063)
- [Test Package Versions Bump] Updating package versions (#2072)
- Implementation of Exploration Tests (#2089)
- Redesign package version generator to allow more granular control (#2091)
- Fix flaky test in unit tests (#2106)
- Centralize Mock Trace Agent Initialization (#2114)
- Update dependabot/Nuke targets (#2117)
- Fix asp snapshots file names (#2148)