-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DEPR and move code owner monitoring code with updates #784
Comments
Giving this a P3 because it is important, but it is not urgent. |
robrap
added a commit
that referenced
this issue
Oct 23, 2024
Initial rollout of moving code_owner monitoring code from edx-django-utils to this plugin. - Adds near duplicate of code owner middleware from edx-django-utils. - Adds code owner for celery using Datadog span processing of celery.run spans. - Uses temporary span tags names using `_2`, like `code_owner_2`, for rollout and comparison with the original span tags. See #784
7 tasks
Presumably this was marked blocked while I was out. Marking in-progress again. |
robrap
added a commit
that referenced
this issue
Nov 14, 2024
Initial rollout of moving code_owner monitoring code from edx-django-utils to this plugin. - Adds near duplicate of code owner middleware from edx-django-utils. - Adds code owner for celery using Datadog span processing of celery.run spans. - Uses temporary span tags names using `_2`, like `code_owner_2`, for rollout and comparison with the original span tags. See #784
Phase 1:
|
robrap
added a commit
that referenced
this issue
Nov 21, 2024
Initial rollout of moving code_owner monitoring code from edx-django-utils to this plugin. - Adds near duplicate of code owner middleware from edx-django-utils. - Adds code owner span tags for celery using Datadog span processing of celery.run spans. - Uses temporary span tags names using `_2`, like `code_owner_2`, for rollout and comparison with the original span tags. - Span tag code_owner_2_module includes the task name, where the original code_owner_module does not. In both cases, the code owner is computed the same, because it is based on a prefix match. See #784
|
robrap
added a commit
that referenced
this issue
Dec 4, 2024
Initial rollout of moving code_owner monitoring code from edx-django-utils proved that the new CodeOwnerMonitoringMiddleware was not added high enough in the middleware stack. Instead, we have added signals to edx-django-utils's MonitoringSupportMiddleware, and this datadog_monitoring plugin now listens to those signals in order to automatically add code_owner custom span tags for django requests. BREAKING CHANGE: Removes CodeOwnerMonitoringMiddleware. See #784
7 tasks
robrap
added a commit
that referenced
this issue
Dec 5, 2024
This implements a TODO comment stating that once edx-platform import_shims is no longer used, we could remove the _OPTIONAL_MODULE_PREFIX_PATTERN implementation. See https://github.com/openedx/edx-platform/tree/854502b560bda74ef898501bb2a95ce238cf794c/import_shims Phase 1 of the code owner refactor is an opportune time to make this clean-up because we can compare code_owner and code_owner_2 results. See #784
7 tasks
robrap
added a commit
that referenced
this issue
Dec 5, 2024
This implements a TODO comment stating that once edx-platform import_shims is no longer used, we could remove the _OPTIONAL_MODULE_PREFIX_PATTERN implementation. See https://github.com/openedx/edx-platform/tree/854502b560bda74ef898501bb2a95ce238cf794c/import_shims Phase 1 of the code owner refactor is an opportune time to make this clean-up because we can compare code_owner and code_owner_2 results. See #784
robrap
added a commit
that referenced
this issue
Dec 5, 2024
Initial rollout of moving code_owner monitoring code from edx-django-utils proved that the new CodeOwnerMonitoringMiddleware was not added high enough in the middleware stack. Instead, we have added signals to edx-django-utils's MonitoringSupportMiddleware, and this datadog_monitoring plugin now listens to those signals in order to automatically add code_owner custom span tags for django requests. BREAKING CHANGE: Removes CodeOwnerMonitoringMiddleware. See #784
robrap
added a commit
that referenced
this issue
Dec 5, 2024
Initial rollout of moving code_owner monitoring code from edx-django-utils proved that the new CodeOwnerMonitoringMiddleware was not added high enough in the middleware stack. Instead, we have added signals to edx-django-utils's MonitoringSupportMiddleware, and this datadog_monitoring plugin now listens to those signals in order to automatically add code_owner custom span tags for django requests. BREAKING CHANGE: Removes CodeOwnerMonitoringMiddleware. See #784
robrap
added a commit
that referenced
this issue
Dec 10, 2024
Completes code owner monitoring updates, which drops owner theme and finalizes the code owner span tags. See doc and ADR updates for more details. * The code_owner_theme_2 tag was dropped altogether. * The temporary suffix (_2) was removed from other span tags. * The code_owner (formerly code_owner_2) tag no longer includes the theme name. * The new name for the django setting is CODE_OWNER_TO_PATH_MAPPINGS (formerly CODE_OWNER_MAPPINGS). * The django setting CODE_OWNER_THEMES was dropped. * Updates the generate_code_owner_mappings.py script accordingly. Implements: - #784
7 tasks
robrap
added a commit
that referenced
this issue
Dec 10, 2024
Completes code owner monitoring updates, which drops owner theme and finalizes the code owner span tags. See doc and ADR updates for more details. * The code_owner_theme_2 tag was dropped altogether. * The temporary suffix (_2) was removed from other span tags. * The code_owner (formerly code_owner_2) tag no longer includes the theme name. * The new name for the django setting is CODE_OWNER_TO_PATH_MAPPINGS (formerly CODE_OWNER_MAPPINGS). * The django setting CODE_OWNER_THEMES was dropped. * Updates the generate_code_owner_mappings.py script accordingly. Implements: - #784
Created DEPR, but it still needs to be announced. |
robrap
added a commit
that referenced
this issue
Dec 12, 2024
The span tag code_owner_plugin was used to rollout code_owner switch from edx-django-utils to the datadog_monitoring plugin in this repo. Now that rollout is complete, this span tag can be removed. Implements: - #784
7 tasks
robrap
added a commit
that referenced
this issue
Dec 12, 2024
The span tag code_owner_plugin was used to rollout code_owner switch from edx-django-utils to the datadog_monitoring plugin in this repo. Now that rollout is complete, this span tag can be removed. Implements: - #784
Here is the actual DEPR: |
This work is complete. The actual DEPR work will be left to the DEPR ticket, and may become a 2U ticket if I decide we should take that on to really complete this. |
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
code_owner
andcode_owner_squad
would have the same value, andcode_owner_theme
would be dropped. In theory, we could also dropcode_owner_squad
, but that might force too much unnecessary work on other teams.Implementation thoughts:
code_owner
, but don't get our new test tag.ACs:
Implementation Tasks:
code_owner
reference from the CMS dashboard. See Slack thread.CODE_OWNER_MAPPINGS
.CODE_OWNER_MAPPINGS
.code_owner_plugin
The text was updated successfully, but these errors were encountered: