@Override
  protected String getInsertMetricsProcedureName() {
    return SqlSink.insertMetricProc;
  }
This class stores published metrics to the MySql database.
contrib/ambari-scom/metrics-sink/src/main/java/org/apache/hadoop/metrics2/sink/MySqlSink.java