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: disable Sentry anonymous usage statistics #1608

Merged
merged 2 commits into from
Nov 25, 2024

Conversation

patsevanton
Copy link
Contributor

@patsevanton patsevanton commented Nov 24, 2024

This PR introduces a feature to disable Sentry's anonymous usage statistics. By setting SENTRY_BEACON to False, we ensure that no anonymous data is sent to Sentry, enhancing privacy and compliance with data usage policies.

Changes:

  • Added SENTRY_BEACON = False to the sentry.conf.py configuration file.

image
and
image

links:

https://github.com/getsentry/sentry/blob/master/src/sentry/conf/server.py#L1510

https://forum.sentry.io/t/how-to-upgrade-docker-install-stuck-on-beacon-modal/2546

https://develop.sentry.dev/self-hosted/

https://github.com/getsentry/sentry/blob/master/src/sentry/tasks/beacon.py#L48

Please review and provide feedback.

@patsevanton
Copy link
Contributor Author

k get pod -n test
NAME                                                              READY   STATUS    RESTARTS      AGE
sentry-billing-metrics-consumer-7c897f99d9-cv7gm                  1/1     Running   0             33m
sentry-clickhouse-0                                               1/1     Running   0             44m
sentry-cron-b86dc6d66-547vv                                       1/1     Running   2 (44m ago)   44m
sentry-generic-metrics-consumer-54995544cc-lng4q                  1/1     Running   0             33m
sentry-ingest-consumer-attachments-74ffdf7789-qxrsb               1/1     Running   0             33m
sentry-ingest-consumer-events-69b9db5c48-m66f8                    1/1     Running   0             33m
sentry-ingest-consumer-transactions-6f8766f99b-9mgdp              1/1     Running   0             33m
sentry-ingest-monitors-75f69ffc45-8wgwx                           1/1     Running   0             33m
sentry-ingest-occurrences-9d755fd4c-xxq87                         1/1     Running   0             33m
sentry-ingest-replay-recordings-d8bbccfb7-bbxgs                   1/1     Running   0             33m
sentry-issue-occurrence-consumer-85b545496c-7kbq8                 1/1     Running   0             33m
sentry-kafka-controller-0                                         1/1     Running   0             44m
sentry-kafka-controller-1                                         1/1     Running   0             44m
sentry-kafka-controller-2                                         1/1     Running   0             44m
sentry-metrics-consumer-7854fbc577-wv4g4                          1/1     Running   0             33m
sentry-nginx-597f7c6d6f-9t8sx                                     1/1     Running   0             44m
sentry-post-process-forward-errors-7d8dffcc4-c4qbs                1/1     Running   0             33m
sentry-post-process-forward-issue-platform-6654bf6767-8hsxj       1/1     Running   0             33m
sentry-post-process-forward-transactions-7d999cf469-k9w8k         1/1     Running   0             33m
sentry-rabbitmq-0                                                 1/1     Running   0             44m
sentry-relay-7c66c955c4-p66bb                                     1/1     Running   0             33m
sentry-sentry-postgresql-0                                        1/1     Running   0             44m
sentry-sentry-redis-master-0                                      1/1     Running   0             44m
sentry-sentry-redis-replicas-0                                    1/1     Running   0             44m
sentry-snuba-api-cb6f47f66-rq8ns                                  1/1     Running   0             44m
sentry-snuba-consumer-85c5f6b9c-r568c                             1/1     Running   0             33m
sentry-snuba-generic-metrics-counters-consumer-64688445c-r8pz5    1/1     Running   0             33m
sentry-snuba-generic-metrics-distributions-consumer-77ccf5mbqwh   1/1     Running   0             33m
sentry-snuba-generic-metrics-sets-consumer-6754bf8b77-vgq2z       1/1     Running   0             33m
sentry-snuba-group-attributes-consumer-7bf8f89c47-qdzbl           1/1     Running   0             33m
sentry-snuba-metrics-consumer-5bf57b5776-hdq6l                    1/1     Running   0             33m
sentry-snuba-outcomes-billing-consumer-f96ddfcb6-jfxwf            1/1     Running   0             33m
sentry-snuba-outcomes-consumer-7fd9b7bfd4-q972k                   1/1     Running   0             33m
sentry-snuba-replacer-5d7d547476-9d59k                            1/1     Running   0             33m
sentry-snuba-replays-consumer-7dbb575bfd-x7fdn                    1/1     Running   0             33m
sentry-snuba-spans-consumer-77cf4c4d87-s46mg                      1/1     Running   0             33m
sentry-snuba-subscription-consumer-events-796bfffc75-dflmw        1/1     Running   0             33m
sentry-snuba-subscription-consumer-metrics-7d77dfdbd4-q55q5       1/1     Running   0             33m
sentry-snuba-subscription-consumer-transactions-556496dc6c4tn85   1/1     Running   0             33m
sentry-snuba-transactions-consumer-798bcdd8bf-mmz56               1/1     Running   0             33m
sentry-subscription-consumer-events-797d557885-ckr82              1/1     Running   0             33m
sentry-subscription-consumer-generic-metrics-5586bd5b8-rlzgs      1/1     Running   0             33m
sentry-subscription-consumer-metrics-56cf64d488-m8vvc             1/1     Running   0             33m
sentry-subscription-consumer-transactions-75db8f5f77-wmlcl        1/1     Running   0             33m
sentry-web-5b94cf88c8-8fddc                                       1/1     Running   1 (44m ago)   44m
sentry-worker-5477596d7f-7bgtm                                    1/1     Running   2 (44m ago)   44m
sentry-zookeeper-clickhouse-0                                     1/1     Running   0             44m

Copy link
Contributor

@Mokto Mokto left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice.

@Mokto Mokto merged commit b679d97 into sentry-kubernetes:develop Nov 25, 2024
2 of 3 checks passed
@Mokto Mokto mentioned this pull request Nov 25, 2024
@patsevanton patsevanton deleted the SENTRY_BEACON branch December 9, 2024 03:49
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