Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions Runtime/Interfaces/IBacktraceMetrics.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
using Backtrace.Unity.Model.Attributes;
using Backtrace.Unity.Model.Metrics;
using System;
using System.Collections.Generic;

namespace Backtrace.Unity.Interfaces
Expand All @@ -22,6 +23,11 @@ public interface IBacktraceMetrics : IScopeAttributeProvider
/// </summary>
uint MaximumSummedEvents { get; set; }

/// <summary>
/// Current session Id
/// </summary>
Guid SessionId { get; }

/// <summary>
/// Maximum number of unique events in store. If number of events in store hit the limit
/// BacktraceMetrics instance will send data to Backtrace.
Expand Down
2 changes: 1 addition & 1 deletion Runtime/Services/BacktraceMetrics.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ internal sealed class BacktraceMetrics : IBacktraceMetrics
/// <summary>
/// Session Id
/// </summary>
public readonly Guid SessionId = Guid.NewGuid();
public Guid SessionId { get; } = Guid.NewGuid();

/// <summary>
/// Default submission URL
Expand Down
Loading