aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/PPC/Tango.PPC.Common/PPCSettings.cs
diff options
context:
space:
mode:
authorRoy Ben Shabat <Roy.mail.net@gmail.com>2020-08-17 01:14:07 +0300
committerRoy Ben Shabat <Roy.mail.net@gmail.com>2020-08-17 01:14:07 +0300
commitf4c418cced4c6fb25ec5d4cb2bcb4ce0f766efd0 (patch)
tree6407154a8f42f45e9045b81a54d5f981567faec2 /Software/Visual_Studio/PPC/Tango.PPC.Common/PPCSettings.cs
parente47e602cd61bcca8eb7fbef40dc4aa8798510ccc (diff)
downloadTango-f4c418cced4c6fb25ec5d4cb2bcb4ce0f766efd0.tar.gz
Tango-f4c418cced4c6fb25ec5d4cb2bcb4ce0f766efd0.zip
Working on insights...
Diffstat (limited to 'Software/Visual_Studio/PPC/Tango.PPC.Common/PPCSettings.cs')
-rw-r--r--Software/Visual_Studio/PPC/Tango.PPC.Common/PPCSettings.cs25
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);
}
}
}