Skip to content

Commit

Permalink
test(elasticstack): fill apm url in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
SonicGD committed Feb 7, 2024
1 parent da62b00 commit 240e132
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/Sitko.Core.ElasticStack.Tests/ElasticStackScope.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ protected override IHostApplicationBuilder ConfigureApplication(IHostApplication
base.ConfigureApplication(hostBuilder, name).AddElasticStack(options =>
{
options.ElasticSearchUrls = new List<Uri> { new("http://localhost:9200") };
options.ApmServerUrls = new List<Uri> { new("http://localhost:8500") };
options.LoggingTemplateVersion = AutoRegisterTemplateVersion.ESv8;
options.LoggingIndexFormat = "logs-test";
options.EmitEventFailure = EmitEventFailureHandling.WriteToSelfLog | EmitEventFailureHandling.RaiseCallback;
Expand Down

0 comments on commit 240e132

Please sign in to comment.