app/helpers/sentry_helper.rb
def sentry_frontend_dsn_tag
    tag :meta,
        name: 'openproject_sentry',
        data: {
          dsn: OpenProject::Configuration.sentry_frontend_dsn,
          version: OpenProject::VERSION.to_s,
          tracing_factor: OpenProject::Configuration.sentry_frontend_trace_factor
        }
  end
##
# Communicate the sentry DSN to the frontend
# if this instance has enabled JavaScript tracing
Communicate the sentry DSN to the frontend
if this instance has enabled JavaScript tracing
Communicate the sentry DSN to the frontend if this instance has enabled JavaScript tracing
def sentry_frontend_dsn_tag
    tag :meta,
        name: 'openproject_sentry',
        data: {
          dsn: OpenProject::Configuration.sentry_frontend_dsn,
          version: OpenProject::VERSION.to_s,
          tracing_factor: OpenProject::Configuration.sentry_frontend_trace_factor
        }
  end
def sentry_frontend_dsn_tag tag :meta , name : 'openproject_sentry' , data : { dsn : OpenProject :: Configuration . sentry_frontend_dsn , version : OpenProject :: VERSION . to_s , tracing_factor : OpenProject :: Configuration . sentry_frontend_trace_factor } end
Communicate the sentry DSN to the frontend
if this instance has enabled JavaScript tracing
Communicate the sentry DSN to the frontend if this instance has enabled JavaScript tracing