diff --git a/src/Seq.Api/Model/Diagnostics/ServerMetricsEntity.cs b/src/Seq.Api/Model/Diagnostics/ServerMetricsEntity.cs index 94a4d5f..9342d2c 100644 --- a/src/Seq.Api/Model/Diagnostics/ServerMetricsEntity.cs +++ b/src/Seq.Api/Model/Diagnostics/ServerMetricsEntity.cs @@ -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. @@ -64,21 +64,11 @@ public ServerMetricsEntity() /// public TimeSpan ProcessUptime { get; set; } - /// - /// The number of bytes working set held by the Seq server process. - /// - public long ProcessWorkingSetBytes { get; set; } - /// /// The number of threads running in the Seq server process. /// public int ProcessThreads { get; set; } - /// - /// The proportion of system physical memory that is currently allocated. - /// - public double SystemMemoryUtilization { get; set; } - /// /// The number of queries and searches executed in the past minute. /// diff --git a/src/Seq.Api/Model/Settings/InternalErrorReportingSettingsPart.cs b/src/Seq.Api/Model/Settings/InternalErrorReportingSettingsPart.cs index 8f6a00d..05132f8 100644 --- a/src/Seq.Api/Model/Settings/InternalErrorReportingSettingsPart.cs +++ b/src/Seq.Api/Model/Settings/InternalErrorReportingSettingsPart.cs @@ -31,5 +31,11 @@ public class InternalErrorReportingSettingsPart /// at Datalust can respond with fix/mitigation information. /// public string ReplyEmail { get; set; } + + /// + /// If true, anonymized usage telemetry will be sent + /// automatically to Datalust. + /// + public bool UsageTelemetryEnabled { get; set; } } } diff --git a/src/Seq.Api/Seq.Api.csproj b/src/Seq.Api/Seq.Api.csproj index 3d8c5cf..ff877f5 100644 --- a/src/Seq.Api/Seq.Api.csproj +++ b/src/Seq.Api/Seq.Api.csproj @@ -1,7 +1,7 @@ Client library for the Seq HTTP API. - 2023.1.0 + 2023.2.0 Datalust;Contributors netstandard2.0;net6.0 true @@ -15,7 +15,7 @@ - + diff --git a/test/Seq.Api.Tests/Seq.Api.Tests.csproj b/test/Seq.Api.Tests/Seq.Api.Tests.csproj index ce38adc..8885638 100644 --- a/test/Seq.Api.Tests/Seq.Api.Tests.csproj +++ b/test/Seq.Api.Tests/Seq.Api.Tests.csproj @@ -1,7 +1,7 @@  - net461;netcoreapp2.2;net6.0 + net462;net6.0 true @@ -15,9 +15,4 @@ - - - - - \ No newline at end of file