Skip to content

Activate sentry for swh.graph

First create the new project in sentry. Retrieve the generated token and install properly in the private-data repository.

Related to T3619

Test Plan

$SWH_PUPPET_ENVIRONMENT_HOME/bin/octocatalog-diff --octocatalog-diff-args --no-truncate-details --to staging granet
...
*******************************************
  File[/etc/systemd/system/swhgraphdev.service] =>
   parameters =>
     content =>
      @@ -8,4 +8,7 @@
      _
       [Service]
      +Environment=SWH_SENTRY_DSN=https://@sentry.softwareheritage.org/20
      +Environment=SWH_SENTRY_ENVIRONMENT=production
      +Environment=SWH_MAIN_PACKAGE=swh.graph
       Type=simple
       User=swhworker
*******************************************
  Systemd::Unit_file[swhgraphdev.service] =>
   parameters =>
     content =>
      @@ -8,4 +8,7 @@
      _
       [Service]
      +Environment=SWH_SENTRY_DSN=https://@sentry.softwareheritage.org/20
      +Environment=SWH_SENTRY_ENVIRONMENT=production
      +Environment=SWH_MAIN_PACKAGE=swh.graph
       Type=simple
       User=swhworker
*******************************************
*** End octocatalog-diff on granet.internal.softwareheritage.org

Migrated from D6480 (view on Phabricator)

Merge request reports

Loading