Table of Contents

Namespace FishMMO.Database.Npgsql.Monitoring.Diagnostics

Classes

QueryMetrics

Tracks performance metrics for a specific database operation. Thread-safe implementation using lock-free operations where possible.

QueryPerformanceConfiguration

Configuration for query performance tracking. Can be loaded from appsettings.json or set programmatically.

QueryPerformanceTracker

Tracks query-level performance metrics for individual database operations. Thread-safe implementation with configurable tracking levels and overhead control. Complements DatabaseMetricsTracker with operation-specific insights.

SlowQueryEventArgs

Event arguments for slow query detection.

Enums

TrackingLevel

Defines the level of detail for query performance tracking. Higher levels provide more detail but incur greater overhead.