Class MetricsUtil


  • public class MetricsUtil
    extends Object
    • Constructor Detail

      • MetricsUtil

        public MetricsUtil()
    • Method Detail

      • exportError

        public static void exportError​(IDatabricksSession session,
                                       String errorName,
                                       String sqlQueryId,
                                       int errCode)
        Exports error to Databricks using MetricsExporter
      • exportErrorWithoutAuth

        public static void exportErrorWithoutAuth​(String errorName,
                                                  String sqlQueryId,
                                                  int errCode)
        Exports errors without auth. Useful where connection is not yet established