11 references to CreateContext
Aspire.Dashboard.Tests (11)
Model\ApplicationsSelectHelpersTests.cs (1)
217
return new OtlpApplication(applicationKey.Name, applicationKey.InstanceId!, TelemetryTestHelpers.
CreateContext
());
Model\DefaultInstrumentUnitResolverTests.cs (1)
32
Parent = new OtlpMeter(new InstrumentationScope { Name = "meter_name" }, TelemetryTestHelpers.
CreateContext
()),
TelemetryRepositoryTests\OtlpHelpersTests.cs (9)
159
TelemetryTestHelpers.
CreateContext
(options: new TelemetryLimitOptions { MaxAttributeCount = 3 }),
189
TelemetryTestHelpers.
CreateContext
(options: new TelemetryLimitOptions { MaxAttributeCount = 3 }),
233
TelemetryTestHelpers.
CreateContext
(options: new TelemetryLimitOptions { MaxAttributeCount = 3 }),
272
TelemetryTestHelpers.
CreateContext
(options: new TelemetryLimitOptions { MaxAttributeCount = 3 }),
308
TelemetryTestHelpers.
CreateContext
(options: new TelemetryLimitOptions { MaxAttributeCount = 3 }),
351
TelemetryTestHelpers.
CreateContext
(options: new TelemetryLimitOptions { MaxAttributeCount = 3 }),
387
var results = attributes.ToKeyValuePairs(TelemetryTestHelpers.
CreateContext
(options: new TelemetryLimitOptions { MaxAttributeCount = 2 }));
422
var context = TelemetryTestHelpers.
CreateContext
(options: new TelemetryLimitOptions { MaxAttributeCount = 2 }, logger: factory.CreateLogger<OtlpHelpersTests>());
467
var context = TelemetryTestHelpers.
CreateContext
(options: new TelemetryLimitOptions { MaxAttributeCount = 3 }, logger: factory.CreateLogger<OtlpHelpersTests>());