Skip to content

Commit

Permalink
fix(elasticstack): register apm after configuration applied
Browse files Browse the repository at this point in the history
  • Loading branch information
SonicGD committed Feb 8, 2024
1 parent 240e132 commit bb892e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Sitko.Core.ElasticStack/ElasticStackModule.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public class ElasticStackModule : BaseApplicationModule<ElasticStackModuleOption
{
public override string OptionsKey => "ElasticApm";

public void ConfigureHostBuilder(IApplicationContext context, IHostApplicationBuilder hostBuilder,
public void PostConfigureHostBuilder(IApplicationContext context, IHostApplicationBuilder hostBuilder,
ElasticStackModuleOptions startupOptions)
{
if (startupOptions.ApmEnabled)
Expand Down

0 comments on commit bb892e3

Please sign in to comment.