more intelligent inclusion of monitoring secrets