Page MenuHomeSoftware Heritage

Activate sentry for swh.graph
ClosedPublic

Authored by ardumont on Oct 15 2021, 10:33 AM.

Details

Summary

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

Diff Detail

Repository
rSPSITE puppet-swh-site
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

ardumont created this revision.
This revision is now accepted and ready to land.Oct 15 2021, 10:43 AM
This revision was automatically updated to reflect the committed changes.