canvas-lms/config/teams
Dustin Cowles cb4fa5c047 add sentry file list for classic quizzes
closes QUIZ-11912
flag=none

Test plan:
- Specs Pass

Change-Id: Ic2075bd48065a11d923a8ec3994941c101a951bb
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/325458
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: Stephen Kacsmark <skacsmark@instructure.com>
QA-Review: Dustin Cowles <dustin.cowles@instructure.com>
Product-Review: Dustin Cowles <dustin.cowles@instructure.com>
2023-09-26 16:23:10 +00:00
..
README.md Add README for code ownership 2023-08-15 21:03:23 +00:00
evaluate.yml add sentry ownership for eval 2023-08-21 16:56:31 +00:00
quizzes.yml add sentry file list for classic quizzes 2023-09-26 16:23:10 +00:00
vice.yml Rename collaborate to vice 2023-07-27 17:51:08 +00:00

README.md

Teams config

This directory contains team configuration for Sentry error ownership.

The CanvasErrors library uses the code_ownership gem to compare exception stack traces to the owned_globs in these YAML files. If a match is found, the Sentry error is tagged with the team, like inst.team:vice

See this Sentry filter for an example of errors tagged for the VICE team. And see vice.yml as an example YAML config.

Adding a new team

Create a new YAML file in this directory, like myteam.yml, with contents like:

# In myteam.yml

name: myteam # This is what the Sentry tag value will be
owned_globs:
  # Note the globs follow the ruby Dir.glob syntax:
  # https://ruby-doc.org/3.2.2/Dir.html#method-c-glob
  - "app/models/my_model/**/*"
  - "lib/gems/my_gem/**/*"