FlexQuery.NET.Diagnostics
4.0.0-rc.3
See the version list below for details.
dotnet add package FlexQuery.NET.Diagnostics --version 4.0.0-rc.3
NuGet\Install-Package FlexQuery.NET.Diagnostics -Version 4.0.0-rc.3
<PackageReference Include="FlexQuery.NET.Diagnostics" Version="4.0.0-rc.3" />
<PackageVersion Include="FlexQuery.NET.Diagnostics" Version="4.0.0-rc.3" />
<PackageReference Include="FlexQuery.NET.Diagnostics" />
paket add FlexQuery.NET.Diagnostics --version 4.0.0-rc.3
#r "nuget: FlexQuery.NET.Diagnostics, 4.0.0-rc.3"
#:package FlexQuery.NET.Diagnostics@4.0.0-rc.3
#addin nuget:?package=FlexQuery.NET.Diagnostics&version=4.0.0-rc.3&prerelease
#tool nuget:?package=FlexQuery.NET.Diagnostics&version=4.0.0-rc.3&prerelease
FlexQuery.NET.Diagnostics
Execution diagnostics, observability, and timeline reporting for FlexQuery.NET queries.
When to Use This Package
Install this package when you need to inspect, measure, or monitor FlexQuery.NET execution.
It provides execution listeners, timing reports, and pipeline diagnostics for debugging, performance analysis, and observability.
Installation
dotnet add package FlexQuery.NET.Diagnostics
Quick Start
Attach a listener through the per-execution options of your provider:
using FlexQuery.NET.Diagnostics;
var collector = new FlexQueryDiagnosticsCollector();
var result = await _context.Users.FlexQueryAsync(parameters, options =>
{
options.AllowedFields = new HashSet<string> { "Id", "Name" };
options.Listener = collector; // receives pipeline lifecycle events
});
var report = collector.BuildReport();
Console.WriteLine($"Total: {report.Duration.TotalMs}ms");
Console.WriteLine($" Parse: {report.Duration.ParseMs}ms");
Console.WriteLine($" Translate: {report.Duration.TranslateMs}ms");
Console.WriteLine($" Database: {report.Duration.DatabaseMs}ms");
Console.WriteLine($" Materialize: {report.Duration.MaterializeMs}ms");
foreach (var entry in report.Timeline)
Console.WriteLine($"{entry.Stage}: {entry.DurationMs}ms");
For quick debugging, swap in the console listener:
options.Listener = new ConsoleExecutionListener();
Features
FlexQueryDiagnosticsCollector— Thread-safe collector capturing all pipeline stage eventsConsoleExecutionListener— Writes parsed queries, generated SQL with parameters, and stage timing toConsole- Diagnostics Report —
BuildReport()returnsFlexQueryDiagnosticsReportwith provider/translator metadata, row counts, generated SQL, exceptions, per-stage duration breakdown, and timeline - 4 Lifecycle Events —
QueryParsed,QueryTranslated,QueryExecuted,QueryMaterialized - Custom Listeners — Implement
IFlexQueryExecutionListenerfor custom logging, metrics, or OpenTelemetry integration
Related Packages
- FlexQuery.NET — Core query engine
Documentation
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- FlexQuery.NET (>= 4.0.0-rc.3)
-
net6.0
- FlexQuery.NET (>= 4.0.0-rc.3)
-
net8.0
- FlexQuery.NET (>= 4.0.0-rc.3)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 4.0.0 | 32 | 9/23/2026 |
| 4.0.0-rc.3 | 34 | 9/22/2026 |
| 4.0.0-rc.2 | 54 | 9/17/2026 |
| 4.0.0-rc.1 | 61 | 9/10/2026 |
| 4.0.0-preview.3 | 70 | 7/18/2026 |
| 4.0.0-preview.2 | 71 | 7/14/2026 |
| 4.0.0-preview.1 | 72 | 7/12/2026 |
| 4.0.0-beta1.0 | 62 | 9/8/2026 |
| 3.1.1 | 134 | 7/4/2026 |
| 3.1.0 | 131 | 6/26/2026 |
- test(dapper): pass explicit cancellation tokens through FlexQueryAsync overloads
- feat(dapper): propagate cancellation through CommandDefinition and introduce DapperQueryContext
- refactor(efcore): guard nullable select fields and filter duplicate navigation includes
- refactor(core): guard nullable sort field in query builder and cursor serialization