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 11using Backtrace . Unity . Model . Attributes ;
22using Backtrace . Unity . Model . Metrics ;
3+ using System ;
34using System . Collections . Generic ;
45
56namespace Backtrace . Unity . Interfaces
@@ -22,6 +23,11 @@ public interface IBacktraceMetrics : IScopeAttributeProvider
2223 /// </summary>
2324 uint MaximumSummedEvents { get ; set ; }
2425
26+ /// <summary>
27+ /// Current session Id
28+ /// </summary>
29+ Guid SessionId { get ; }
30+
2531 /// <summary>
2632 /// Maximum number of unique events in store. If number of events in store hit the limit
2733 /// 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
1616 /// <summary>
1717 /// Session Id
1818 /// </summary>
19- public readonly Guid SessionId = Guid . NewGuid ( ) ;
19+ public readonly Guid SessionId { get ; } = Guid . NewGuid ( ) ;
2020
2121 /// <summary>
2222 /// Default submission URL
You can’t perform that action at this time.
0 commit comments