Skip to content

Instantly share code, notes, and snippets.

@combatpoodle
Created April 23, 2019 09:11
Show Gist options
  • Save combatpoodle/5c5ac6b2a78ef3907fdff57877ebe31c to your computer and use it in GitHub Desktop.
Save combatpoodle/5c5ac6b2a78ef3907fdff57877ebe31c to your computer and use it in GitHub Desktop.
Get all sentry options
cat <<'TEST' > test.sh
# Set up credentials here if needed
set -x
sentry config get -q analytics.backend
sentry config get -q analytics.options
sentry config get -q api.rate-limit.org-create
sentry config get -q auth-google.client-id
sentry config get -q auth-google.client-secret
sentry config get -q auth.allow-registration
sentry config get -q auth.ip-rate-limit
sentry config get -q auth.user-rate-limit
sentry config get -q beacon.anonymous
sentry config get -q cloudflare.secret-key
sentry config get -q dsym.cache-path
sentry config get -q filestore.backend
sentry config get -q filestore.options
sentry config get -q github-app.client-id
sentry config get -q github-app.client-secret
sentry config get -q github-app.id
sentry config get -q github-app.name
sentry config get -q github-app.private-key
sentry config get -q github-app.webhook-secret
sentry config get -q github.apps-install-url
sentry config get -q github.integration-app-id
sentry config get -q github.integration-hook-secret
sentry config get -q github.integration-private-key
sentry config get -q kafka-publisher.max-event-size
sentry config get -q kafka-publisher.raw-event-sample-rate
sentry config get -q mail.backend
sentry config get -q mail.enable-replies
sentry config get -q mail.from
sentry config get -q mail.host
sentry config get -q mail.list-namespace
sentry config get -q mail.mailgun-api-key
sentry config get -q mail.password
sentry config get -q mail.port
sentry config get -q mail.reply-hostname
sentry config get -q mail.subject-prefix
sentry config get -q mail.timeout
sentry config get -q mail.use-tls
sentry config get -q mail.username
sentry config get -q redis.clusters
sentry config get -q redis.options
sentry config get -q slack.client-id
sentry config get -q slack.client-secret
sentry config get -q slack.verification-token
sentry config get -q sms.twilio-account
sentry config get -q sms.twilio-number
sentry config get -q sms.twilio-token
sentry config get -q snuba.events-queries.enabled
sentry config get -q snuba.search.chunk-growth-rate
sentry config get -q snuba.search.hits-sample-size
sentry config get -q snuba.search.max-chunk-size
sentry config get -q snuba.search.max-pre-snuba-candidates
sentry config get -q snuba.search.max-total-chunk-time-seconds
sentry config get -q snuba.search.min-pre-snuba-candidates
sentry config get -q snuba.search.pre-snuba-candidates-optimizer
sentry config get -q snuba.search.pre-snuba-candidates-percentage
sentry config get -q snuba.search.project-group-count-cache-time
sentry config get -q snuba.use_group_id_column
sentry config get -q store.empty-interface-sample-rate
sentry config get -q store.projects-normalize-in-rust-opt-in
sentry config get -q store.projects-normalize-in-rust-opt-out
sentry config get -q store.projects-normalize-in-rust-percent-opt-in
sentry config get -q symbolicator.enabled
sentry config get -q symbolicator.options
sentry config get -q symbolserver.enabled
sentry config get -q symbolserver.options
sentry config get -q system.admin-email
sentry config get -q system.databases
sentry config get -q system.event-retention-days
sentry config get -q system.internal-url-prefix
sentry config get -q system.logging-format
sentry config get -q system.maximum-file-size
sentry config get -q system.rate-limit
sentry config get -q system.root-api-key
sentry config get -q system.secret-key
sentry config get -q system.security-email
sentry config get -q system.support-email
sentry config get -q system.upload-url-prefix
sentry config get -q system.url-prefix
sentry config get -q tagstore.multi-sampling
sentry config get -q u2f.app-id
sentry config get -q u2f.facets
sentry config get -q vsts.client-id
sentry config get -q vsts.client-secret
TEST
echo -ne "\n\n\n\n\n\n\n\n\n\n\n\n"
bash test.sh | grep -vE '(WARNING|INFO)'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment