Package com.databricks.jdbc.common.util
Class MetricsUtil
- java.lang.Object
-
- com.databricks.jdbc.common.util.MetricsUtil
-
public class MetricsUtil extends Object
-
-
Constructor Summary
Constructors Constructor Description MetricsUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidexportError(IDatabricksSession session, String errorName, String sqlQueryId, int errCode)Exports error to Databricks using MetricsExporterstatic voidexportError(DatabricksMetrics metricsExporter, String errorName, String sqlQueryId, int errCode)static voidexportErrorWithoutAuth(String errorName, String sqlQueryId, int errCode)Exports errors without auth.
-
-
-
Method Detail
-
exportError
public static void exportError(IDatabricksSession session, String errorName, String sqlQueryId, int errCode)
Exports error to Databricks using MetricsExporter
-
exportError
public static void exportError(DatabricksMetrics metricsExporter, String errorName, String sqlQueryId, int errCode)
-
-