/// <summary> /// Get the SqlMetricProvider instance /// </summary> /// <returns>A log instance</returns> public static SqlMetricProvider GetInstance() { if (instance == null) { instance = new SqlMetricProvider(); } return(instance); }
public static void Main(string[] args) { var metricProvider = SqlMetricProvider.GetInstance(); }