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