{% from 'message_box.html' import message_box %} {# Defined before `render_status`, which calls it. #} {% macro render_frontend_status(frontend) %}
| {% trans %}Sentry host{% endtrans %} |
{%- if frontend.dsn_host -%}
{{ frontend.dsn_host }}
{%- else -%}
{% trans %}not configured{% endtrans %}
{%- endif -%}
|
| {% trans %}Environment{% endtrans %} | {{ frontend.environment or '-' }} |
| {% trans %}Release{% endtrans %} | {{ frontend.release or '-' }} |
| {% trans %}SDK bundle{% endtrans %} |
{{ frontend.sdk_url }}
{%- if not frontend.sdk_version %}
({% trans %}custom URL{% endtrans %})
{%- endif %}
|
| {% trans %}Tracing / replay{% endtrans %} | {% trans rate=frontend.traces_sample_rate %}traces {{ rate }}{% endtrans %}, {%- if frontend.replay %} {% trans %}replay on{% endtrans %} {%- else %} {% trans %}replay off{% endtrans %} {%- endif %} |
{% trans -%}
If this instance runs with CSP_ENABLED, the plugin adds the SDK host to script-src by
itself. Sending the events is a cross-origin request, so a connect-src in CSP_DIRECTIVES
(and worker-src blob: for session replay) has to allow the Sentry host as well:
{%- endtrans %}
connect-src 'self' {{ frontend.csp_connect_src }}
| {% trans %}Sentry host{% endtrans %} |
{%- if status.dsn_host -%}
{{ status.dsn_host }}
({% trans source=status.dsn_source %}from {{ source }}{% endtrans %})
{%- else -%}
{% trans %}not configured{% endtrans %}
{%- endif -%}
|
| {% trans %}Environment{% endtrans %} | {{ status.environment or '-' }} |
| {% trans %}Release{% endtrans %} | {{ status.release or '-' }} |
| {% trans %}Integrations{% endtrans %} | {{ status.integrations|join(', ') or '-' }} |
| {% trans %}Versions{% endtrans %} | {% trans %}plugin{% endtrans %} {{ status.plugin_version }}, sentry-sdk {{ sdk_version }} |
{% trans -%} Sentry is configured once per worker process. Settings marked "requires a restart" only take effect after Indico is restarted; "Reload in this worker" applies them to the single process serving this page, which is useful for testing a new DSN. {%- endtrans %}