-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
General Thread (Q1 2022) #1239
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
Comments
Okay, I'll post this here. The on-premise documentation points to the forum for discussions, but it's not possible to create new topics there. Also, there is supposed to be a pinned post in the forum which explains that people should use Github issues now. But its not visible to me there: It took me quite some time to figure this out. Could you pin the post in the forums or point the documentations to Github issues directly? |
@djmaze Thanks for letting us know and sorry for the frustration! Glad you found us. :) I made getsentry/team-ospo#27 to track link cleanup, I had that in a private TODO, sorry I didn't get to it in time. :( I'm not sure what's up with pinning on Discourse. I see on the post that it says "PINNED ON NOV 18, '21": But yeah I don't see it pinned anymore. 🤔 Maybe we're running afoul of this "feature"? |
I just bumped it. ¯\_(ツ)_/¯ |
Did you try unpinning and pinning it again? ;) |
Aka turn it off and turn it back on again? :-P Done, here's hoping it works ... |
Seems to work. On the topic page, it says:
Thanks! |
Hello for all, here is the status of the following attempt: #1175 (comment) After increasing the value of the variable SENTRY_EVENT_RETENTION_DAYS and upgrading again to version 21.5 the same behavior occurred, most of the issues were lost. For example, in project A there were more than 4000 issues in version 9.0, but after upgrading to version 21.5 only 535 are registered. Also, the service to auto-remove the old issues was removed from docker-compose file. Does anyone have another tip to try? |
Not sure what has happened in your situation, but did you first upgrade to 9.1.2 as it has been told on https://develop.sentry.dev/self-hosted/releases/#hard-stops prior to upgrading to 21.5.0 ? Because missing that step may arise some issues. |
Yeah, on my first try I'm follow the hard stops, but I'm found some problems in migrations described here: |
Do you lose issues if you go from 9.1.2 straight to 21.5.0? There may be bugs in migrations in earlier versions. |
Yes @chadwhitacre when I try to go from version 9.1 directly to version 21.5 I found some errors in migration and lost issues too.
|
Hmmm ... @bergpb this is getting involved enough that we should open a separate ticket to help you work through your scenario. Can you open a new ticket, please? |
Sure @chadwhitacre |
Another question. We realized that the sentry js client often sends Would be good to have this cleared up in the documentation as well. |
In general
Sorry, I'm lost. What would make sense to mention about |
Ah. I dug a bit deeper and found that it's supported since version 21.9.0 in the relay. Our instance is just too old. Sorry for the noise. (Minor point that it is difficult to see all changes in a release since the detailed changelogs are spread over all of the service repos.) |
Fair point. :) I updated the GH release notes to include links to Sentry, Snuba, and Relay. Do you think we should link to Symbolicator? Anything else I'm forgetting? I also added a mention of Postgres 10 while I was there. |
@chadwhitacre Excellent, very helpful! |
Not even sure what symbolicator is for and if it is important. If it is, then it might make sense to add it as well. |
Symbolicator is a service we maintain, but it is lower-level and not coupled tightly to Sentry, hence it uses SemVer rather than CalVer and is released on its own schedule, not monthly as with |
Hi everyone. After installing sentry on-prem and launching it with compose, I see that 30 docker pods were launched: - including kafka, zookeper, snuba, etc. Does sentry really needs all those services? I need kind of "minimal" setup, so I was hoping that all sentry setup will be 1 nginx, 1 container with sentry and 1 db. So, question is, can default setup be modified and stripped to some minimal working set of only required containers? |
Short answer is yes, Sentry really needs all those services. Sounds like a 👍 for #789. 😌 |
@chadwhitacre Ok, got it, thanks. Another question - what should be done for setup google SSO? Already added auth-google.client-id and auth-google.client-secret to sentry/config.yml and restarted all stack - but it it didn't take any effect. Anything I am missing here? |
Seems like you found the docs. If you're having trouble go ahead and open a new ticket with detailed info about your environment and the steps you're following and maybe something will come to light there. |
This comment was marked as off-topic.
This comment was marked as off-topic.
Hello, I'm encountering a problem setting up the most recent version of Sentry with an external Postgres DB. We are currently using Vagrant and Puppet to provision everything and with Sentry's default settings, it works perfectly. To use the external DB, I replaced Are there any additional steps required to used an external DB rather than the internal container? |
Hello, I've been a self-hosted sentry user for a couple of years but upgraded to the newest version a few weeks ago. I have an 8GB RAM machine with only sentry and a monitoring agent running on it. It keeps running out of memory. I ran Can I safely shut down the |
I mean, the official answer is no, relay is a core part of the system ... but go for it, if you get it to work let us know in case others want to try. :)
This is the bare minimum, I recall a thread somewhere where we had some better numbers tied to event volume, like so many GBs per N events/mo or whatever. If we dug that up it'd be helpful to update the README with it. On the gradual growth question I'm not sure what the expected upper limit is, maybe @taxilian @kanadaj have some insight? |
@anthonyvelazquez You're depending on |
Hi, I didn't think that this deserves it's own ticket so asking here: So I started digging into the sentry Kafka topics to try balance the load between the brokers using the
Thx P.S |
I am looking for a workaround for a permissions issue we are running into. Our use case for Sentry is to spin up an instance where other developers in our organization can go in and manage their own teams and projects, with as little administrative assistance as possible from the Owner role. Based on our testing, running in a single org mode, it seems Admins offers the closest role for what we want: able to add/approve other members into the team, create project in their team, and no permissions to modify any team that they aren't a member of. Great. A problem arises in the integrations. It seems while Admins are mostly restricted to their own teams, they are somehow able to delete integrations for the entire organization. This seems to be at odds with the rest of the Admin's permissions, since they aren't able to modify other team's configurations, yet are able to delete them. We thought about two workarounds. The first is to make everyone Member and make it open membership, but we don't want any users to freely join other teams without permission and look at logs that could potentially be sensitive, so it was a no go for us. The second is to go with multi-org, and create an org for every team, which is too high-maintenance, because any configuration that are the same must now be replicated every org, such as authentication, slack, Github, etc. Is there a way to change the behavior so that Admins cannot add/delete org-level integrations, but able to manage their own? If we can make it so they must work with an Owner for integration settings, that's okay too, but I am hoping for something in between. |
@BorisMan9 @prismic Can you create new tickets with your questions? This thread is getting too cluttered, I've updated the description to reserve this thread for meta discussion vs. support requests. |
btw. this has been asked over and over again, but I'm still asking, will there be a time where sentry would use something different than I know we are mostly "free" users of your software. but heck I would gladly pay if I can still use my self hosted stuff and have a "better" solution than "we have a shell script here, that should work" (something that can be better integrated with ci/cd and/or other tooling...) and a proper backup solution (I don't care if it still uses docker-compose than underneath, if it works and I can use s3/whatever to back it up easily, does not need to be too much configurable, but it should work) |
@schmitch it's worth noting that you can do that, you just need to set some of it up yourself. There is a helm chart for setting up sentry which I started with and now I've migrated off of the helm chart and just manage things myself, but it's definitely doable. |
Although I know it is not very popular, but it is quite easy to migrate the compose config to a swarm config and run Sentry on a Docker swarm cluster. We are doing this. You just need a solution for data persistence (using a volume driver). |
Oh damn I just saw that I got tagged here.
I don't believe so, not with the current version of Sentry. Relay in integrated mode AFAIK does some pre-processing that's strictly required for the current Sentry pipeline, which makes the name a bit of a misnomer.
My Relay is using 1.62GB and seems mostly settled for the past 2 days. Zookeeper is at 395.3MB but that one depends a lot on the type and degree of workload you have since Kafka stores the metadata in ZK. Total memory usage is at 13GB with some ~3 hour cycles, most of which is Kafka with 5GB memory used. And the faster you ingest, the more memory Kafka needs. I'd dare say 8GB is simply not enough for Sentry at this point, but some periodic cleaning of Kafka and ZK might keep usage down at 8GB, just barely. |
@kanadaj Hey, you are on GitHub! 😅 |
I'm restarting leaky services (zookeper and relay) every night and this keeps my memory usage below the alert threshold (85% of 8GB). |
Hi, I hope this is the right place for this question. I recently upgraded my sentry self hosted instance from 21.6.3 to the latest nightly release, I think the upgrade went fine as I did not see any errors and all migration results were OK, but now I cannot see the issues on the UI, transactions are still there as far as I can tell and I can post and see new issues on the UI. I feel there's really a simple explanation to this, is this expected? I also tried the following which all ended up the same:
Here are some lines from the snuba and database migration output. I've also attached kafka's logs as I feel they might be relevant.
I can provide more details, logs, etc. if needed. Thank you in advance. Cheers! |
Thank you @chadwhitacre and no worries. Thanks again, |
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 label it "A weed is but an unloved flower." ― Ella Wheeler Wilcox 🥀 |
Gonna let the clock run out on this one and then not open another, since the signal to noise has been really low with these. |
Uh oh!
There was an error while loading. Please reload this page.
This is a thread for meta discussion about self-hosted Sentry (SHS).
Please file a ticket if you have a support request (or feature suggestion).
← Q4 2021
The text was updated successfully, but these errors were encountered: