File Storage

Sentry provides an abstraction called ‘filestore’ which is used for storing files (such as release artifacts).

The default backend stores files on the local disk in /tmp/sentry-files which is not suitable for production use.

File System Backend

Copied
filestore.backend: "filesystem"
filestore.options:
  location: "/tmp/sentry-files"

Google Cloud Storage Backend

In addition to the configuration below, you’ll need to make sure the shell environment has the variable GOOGLE_APPLICATION_CREDENTIALS set. For more information, refer to the Google Cloud documentation for setting up authentication.

Copied
filestore.backend: "gcs"
filestore.options:
  bucket_name: "..."

Amazon S3 Backend

Copied
filestore.backend: "s3"
filestore.options:
  access_key: "..."
  secret_key: "..."
  bucket_name: "..."

MinIO S3 Backend

Copied
filestore.backend: "s3"
filestore.options:
  access_key: "..."
  secret_key: "..."
  bucket_name: "..."
  endpoint_url: "https://minio.example.org/"
You can edit this page on GitHub.