From e55cb9b48f3af45f0aacc470afe0aed9349e1a03 Mon Sep 17 00:00:00 2001 From: jan Date: Wed, 15 May 2024 15:16:46 +0200 Subject: [PATCH] - fixed elastic apm registration --- src/Nox.Cli.Server/Program.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Nox.Cli.Server/Program.cs b/src/Nox.Cli.Server/Program.cs index 1c993df..d9ba92f 100755 --- a/src/Nox.Cli.Server/Program.cs +++ b/src/Nox.Cli.Server/Program.cs @@ -62,6 +62,7 @@ }); builder.Services.AddSingleton(); +builder.Services.AddAllElasticApm(); var app = builder.Build(); @@ -81,7 +82,6 @@ }); } } -app.UseAllElasticApm(builder.Configuration); app.UseHttpsRedirection(); app.UseRouting(); app.UseAuthentication();