self-hosted icon indicating copy to clipboard operation
self-hosted copied to clipboard

.env and .env.custom - documentation

Open klemen-df opened this issue 6 months ago • 1 comments

Problem Statement

.env file currently contains 'SENTRY_EVENT_RETENTION_DAYS=90'

if i understand correctly then if I add in .env.custom this 'SENTRY_EVENT_RETENTION_DAYS=30' (and do nothing to .env file) then the value of 30 is used?

If this is the case then, maybe it's just me, it's not clear from this documentation here.

Solution Brainstorm

No response

klemen-df avatar May 30 '25 09:05 klemen-df

if i understand correctly then if I add in .env.custom this 'SENTRY_EVENT_RETENTION_DAYS=30' (and do nothing to .env file) then the value of 30 is used?

Yes that is correct

If this is the case then, maybe it's just me, it's not clear from this documentation here.

If you're up to it, you can propose a better copywriting for it, here: https://github.com/getsentry/sentry-docs/blob/d9c1147ecdef7ed3730c828331f43de2d68f8304/develop-docs/self-hosted/configuration.mdx?plain=1#L54-L70 (since I don't know how to make the copywriting even better 😆)

aldy505 avatar May 31 '25 02:05 aldy505

This issue 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 remove the label Waiting for: Community, I will leave it alone ... forever!


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

getsantry[bot] avatar Jun 21 '25 07:06 getsantry[bot]