File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change 1
1
using Backtrace . Unity . Model . Attributes ;
2
2
using Backtrace . Unity . Model . Metrics ;
3
+ using System ;
3
4
using System . Collections . Generic ;
4
5
5
6
namespace Backtrace . Unity . Interfaces
@@ -22,6 +23,11 @@ public interface IBacktraceMetrics : IScopeAttributeProvider
22
23
/// </summary>
23
24
uint MaximumSummedEvents { get ; set ; }
24
25
26
+ /// <summary>
27
+ /// Current session Id
28
+ /// </summary>
29
+ Guid SessionId { get ; }
30
+
25
31
/// <summary>
26
32
/// Maximum number of unique events in store. If number of events in store hit the limit
27
33
/// BacktraceMetrics instance will send data to Backtrace.
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ internal sealed class BacktraceMetrics : IBacktraceMetrics
16
16
/// <summary>
17
17
/// Session Id
18
18
/// </summary>
19
- public readonly Guid SessionId = Guid . NewGuid ( ) ;
19
+ public Guid SessionId { get ; } = Guid . NewGuid ( ) ;
20
20
21
21
/// <summary>
22
22
/// Default submission URL
You can’t perform that action at this time.
0 commit comments