Create a new ServerMetricsManager instance.
Use this factory function for testing or when you need an independent metrics instance.
A new ServerMetricsManager instance
// For testing - create isolated instanceconst metrics = createServerMetrics();metrics.recordRequest('test-tool', 100, true); Copy
// For testing - create isolated instanceconst metrics = createServerMetrics();metrics.recordRequest('test-tool', 100, true);
Create a new ServerMetricsManager instance.
Use this factory function for testing or when you need an independent metrics instance.