Apologies in advance if this question is already covered elsewhere.
After I set an environment value of “TEST” on some entries in sqlwatch_config_sql_instance, and then set EnvironmentToProcess value to TEST in the config file, it seems that the importer is not adding the environment to the processing query. A Profiler trace shows:
select RemoteSqlInstance = sql_instance
, Hostname=isnull(hostname,sql_instance) + isnull(’,’+convert(varchar(10),[sql_port]),’’)
, SqlWatchDatabase = [sqlwatch_database_name]
where repo_collector_is_active = 1
Am I missing something about the environment usage? My importer version is 1.2.8308.36871.