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
12 changes: 1 addition & 11 deletions src/Seq.Api/Model/Diagnostics/ServerMetricsEntity.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright © Datalust and contributors.
// Copyright © Datalust and contributors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -64,21 +64,11 @@ public ServerMetricsEntity()
/// </summary>
public TimeSpan ProcessUptime { get; set; }

/// <summary>
/// The number of bytes working set held by the Seq server process.
/// </summary>
public long ProcessWorkingSetBytes { get; set; }

/// <summary>
/// The number of threads running in the Seq server process.
/// </summary>
public int ProcessThreads { get; set; }

/// <summary>
/// The proportion of system physical memory that is currently allocated.
/// </summary>
public double SystemMemoryUtilization { get; set; }

/// <summary>
/// The number of queries and searches executed in the past minute.
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,11 @@ public class InternalErrorReportingSettingsPart
/// at Datalust can respond with fix/mitigation information.
/// </summary>
public string ReplyEmail { get; set; }

/// <summary>
/// If <c>true</c>, anonymized usage telemetry will be sent
/// automatically to Datalust.
/// </summary>
public bool UsageTelemetryEnabled { get; set; }
}
}
4 changes: 2 additions & 2 deletions src/Seq.Api/Seq.Api.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<Description>Client library for the Seq HTTP API.</Description>
<VersionPrefix>2023.1.0</VersionPrefix>
<VersionPrefix>2023.2.0</VersionPrefix>
<Authors>Datalust;Contributors</Authors>
<TargetFrameworks>netstandard2.0;net6.0</TargetFrameworks>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
Expand All @@ -15,7 +15,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Newtonsoft.Json" Version="13.0.2" />
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
<PackageReference Include="Tavis.UriTemplates" Version="2.0.0" />
</ItemGroup>

Expand Down
7 changes: 1 addition & 6 deletions test/Seq.Api.Tests/Seq.Api.Tests.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>net461;netcoreapp2.2;net6.0</TargetFrameworks>
<TargetFrameworks>net462;net6.0</TargetFrameworks>
<GenerateRuntimeConfigurationFiles>true</GenerateRuntimeConfigurationFiles>
</PropertyGroup>

Expand All @@ -15,9 +15,4 @@
<PackageReference Include="xunit" Version="2.3.1" />
</ItemGroup>

<ItemGroup Condition=" '$(TargetFramework)' == 'net461' ">
<Reference Include="System" />
<Reference Include="Microsoft.CSharp" />
</ItemGroup>

</Project>