Releases: elastic/apm-agent-dotnet
Releases · elastic/apm-agent-dotnet
1.8.1
Compare 1.8.0...1.8.1
Features
Bug Fixes
- #1192 Lazily access the agent in ElasticApmProfiler (issue: #1190)
- #1198 Add TargetFramework NET5.0 to Elastic.Apm.AspNetCore & co (issue: #1194)
Uncategorized
- #1193 Runs tests in blame mode
- #1199 GC Metric tests: Also cover GenXSize metrics (issues: #1196, #1196, #1195)
View the full list of issues and PRs
1.8.0
Compare 1.7.1...1.8.0
Features
- #1048 Support for more k8s cgroup path patterns (issue: #968)
- #1056 Get the inner exception when capturing HttpUnhandledException (issue: #941)
- #1063 Add support for StackExchange.Redis (issue: #874)
- #1083 [META 388] Add support for Azure App Service Cloud metadata
- #1096 Update log level based on central configuration and support "off" configuration (issue: #970)
- #1106 Run test assemblies in parallel
- #1135 Add ILoggerProvider to capture error logs as APM logs
- #1065 Introduce ServerUrl and deprecate ServerUrls (issue: #1035)
- #1012 Serialize payload to stream
- #1055 Read request body only up to maximum length
Bug Fixes
- #1115 Access
Request.InputStream
only when SOAP header present (issue: #1113) - #1122 Expose creating agent components for ASP.NET Full Framework (issues: #1098, #1045)
- #1124 Ensure ETW session is deleted when
GcMetricsProvider
is disposed (issues: #1106, #897) - #1148 Fix scoped logger naming in
GcMetricsProvider
Refactoring
- #1041 Don't subscribe
IDiagnosticsSubscriber
in ApmAgentExtensions.Subscribe(...) when agent is disabled (issue: #1018)
Miscellaneous
- #1141 Add link to Stack Exchange redis in get started TOC
- #1149 Update dotnet sdk 5.0 docker image
- #1167 Test startup hooks (issue: #1073)
- #1181 Add StackExchange.Redis to releasable packages (issue: #1173)
- #1040 Add .NET 5 to Elastic.Apm.Tests (issue: #962)
- #1062 Build automation for performing common tasks (issue: #1051)
View the full list of issues and PRs
1.7.1
Features
Bug fixes
- #1052 Increased transaction duration due to stack trace capturing (issue: #1039)
- #1053 Warning with
Synchronous operations are disallowed
on ASP.NET Core during request body capturing (issue: #1044) - #1042 SqlClient instrumentation on .NET 5 (issue: #1025)
- #1060
UseAllElasticApm
withIHostBuilder
missing auto instrumentation (issue: #1059)
1.7.0
Features
- #828 Agent loading with zero code change on .NET Core (issue: #71)
- #969 gRPC support (issue: #478)
- #974 Add ability to configure Hostname (issue: #932)
- #997 Add Enabled and Recording configuration (issue: #122)
- #912 Add
FullFrameworkConfigurationReaderType
config to load custom configuration reader on ASP.NET - #978 Capture User id and email on ASP.NET (issue: #540)
- #982 Support boolean and numeric labels in addition to string labels (issues: #967, #788, #473, #191, #788, #473, #191)
- #1000 Collecting metrics based on cGroup (issue: #937)
- #1002
ITransaction.SetService
API to support multiple services in a single process (issue: #1001) - #1003 Collecting cloud metadata (supporting AWS, Azure, GCP) (issue: #918)
- #973 Transaction grouping on ASP.NET (issue: #201)
- #913 Entity Framework 6 support on .NET Core (issue: #902)
Bug fixes
- #992 On ASP.NET Core
CurrentTransaction
is null in some cases (issues: #934, #972) - #971 Avoid double initialization in
HostBuilderExtensions
- #999 Capture body with large file error (issue: #960)
- #1022 Update System.Diagnostics.DiagnosticSource to 5.0.0 (issue: #943)
Breaking changes
- Binary compatibility on
IExecutionSegment.CaptureException
andIExecutionSegment.CaptureError
with libraries depending on previous version. If this happens you need to updateElastic.Apm
to1.7.0
in your projects. (Issue: #1067)
1.7.0-beta1
Features
- Loading agent during startup without any code change on .NET Core.
ElasticApmAgent_1.7.0beta1.zip
contains the agent distribution.- Setup instructions and more info can be found here.
1.6.1
1.6.0
Features
- Elasticsearch client instrumentation #329
- Introducing
Elastic.Apm.Extensions.Hosting
package with an extension method onIHostBuilder
#537 - Stack trace improvements: async call stack demystification (#847) and showing frames from user code for outgoing HTTP calls (#845)
- Making fields on
IError
public #847 - Service map improvements: #893
Bug fixes
1.5.1
1.5.0
Features
- Auto instrumentation for SqlClient (documentation)
- Introducing Filter API #792 (documentation)
- Auto-detect culprit for exceptions #740
- New config settings:
ExcludedNamespaces
,ApplicationNamespaces
(documentation) - Keep
Activity.Current.TraceId
in sync with the Trace ID used by the agent #800 - Report Kubernetes system metadata #741
Bug fixes
- Database connection string parsing issue with Oracle #795
1.4.0
Features
- Introducing
ITransaction.EnsureParentId()
to integrate with RUM in dynamically loaded HTML pages (including page loads in ASP.NET Core) #771 - New config setting:
ApiKey
#733
Bug fixes
- Memory issue in .NET Full Framework with default metrics turned on #750
- Parsing for Oracle connection strings #749
StackOverflowException
when using theElastic.Apm.SerilogEnricher
package and the log level is set toVerbose
#753
Breaking changes
- We have some changes that are technically breaking changes. We made some helper classes internal that were never meant to be public. These are:
Elastic.Apm.Helpers.AgentTimeInstant
,Elastic.Apm.Helpers.ContractExtensions
,Elastic.Apm.Helpers.ObjectExtensions
,Elastic.Apm.Helpers.ToStringBuilder
. None of these classes were documented or mentioned as part of the Public Agent API. We expect no usage of these classes outside the agent.