Skip to content

Break out commits for review. #8729

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

Closed
wants to merge 2 commits into from
Closed

Conversation

agjohnson
Copy link
Contributor

After a sub-PR merge, review was difficult on #8689. This is the two commits,
isolated.

This should be merged to master first, and then we'll need to figure out how to
remerge commits from #8705.

Log success requests using `django-structlog` and send them New Relic to know
what projects are using EmbedAPI, if they are using sphinx-hoverxref and what
version of it.

This is the minimum configuration required to start using structlog + New Relic.
If we are happy with the results we can migrate the other logs to structlog,
which should be simple, but a little tedious to do search&replace.

In the future, we can also set up django-structlog to log Celery tasks as well.
Use structlog _only_ for EmbedAPI v2/v3 for now. We will do a test in production
to this and decide the migration path for the whole codebase.
@agjohnson agjohnson requested a review from a team as a code owner November 29, 2021 21:57
@agjohnson
Copy link
Contributor Author

Can't review a PR I set up, but changes look good to merge 👍

This was mostly scaffolding for structlog, so I don't have too much input on the code here.

@agjohnson agjohnson closed this Nov 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants