diff --git a/.github/workflows/pr_validation.yml b/.github/workflows/pr_validation.yml index acaa9db..79a28af 100644 --- a/.github/workflows/pr_validation.yml +++ b/.github/workflows/pr_validation.yml @@ -44,11 +44,11 @@ jobs: ~/.nuget/packages key: ${{ runner.os }}-${{ hashFiles('**/global.json', '**/*.csproj') }} - - name: dotnet nuget - run: dotnet nuget add source -n Phobos "${{ secrets.CUSTOMNUGETSOURCE }}" + #- name: dotnet nuget + # run: dotnet nuget add source -n Phobos "${{ secrets.CUSTOMNUGETSOURCE }}" - name: Run './build.cmd All' run: ./build.cmd All env: - CustomNuGetSource: ${{ secrets.CUSTOMNUGETSOURCE }} + #CustomNuGetSource: ${{ secrets.CUSTOMNUGETSOURCE }} GITHUB_CONTEXT: ${{ toJSON(github) }} \ No newline at end of file diff --git a/src/shared/AkkaDotNet.Infrastructure/AkkaDotNet.Infrastructure.csproj b/src/shared/AkkaDotNet.Infrastructure/AkkaDotNet.Infrastructure.csproj index 3e8fad7..9bd9c1f 100644 --- a/src/shared/AkkaDotNet.Infrastructure/AkkaDotNet.Infrastructure.csproj +++ b/src/shared/AkkaDotNet.Infrastructure/AkkaDotNet.Infrastructure.csproj @@ -30,7 +30,7 @@ - + diff --git a/src/shared/AkkaDotNet.Infrastructure/Configuration/StressHostingExtensions.cs b/src/shared/AkkaDotNet.Infrastructure/Configuration/StressHostingExtensions.cs index 00b376e..cf51c8b 100644 --- a/src/shared/AkkaDotNet.Infrastructure/Configuration/StressHostingExtensions.cs +++ b/src/shared/AkkaDotNet.Infrastructure/Configuration/StressHostingExtensions.cs @@ -15,7 +15,6 @@ using Petabridge.Cmd.Cluster.Sharding; using Petabridge.Cmd.Host; using Petabridge.Cmd.Remote; -using Phobos.Hosting; namespace AkkaDotNet.Infrastructure.Configuration; @@ -175,10 +174,10 @@ public static AkkaConfigurationBuilder WithStressCluster(this AkkaConfigurationB .WithRemoting("0.0.0.0", options.AkkaClusterOptions.Port, options.AkkaClusterOptions.Hostname) .WithClustering(clusterOptions) .AddPersistence(options.PersistenceOptions) - .WithPhobos(AkkaRunMode.AkkaCluster, _ => - { - - }) + // .WithPhobos(AkkaRunMode.AkkaCluster, _ => + // { + // + // }) .StartActors((system, _) => { system.ActorOf(Props.Create(() => new DispatcherConfigLogger())); diff --git a/src/shared/AkkaDotNet.Infrastructure/OpenTelemetry/OpenTelemetryConfigurationExtensions.cs b/src/shared/AkkaDotNet.Infrastructure/OpenTelemetry/OpenTelemetryConfigurationExtensions.cs index 9499a84..4435eb3 100644 --- a/src/shared/AkkaDotNet.Infrastructure/OpenTelemetry/OpenTelemetryConfigurationExtensions.cs +++ b/src/shared/AkkaDotNet.Infrastructure/OpenTelemetry/OpenTelemetryConfigurationExtensions.cs @@ -39,7 +39,7 @@ public static IServiceCollection WithOpenTelemetry(this IServiceCollection servi builder .SetResourceBuilder(resource) - .AddPhobosInstrumentation(compressShardTraces:true) // eliminate sharding infrastructure from traces + //.AddPhobosInstrumentation(compressShardTraces:true) // eliminate sharding infrastructure from traces .AddHttpClientInstrumentation() .AddAspNetCoreInstrumentation(options => { @@ -61,7 +61,7 @@ public static IServiceCollection WithOpenTelemetry(this IServiceCollection servi builder .SetResourceBuilder(ResourceBuilder.CreateDefault() .AddService(Assembly.GetEntryAssembly()?.GetName().Name ?? "OpenTelemetryMetrics", serviceInstanceId: $"{Dns.GetHostName()}")) - .AddPhobosInstrumentation() + //.AddPhobosInstrumentation() .AddHttpClientInstrumentation() .AddAspNetCoreInstrumentation() .AddMeter(AkkaStressSource)