SUMMARY
Sentry is a platform for monitoring performance and troubleshooting issues. Flix added Sentry support in version 8.1. Using the data Flix sends to Sentry, Flix administrators can identify performance bottlenecks and the issues affecting artists and editors.
This article explains how to set up Flix to work with Sentry.
MORE INFORMATION
By default, Sentry does not receive information from Flix that can identify a show, a user, or an individual Flix instance. However, you can turn data anonymization off in the Flix config.yml file if needed. Every time an error occurs in Flix, Flix sends the error messages and related stack traces to Sentry. Flix also sends general usage reports to the Sentry server. Sentry makes it easier to see usage and error metrics than looking at the Flix log files. Studios can configure Flix to use their own or the Foundry Sentry server. Using the Foundry Sentry server will share troubleshooting data with the Flix team. Please open a support ticket to receive the settings for the Foundry Sentry server. You can learn how to open a support ticket from the following article: Q100064: How to raise a support ticket
To enable Sentry, you have to configure it in the Flix server’s config.yml file. To do that, start a Sentry subsection
sentry:All the settings for Sentry have to be indented under it. The following settings are available:
enabled - enables or disables error data collection.
The default value is enabled: false
Set this to true to enable Sentry:
enabled: truedsn - specifies a general DSN to use when sending error data.
For example, dsn: https://my-sentry.company.com/12345
We strongly recommend you specify a backend and frontend DSN, instead of a single DSN for both.
backend_dsn - specifies the DSN used by the Flix Server.
To send Flix Server errors to a 12345 endpoint hosted by Sentry, use:
backend_dsn: https://123456789abc.ingest.us.sentry.io/12345frontend_dsn - specifies the DSN used by the Flix Client.
To send Flix Client errors to a 123456 endpoint hosted by Sentry, use:
frontend_dsn: https://123456789abc.ingest.us.sentry.io/123456environment - specifies the environment associated with Sentry events.
The value is free-form and can be used to distinguish between different Flix installations or environments.
For example:
environment: productionOther values might include:
environment: stagingor:
environment: developmentThe default value is production.
debug - enables Sentry debug logging.
The default value is debug: false
This setting can be enabled when troubleshooting Sentry configuration or connectivity issues:
debug: trueDebug logging does not normally need to be enabled.
customer_id - specifies the customer identifier associated with Sentry messages.
This field is required when Sentry is enabled.
For example:
customer_id: ExampleStudioThe value can technically be any value, but Foundry recommends using the company or studio name.
disable_anonymization - controls whether Flix disables its anonymisation pass before sending data to Sentry. When this setting is enabled, all data sent to Flix will be anonymized. This can make it harder to find issues related to a specific user.
The default value is disable_anonymization: false
If you want to send data to the Sentry server without anonymizing it first, you can enable the setting:
disable_anonymization: trueWhen configured as false, Flix sanitises data before sending it to the Sentry server.
Here is an example config.yml section for the production group in a studio called MyStudio set to anonymize all data before sending it to Sentry, using a backend_dsn: https://123456789abc.ingest.us.sentry.io/12345 and frontend_dsn: https://123456789abc.ingest.us.sentry.io/123456
sentry:
enabled: true
backend_dsn: https://123456789abc.ingest.us.sentry.io/12345
frontend_dsn: https://123456789abc.ingest.us.sentry.io/123456
environment: production
customer_id: MyStudio
FURTHER READING
Sentry setup instructions are also available at the Sentry subsection of the Flix server configuration page.
Setting up Sentry is a part of the Flix server configuration. An article describing the easiest Flix deployment to manage is available here: Q100593: Optimum Flix servers setup
We're sorry to hear that
Please tell us why