Skip to content

Commit 7ff8392

Browse files
BchirMohamed Amine Bchir
andauthored
Release/v5.1.5 (#86)
* skip transaction renaming when ServiceBus instrumentation is missing * add change logs --------- Co-authored-by: Mohamed Amine Bchir <mbchir@ecovadisazure.onmicrosoft.com>
1 parent a252fa0 commit 7ff8392

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

docs/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file.
33

44
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
6+
## 5.1.5
7+
- Changed
8+
- skip transaction renaming when ServiceBus instrumentation is missing
9+
610
## 5.1.4
711
- Changed
812
- Fix diagnostic id null reference

src/Ev.ServiceBus.Apm/ApmTransactionManager.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,5 +72,5 @@ private static List<SpanLink> GetSpanLinks(string? diagnosticId)
7272
}
7373

7474
private static bool IsTraceEnabled()
75-
=> Agent.IsConfigured && Agent.Config.Enabled && Agent.Tracer is not null;
75+
=> Agent.IsConfigured && Agent.Config.Enabled && Agent.Tracer is not null && Agent.Tracer.CurrentTransaction is not null;
7676
}

0 commit comments

Comments
 (0)