modules/optionals/metrics/performance/src/main/java/org/rapidpm/microservice/optionals/metrics/performance/Histogramms.java
@GET()
  @Path(DE_ACTIVATE_METRICS_FOR_CLASS)
  public String deActivateMetricsForClass(@QueryParam(QUERY_PARAM_CLASS_FQ_NAME) final String classFQN) {
    if (classFQN != null && !classFQN.isEmpty()) {
      try {
        final Class<?> aClass = Class.forName(classFQN);
        DI.deActivateMetrics(aClass);
      } catch (ClassNotFoundException e) {
        e.printStackTrace();
        return e.getMessage();
      }
      return OK;
    }
    return NOT_OK;
  }
@GET()
  @Path(DE_ACTIVATE_METRICS_FOR_CLASS)
  public String deActivateMetricsForClass(@QueryParam(QUERY_PARAM_CLASS_FQ_NAME) final String classFQN) {
    if (classFQN != null && !classFQN.isEmpty()) {
      try {
        final Class<?> aClass = Class.forName(classFQN);
        DI.deActivateMetrics(aClass);
      } catch (ClassNotFoundException e) {
        e.printStackTrace();
        return e.getMessage();
      }
      return OK;
    }
    return NOT_OK;
  }
@ GET ( ) @ Path ( DE_ACTIVATE_METRICS_FOR_CLASS ) public String deActivateMetricsForClass ( @ QueryParam ( QUERY_PARAM_CLASS_FQ_NAME ) final String classFQN ) { if ( classFQN != null && ! classFQN . isEmpty ( ) ) { try { final Class < ? > aClass = Class . forName ( classFQN ) ; DI . deActivateMetrics ( aClass ) ; } catch ( ClassNotFoundException e ) { e . printStackTrace ( ) ; return e . getMessage ( ) ; } return OK ; } return NOT_OK ; }
deactivate Metrics
deactivate Metrics