diff options
Diffstat (limited to 'Software/Visual_Studio/PPC/Tango.PPC.Common/PPCSettings.cs')
| -rw-r--r-- | Software/Visual_Studio/PPC/Tango.PPC.Common/PPCSettings.cs | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/Software/Visual_Studio/PPC/Tango.PPC.Common/PPCSettings.cs b/Software/Visual_Studio/PPC/Tango.PPC.Common/PPCSettings.cs index 5586b5341..9afbb52b6 100644 --- a/Software/Visual_Studio/PPC/Tango.PPC.Common/PPCSettings.cs +++ b/Software/Visual_Studio/PPC/Tango.PPC.Common/PPCSettings.cs @@ -256,6 +256,26 @@ namespace Tango.PPC.Common public int RemoteDesktopFrameRate { get; set; } /// <summary> + /// Gets or sets a value indicating whether to enable insights. + /// </summary> + public bool InsightsEnabled { get; set; } + + /// <summary> + /// Gets or sets the insights sampling interval. + /// </summary> + public TimeSpan InsightsSamplingInterval { get; set; } + + /// <summary> + /// Gets or sets the insights storage cleanup interval. + /// </summary> + public TimeSpan InsightsStorageCleanupInterval { get; set; } + + /// <summary> + /// Gets or sets the duration of the insights maximum storage duration. + /// </summary> + public TimeSpan InsightsMaxStorageDuration { get; set; } + + /// <summary> /// Gets the machine service address. /// </summary> /// <returns></returns> @@ -305,6 +325,11 @@ namespace Tango.PPC.Common ExternalBridgeSignalRHub = "ExternalBridgeHub"; EnableRemoteDesktop = true; RemoteDesktopFrameRate = 5; + + InsightsEnabled = true; + InsightsSamplingInterval = TimeSpan.FromMinutes(1); + InsightsMaxStorageDuration = TimeSpan.FromDays(30); + InsightsStorageCleanupInterval = TimeSpan.FromMinutes(60); } } } |
