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

feat: Log all span-starts for the first minute #762

Merged
merged 2 commits into from
Aug 9, 2024
Merged

Conversation

timmc-edx
Copy link
Member

Datadog Support has asked us to log all span-starts. I'm hoping that they can get what they need if we just log the first minute of spans, since the problem seems to be related to some of the first requests after deploy or restart.

Excluding function-docstring linting for the span processor, since those are essentially overrides. (pylint only started caring once one of the methods was more than 4 lines long.)

Merge checklist:
Check off if complete or not applicable:

  • Version bumped
  • Changelog record added
  • Documentation updated (not only docstrings)
  • Fixup commits are squashed away
  • Unit tests added/updated
  • Manual testing instructions provided
  • Noted any: Concerns, dependencies, migration issues, deadlines, tickets

Datadog Support has asked us to log all span-starts. I'm hoping that they
can get what they need if we just log the first minute of spans, since
the problem seems to be related to some of the first requests after deploy
or restart.

Excluding function-docstring linting for the span processor, since those
are essentially overrides. (pylint only started caring once one of the
methods was more than 4 lines long.)
@timmc-edx timmc-edx merged commit 1345db5 into main Aug 9, 2024
6 of 7 checks passed
@timmc-edx timmc-edx deleted the timmc/log-early-span branch August 9, 2024 13:58
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