aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Server/Program.cs
diff options
context:
space:
mode:
authorsparky8251 <sparky@possumlodge.me>2020-04-26 11:28:17 -0400
committersparky8251 <sparky@possumlodge.me>2020-04-26 11:28:17 -0400
commit68c7a914c3acbd21a9ca879829bf6a670d4cf185 (patch)
treef50c61ce67e6f55bbd6e0bf45d610aa36ecdbe71 /Jellyfin.Server/Program.cs
parent233337256fc997c05bd6f0093a532cea0d54f227 (diff)
Added option to disable metrics collection and defaulted it to off
Diffstat (limited to 'Jellyfin.Server/Program.cs')
-rw-r--r--Jellyfin.Server/Program.cs4
1 files changed, 0 insertions, 4 deletions
diff --git a/Jellyfin.Server/Program.cs b/Jellyfin.Server/Program.cs
index be070f9d5..193d30e3a 100644
--- a/Jellyfin.Server/Program.cs
+++ b/Jellyfin.Server/Program.cs
@@ -28,7 +28,6 @@ using Microsoft.Extensions.DependencyInjection.Extensions;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Logging.Abstractions;
-using Prometheus.DotNetRuntime;
using Serilog;
using Serilog.Extensions.Logging;
using SQLitePCL;
@@ -162,9 +161,6 @@ namespace Jellyfin.Server
ApplicationHost.LogEnvironmentInfo(_logger, appPaths);
- // Initialize runtime stat collection
- IDisposable collector = DotNetRuntimeStatsBuilder.Default().StartCollecting();
-
// Make sure we have all the code pages we can get
// Ref: https://docs.microsoft.com/en-us/dotnet/api/system.text.codepagesencodingprovider.instance?view=netcore-3.0#remarks
Encoding.RegisterProvider(CodePagesEncodingProvider.Instance);