sentry-docs icon indicating copy to clipboard operation
sentry-docs copied to clipboard

Update troubleshooting.mdx - Add `DAY` when using `INTERVAL` while referencing the `SENTRY_RETENTION_DAYS` variable

Open waays-tl opened this issue 1 year ago • 7 comments

Add DAY in the INTERVAL keyword used to manually purge the nodestore_node table to prevent accidentally purging (almost) the entire table, since the days would be used as seconds.

DESCRIBE YOUR PR

When manually purging events from the nodestore_node table, the example request in the documentation makes use of the INTERVAL keyword, referencing the $SENTRY_RETENTION_DAYS variable, but without specifying the DAY keyword to INTERVAL, which can lead people to input days that will be interpreted as seconds by PostgreSQL.

IS YOUR CHANGE URGENT?

Help us prioritize incoming PRs by letting us know when the change needs to go live.

  • [ ] Urgent deadline (GA date, etc.):
  • [ ] Other deadline:
  • [X] None: Not urgent, can wait up to 1 week+

SLA

  • Teamwork makes the dream work, so please add a reviewer to your PRs.
  • Please give the docs team up to 1 week to review your PR unless you've added an urgent due date to it. Thanks in advance for your help!

PRE-MERGE CHECKLIST

Make sure you've checked the following before merging your changes:

  • [ ] Checked Vercel preview for correctness, including links
  • [ ] PR was reviewed and approved by any necessary SMEs (subject matter experts)
  • [ ] PR was reviewed and approved by a member of the Sentry docs team

LEGAL BOILERPLATE

Look, I get it. The entity doing business as "Sentry" was incorporated in the State of Delaware in 2015 as Functional Software, Inc. and is gonna need some rights from me in order to utilize my contributions in this here PR. So here's the deal: I retain all rights, title and interest in and to my contributions, and by keeping this boilerplate intact I confirm that Sentry can use, modify, copy, and redistribute my contributions, under Sentry's choice of terms.

EXTRA RESOURCES

waays-tl avatar Sep 05 '24 08:09 waays-tl

@waays-tl is attempting to deploy a commit to the Sentry Team on Vercel.

A member of the Team first needs to authorize it.

vercel[bot] avatar Sep 05 '24 08:09 vercel[bot]

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
changelog ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 5, 2024 3:27pm
develop-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 5, 2024 3:27pm
1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
sentry-docs ⬜️ Ignored (Inspect) Visit Preview Sep 5, 2024 3:27pm

vercel[bot] avatar Sep 05 '24 15:09 vercel[bot]

This pull request has gone three weeks without activity. In another week, I will close it.

But! If you comment or otherwise update it, I will reset the clock, and if you add the label WIP, I will leave it alone unless WIP is removed ... forever!


"A weed is but an unloved flower." ― Ella Wheeler Wilcox 🥀

getsantry[bot] avatar Sep 27 '24 07:09 getsantry[bot]

bump @joshuarli @hubertdeng123

aldy505 avatar Sep 27 '24 13:09 aldy505

anyway, the stale label isn't removed when there's a new comment like this. so we should probably fix that?

aldy505 avatar Sep 27 '24 13:09 aldy505

This pull request has gone three weeks without activity. In another week, I will close it.

But! If you comment or otherwise update it, I will reset the clock, and if you add the label WIP, I will leave it alone unless WIP is removed ... forever!


"A weed is but an unloved flower." ― Ella Wheeler Wilcox 🥀

getsantry[bot] avatar Oct 20 '24 07:10 getsantry[bot]

bump @joshuarli @hubertdeng123

aldy505 avatar Oct 21 '24 03:10 aldy505

This pull request has gone three weeks without activity. In another week, I will close it.

But! If you comment or otherwise update it, I will reset the clock, and if you add the label WIP, I will leave it alone unless WIP is removed ... forever!


"A weed is but an unloved flower." ― Ella Wheeler Wilcox 🥀

getsantry[bot] avatar Nov 11 '24 08:11 getsantry[bot]

bump @joshuarli @hubertdeng123

aldy505 avatar Nov 11 '24 08:11 aldy505

This pull request has gone three weeks without activity. In another week, I will close it.

But! If you comment or otherwise update it, I will reset the clock, and if you add the label WIP, I will leave it alone unless WIP is removed ... forever!


"A weed is but an unloved flower." ― Ella Wheeler Wilcox 🥀

getsantry[bot] avatar Dec 04 '24 08:12 getsantry[bot]

This pull request has gone three weeks without activity. In another week, I will close it.

But! If you comment or otherwise update it, I will reset the clock, and if you add the label WIP, I will leave it alone unless WIP is removed ... forever!


"A weed is but an unloved flower." ― Ella Wheeler Wilcox 🥀

getsantry[bot] avatar Dec 27 '24 08:12 getsantry[bot]

Meh, I'll just ping @BYK

aldy505 avatar Dec 27 '24 10:12 aldy505