fix: renamed sample_rate config variable, and allow overriding with GET param.