-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #44 from datalust/dev
4.2.0 Release
- Loading branch information
Showing
99 changed files
with
406 additions
and
153 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
namespace Seq.Api.Model.Events | ||
{ | ||
public class DeleteResultPart | ||
{ | ||
public long DeletedEventCount { get; set; } | ||
} | ||
} |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
9 changes: 9 additions & 0 deletions
9
...Seq.Api/Api/Model/Monitoring/AlertPart.cs → src/Seq.Api/Model/Monitoring/AlertPart.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,25 @@ | ||
using Seq.Api.Model.LogEvents; | ||
using System; | ||
using System.Collections.Generic; | ||
|
||
namespace Seq.Api.Model.Monitoring | ||
{ | ||
public class AlertPart | ||
{ | ||
Dictionary<string, string> _notificationAppSettingOverrides = new Dictionary<string, string>(); | ||
|
||
public string Id { get; set; } | ||
public string Condition { get; set; } | ||
public TimeSpan MeasurementWindow { get; set; } | ||
public TimeSpan StabilizationWindow { get; set; } = TimeSpan.FromSeconds(30); | ||
public TimeSpan SuppressionTime { get; set; } | ||
public LogEventLevel Level { get; set; } = LogEventLevel.Warning; | ||
public string NotificationAppInstanceId { get; set; } | ||
|
||
public Dictionary<string, string> NotificationAppSettingOverrides | ||
{ | ||
get => _notificationAppSettingOverrides; | ||
set => _notificationAppSettingOverrides = value ?? new Dictionary<string, string>(); | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
namespace Seq.Api.Model.Monitoring | ||
{ | ||
public class ChartDisplayStylePart | ||
{ | ||
public int WidthColumns { get; set; } = 6; | ||
public int HeightRows { get; set; } = 1; | ||
} | ||
} |
7 changes: 3 additions & 4 deletions
7
...Seq.Api/Api/Model/Monitoring/ChartPart.cs → src/Seq.Api/Model/Monitoring/ChartPart.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,14 @@ | ||
using System.Collections.Generic; | ||
using Seq.Api.Model.Signals; | ||
|
||
namespace Seq.Api.Model.Monitoring | ||
{ | ||
public class ChartPart | ||
{ | ||
public string Id { get; set; } | ||
|
||
public string Title { get; set; } | ||
|
||
public List<string> SignalIds { get; set; } = new List<string>(); | ||
|
||
public SignalExpressionPart SignalExpression { get; set; } | ||
public List<ChartQueryPart> Queries { get; set; } = new List<ChartQueryPart>(); | ||
public ChartDisplayStylePart DisplayStyle { get; set; } = new ChartDisplayStylePart(); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,6 +5,7 @@ public enum MeasurementDisplayPalette | |
Default, | ||
Reds, | ||
Greens, | ||
Blues | ||
Blues, | ||
OrangePurple | ||
} | ||
} |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,6 +4,8 @@ public enum MeasurementDisplayType | |
{ | ||
Line, | ||
Bar, | ||
Point | ||
Point, | ||
Value, | ||
Pie | ||
} | ||
} |
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 4 additions & 0 deletions
4
.../Model/Retention/RetentionPolicyEntity.cs → .../Model/Retention/RetentionPolicyEntity.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,15 @@ | ||
using System; | ||
using Seq.Api.Model.Signals; | ||
|
||
namespace Seq.Api.Model.Retention | ||
{ | ||
public class RetentionPolicyEntity : Entity | ||
{ | ||
public TimeSpan RetentionTime { get; set; } | ||
|
||
public SignalExpressionPart RemovedSignalExpression { get; set; } | ||
|
||
[Obsolete("Replaced by RemovedSignalExpression.")] | ||
public string SignalId { get; set; } | ||
} | ||
} |
File renamed without changes.
8 changes: 8 additions & 0 deletions
8
src/Seq.Api/Model/Settings/InternalErrorReportingSettingsPart.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
namespace Seq.Api.Model.Settings | ||
{ | ||
public class InternalErrorReportingSettingsPart | ||
{ | ||
public bool InternalErrorReportingEnabled { get; set; } | ||
public string ReplyEmail { get; set; } | ||
} | ||
} |
2 changes: 1 addition & 1 deletion
2
...q.Api/Api/Model/Settings/SettingEntity.cs → src/Seq.Api/Model/Settings/SettingEntity.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.