Skip to content

Releases: elastic/apm-agent-dotnet

v1.15.0

12 May 09:10
03d5f13
Compare
Choose a tag to compare

Features

  • #1657 Improved database span names based on parsed SQL statements (issue: #242)

Bug fixes

  • #1670 Dedicated working loop thread for sending APM events (issue: #1571)
  • #1677 Fixed span type for MongoDB - with this a MongoDB logo will show up on the service map
  • #1674 InvalidCastException in AspNetCoreDiagnosticListener
  • #1683 MVC: handling area:null when creating transaction name based on routing
  • #1685 Handle missing .Stop events in AspNetCoreDiagnosticListener (issue: #1676)

1.14.1

10 Mar 06:38
c4502ce
Compare
Choose a tag to compare

Bug fixes

  • #1634 Make sure events are sent after APM Server timeout (bug report: #1630)
  • #1639 Error on composite span validation (bug report: #1631)
  • #1648 OpenTelemetry (Activity) bridge - APM Server version check

1.14.0

09 Feb 20:39
a04553c
Compare
Choose a tag to compare

Features

  • #1620 Span compression and dropping fast exit spans. New settings: ExitSpanMinDuration, SpanCompressionEnabled, SpanCompressionExactMatchMaxDuration, SpanCompressionSameKindMaxDuration (issues: #1329 and #1475)
  • #1611 NpgSql 6.x support (issue: #1602)
  • #1589 Capture transaction name on errors (issue: #1574)

Bug fixes

  • #1603 .NET 6 support with startup hook (issue: #1590)

Breaking changes

  • #1586 Change unknown service.name to align with other agents. In the very rare cases when the agent is not able to autoamtically detect the name of a service, or it's not manually set, it'll use the default service name unknown-dotnet-service. In prior versions this was just unknown. (issue: #1585)

1.13.0

12 Jan 22:15
4b4c5d9
Compare
Choose a tag to compare

Features

  • #1498 OpenTelemetry Bridge - integration with System.Diagnostics.Activity - Beta (issue: #1521)

1.12.1

15 Nov 23:31
80e7c0a
Compare
Choose a tag to compare

Bug Fixes

  • #1564 Failed sending event error with missing span.context.destination.service.name required field on older APM Servers (issue: 1563)

1.12.0

11 Nov 05:44
9a6d3b0
Compare
Choose a tag to compare

APM .NET agent 1.12.0 release 🎉

This release adds beta support for Profiler auto instrumentation to the APM .NET agent offering! With profiler auto instrumentation, the agent can automatically instrument .NET Framework, .NET Core, and .NET applications and dependencies without code changes. See
the documentation for more details.

Diff of changes: 1.11.1...1.12.0

Features

  • #1534 Add profiler auto instrumentation (issue: #1522)
  • #1548 Add profiler auto instrumentation for RabbitMQ (issue: #1223)
  • #1511 Implement DroppedSpanStats
  • #1323 Make IConfigSnapshot public on Transactions (issues: #1244, #1144)
  • #1515 Ignore duplicate Diagnostic listener subscriptions (issue: #1119)
  • #1518 Implement User-Agent spec for transport (issue: #1517)
  • #1525 Add message related properties to transactions and spans (issue: #1512)
  • #1492 Remove deprecated Socket.Encrypted to determine reporting secure connection
  • #1528 Platform detection: Handle .NET 6 (issue: #1513)
  • #1540 Stop recording transaction metrics (issue: #1523)
    • #1520 Auto-infer destination.service.resource and adapt public API (issues: #1330, #1330)

Bug Fixes

  • #1484 Capture spans for new Azure Storage SDKs (issue: #1352)
  • #1509 Use Environment.MachineName to get HostName (issue: #1504)
  • #1510 Check context is not null when sanitizing error request headers (issue: #1503)
  • #1536 Improve Performance counter handling for metrics on Windows (issue: #1505)
  • #1538 Collect .NET Framework GC metrics only when filtering supported (issue: #1346)
  • #1557 Handle enabled/recording=false configuration when capturing errors

Breaking Changes

  • #1520 Auto-infer destination.service.resource and adapt public API (issues: #1330, #1330)

    boolean isExitSpan parameter introduced to Start* and Capture* public APIs to denote when a span
    is an exit span.

View the full list of issues and PRs

1.11.1

13 Sep 11:19
ca11381
Compare
Choose a tag to compare

1.11.0...1.11.1

Features

  • #1354 Serialize to writer directly
  • #1356 Better logging in PayloadSenderV2 on task cancellation
  • #1358 Propagate Trace context in exit spans (issues: #1350, #1344)
  • #1374 Get Command and Key for StackExchange.Redis spans (issue: #1364)
  • #1474 Add CosmosDB integration to NetCoreAll
  • #1368 Use 10K limit for CaptureBody similar to the Java agent (issue: #1359)

Bug Fixes

  • #1362 Unset parentId if TraceContextIgnoreSampledFalse is active
  • #1367 Make sure BreakdownMetricsProvider prints 1K warning only once per collection (issue: #1361)
  • #1471 Sanitize Central config request URI and headers in logs (issue: #1376)
  • #1472 Honor Transaction.Outcome set by public API in auto instrumentation (issue: #1349)
  • #1481 Use Kubernetes pod id determined from cgroup file

Miscellaneous

  • #1365 Update SystemInfoHelper.cs
  • #1366 Filter Jenkins branches
  • #1373 Small improvements
  • #1377 Cleanup Azure resource groups
  • #1473 Add Cosmos Db integrations to documentation
  • #1487 ADO.NET instrumentation flags
  • #1356 Better logging in PayloadSenderV2 on task cancellation

View the full list of issues and PRs

1.11.0

28 Jun 16:17
a4eb500
Compare
Choose a tag to compare

Features

  • #1342 CosmosDb support (issue: #1154)
  • #1271 Support "Time spent by span type" (aka Breakdown metrics) (issue: #227)
  • #1302 Prefer W3C traceparent over elastic-apm-traceparent
  • #1310 Add TraceContextIgnoreSampledFalse config setting
  • #1331 Create transactions for Azure Service Bus Processors (issue: #1321)

1.10.0

27 May 18:50
ecfe0d0
Compare
Choose a tag to compare

Features

  • #1225 Add instrumentation for Azure Service Bus (issue: #1157)
  • #1247 Add Azure storage integration (issues: #1156 and #1155)
  • #1241 Internalize Newtonsoft.Json - no more dependency on Newtonsoft.Json
  • #1275 Internalize Ben.Demystifier - no more dependency on Ben.Demystifier (issue: #1232)
  • #1215 Add MongoDb support (issue: #1158)
  • #1277 Capture inner exceptions (issue: #1267)
  • #1290 Add configured hostname (issue: #1289)
  • #1288 Use TraceLogger as default logger in ASP.NET Full Framework (issue: #1263)

Bug fixes

  • #1252 Fix issue around setting Recording to false (issue: #1250)
  • #1259 ASP.NET: Move error capturing to Error event handler
  • #1305 Use Logger to log exception in AgentComponents initialization (issue: #1254)
  • #1311 Fix NullReferenceException in Elastic.Apm.Extensions.Logging(issue: #1309)

Breaking changes

  • #1306 Do not capture HTTP child spans for Elasticsearch (issue: #1276)

1.9.0

06 Apr 14:24
26ebf44
Compare
Choose a tag to compare

Features

  • #925 Add GC time (issue: #922)
  • #1147 Propagate sample rate through tracestate (issue: #1021)

Bug fixes

  • #1189 Get transaction name from Web API controller route template

Breaking changes

  • #1161 and #1162 The agent tries to never throw any exception. Specifically instead of throwing InstanceAlreadyCreatedException, it will print an error log.