Skip to content

Commit b4b297f

Browse files
authored
Merge pull request #101071 from MaximRouiller/patch-2
Wrong order for .NET Core pipeline configuration
2 parents 4d0d4cb + f3611aa commit b4b297f

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

articles/azure-monitor/app/sampling.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -178,10 +178,11 @@ public void Configure(IApplicationBuilder app, IHostingEnvironment env, Telemetr
178178
// Alternately, the following configures adaptive sampling with 5 items per second, and also excludes DependencyTelemetry from being subject to sampling.
179179
// builder.UseAdaptiveSampling(maxTelemetryItemsPerSecond:5, excludedTypes: "Dependency");
180180
181-
builder.Build();
182-
183181
// If you have other telemetry processors:
184182
builder.Use((next) => new AnotherProcessor(next));
183+
184+
builder.Build();
185+
185186
// ...
186187
}
187188

0 commit comments

Comments
 (0)