Sentry lets you search and filter by tag, so these will help
identifying issues within a suite, or only affecting a particular OS
or machine type.
Signed-off-by: Josh Durgin <jdurgin@redhat.com>
'task': taskname,
'owner': ctx.owner,
}
- if 'teuthology_branch' in config:
- tags['teuthology_branch'] = config['teuthology_branch']
- if 'branch' in config:
- tags['branch'] = config['branch']
+ optional_tags = ('teuthology_branch', 'branch', 'suite',
+ 'machine_type', 'os_type', 'os_version')
+ for tag in optional_tags:
+ if tag in config:
+ tags[tag] = config[tag]
# Remove ssh keys from reported config
if 'targets' in config: