Environment details setup

Hi all,

I am trying to get the env tag setup, but we don’t see it reflected

Trying to auto detect setup for our different domains, we have 2 domains

if(window.location.hostname == "dev.mydomain.com") {
    env = "Development";
} else {
    env = "Production";
}
Raven.config({
    release: '1.0',
    environment: env
});

But I can not see it in the admin, we still see only “All Environments”

What am I missing

Thanks