Skip to content

Commit

Permalink
Merge pull request #126 from dandi/enh-logs
Browse files Browse the repository at this point in the history
Add information on SEntry and heroku logs
  • Loading branch information
waxlamp authored Mar 27, 2024
2 parents 6624c05 + 88a971a commit 7ca8902
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions docs/40_development.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,35 @@ controls Netlify settings. The @dandibot GitHub account is the "owner" of the
Netlify account used for this purpose; in order to get access to that account,
speak to @satra.

## Monitoring

### Service(s) status

The DANDI project uses [upptime](https://upptime.js.org/) to monitor the status of DANDI provided and third-party services.
The configuration is available in [.upptimerc.yml](https://github.com/dandi/upptime/blob/master/.upptimerc.yml) of the https://github.com/dandi/upptime repository, which is automatically updated by the upptime project pipelines.
Upptime automatically opens new issues if any service becomes unresponsive, and closes issues whenever service comes back online.
https://www.dandiarchive.org/upptime/ is the public dashboard for the status of DANDI services.

## Logging

### Sentry

Sentry is used for error tracking main deployment.
To access Sentry, login to https://dandiarchive.sentry.io .

### Heroku & Papertrail

The `dandi-api` and `dandi-api-staging` apps have the Papertrail add-on configured to capture logs.
To access Papertrail, log in to the [Heroku dashboard](https://dashboard.heroku.com), proceed to the corresponding app and click on the "Papertrail" add-on.

A cronjob on the `drogon` server backs up Papertrail logs as .csv files hourly at `/mnt/backup/dandi/papertrail-logs/{app}`.
Moreover, `heroku logs` processes per app dump logs to `/mnt/backup/dandi/heroku-logs/{app}` directory.

### Continuous Integration (CI) Jobs

The DANDI project uses GitHub Actions for continuous integration.
Logs for many of the repositories are archived on `drogon` server at `/mnt/backup/dandi/tinuous-logs/`.

## Code Hosting

All code repositories are hosted on GitHub. The easiest way to contribute is to
Expand Down

0 comments on commit 7ca8902

Please sign in to comment.