1 implementation of ClearTracesAsync
Aspire.Dashboard (1)
Otlp\Storage\SqliteTelemetryRepository.cs (1)
248
public async Task
ClearTracesAsync
(ResourceKey? resourceKey = null)
7 references to ClearTracesAsync
Aspire.Dashboard (1)
Components\Pages\Traces.razor.cs (1)
403
return TelemetryRepositoryWriter.
ClearTracesAsync
(key);
Aspire.Dashboard.Tests (6)
TelemetryRepositoryTests\TraceTests.cs (6)
2307
await repositoryContext.Repository.AsWriter().
ClearTracesAsync
();
2385
await repositoryContext.Repository.AsWriter().
ClearTracesAsync
(new ResourceKey("resource1", "123"));
2490
await repositoryContext.Repository.AsWriter().
ClearTracesAsync
(new ResourceKey("resource1", null));
2581
await repositoryContext.Repository.AsWriter().
ClearTracesAsync
(new ResourceKey("resource1", null));
2807
await repositoryContext.Repository.AsWriter().
ClearTracesAsync
();
2850
await repositoryContext.Repository.AsWriter().
ClearTracesAsync
(peerResource.ResourceKey);