Skip to content
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

Implement logging for moderation events #3943

Closed
dhruvkb opened this issue Mar 20, 2024 · 4 comments
Closed

Implement logging for moderation events #3943

dhruvkb opened this issue Mar 20, 2024 · 4 comments
Labels
💻 aspect: code Concerns the software code in the repository 🌟 goal: addition Addition of new feature 🟩 priority: low Low priority and doesn't need to be rushed 🧱 stack: api Related to the Django API

Comments

@dhruvkb
Copy link
Member

dhruvkb commented Mar 20, 2024

Description

To send metrics from the Django API to AWS CloudWatch where they will be visualised, the metrics will be sent as structured logs that can be parsed by AWS Logs Insights.

Add logging for moderation events when Report and Decision models are created/modified. The logging should be emitted from save method on these models.

Additional context

@dhruvkb dhruvkb added 🟨 priority: medium Not blocking but should be addressed soon 🌟 goal: addition Addition of new feature 💻 aspect: code Concerns the software code in the repository 🧱 stack: api Related to the Django API labels Mar 20, 2024
@openverse-bot openverse-bot moved this to 📋 Backlog in Openverse Backlog Mar 20, 2024
@dhruvkb
Copy link
Member Author

dhruvkb commented Mar 20, 2024

The addition of logging to the Decision model is tightly coupled with #3636 and can be implemented simultaneously or after that issue is resolved.

@dhruvkb dhruvkb added the ⛔ status: blocked Blocked & therefore, not ready for work label Mar 25, 2024
@dhruvkb
Copy link
Member Author

dhruvkb commented Mar 25, 2024

This is blocked on #3432.

@openverse-bot openverse-bot moved this from 📋 Backlog to ⛔ Blocked in Openverse Backlog Mar 25, 2024
@obulat obulat removed the ⛔ status: blocked Blocked & therefore, not ready for work label Jun 5, 2024
@obulat obulat moved this from ⛔ Blocked to 📅 To Do in Openverse Backlog Jun 5, 2024
@openverse-bot openverse-bot moved this from 📅 To Do to 📋 Backlog in Openverse Backlog Jun 5, 2024
@sarayourfriend sarayourfriend added 🟩 priority: low Low priority and doesn't need to be rushed and removed 🟨 priority: medium Not blocking but should be addressed soon labels Jun 5, 2024
@sarayourfriend
Copy link
Collaborator

Reprioritised as per #383 (comment)

@sarayourfriend
Copy link
Collaborator

Closing as won't do as per #383 (comment)

@openverse-bot openverse-bot moved this from 📋 Backlog to ✅ Done in Openverse Backlog Jun 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
💻 aspect: code Concerns the software code in the repository 🌟 goal: addition Addition of new feature 🟩 priority: low Low priority and doesn't need to be rushed 🧱 stack: api Related to the Django API
Projects
Archived in project
Development

No branches or pull requests

3 participants