[stats] add config syntax for stats listeners