public void setSampleRate(final String sampleRate) {
        this.sampleRate = sampleRate;
    }
set sample rate.

@param sampleRate sample rate
shenyu-plugin/shenyu-plugin-logging/shenyu-plugin-logging-common/src/main/java/org/apache/shenyu/plugin/logging/common/config/GenericApiConfig.java