![]() 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> |
||
---|---|---|
.. | ||
README.md | ||
evaluate.yml | ||
quizzes.yml | ||
vice.yml |
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/**/*"