code: @ManagedAttribute
      public void setSamplingLevel(int samplingLevel) {
          if (samplingLevel >= MIN_LEVEL && samplingLevel <= MAX_LEVEL) {
              this.samplingLevel = samplingLevel;
          } else {
              throw new IllegalArgumentException("Sampling level " + samplingLevel + " is not in the range [" + MIN_LEVEL + ";" + MAX_LEVEL + "[");
          }
      }
docs: Sets a new sampling level. The sampling level must be within the range 0-1000, representing the permillage of
  requests to be sampled. Setting the sampling level to 0 disabled sampling.
  
  @param samplingLevel The sampling level
  @throws IllegalArgumentException if the sampling level is off bounds