Skip to content

Commit

Permalink
Update documentation 📝
Browse files Browse the repository at this point in the history
  • Loading branch information
ndegwamartin committed Mar 26, 2024
1 parent 6a950c9 commit a9f3c09
Showing 1 changed file with 18 additions and 2 deletions.
20 changes: 18 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ variables are required.
- `SENTRY_RELEASE` - The release version of the Gateway you are running _e.g.
v1.0.8_
- `SENTRY_ENVIRONMENT` - The server environment you are running _e.g.
ecbis.production_
production_
- `SENTRY_LOG_LEVEL` - The minimum log level from which you wish to capture
_e.g. error_

Expand All @@ -144,10 +144,26 @@ the classpath e.g.
sentry.dsn=<dsn url>
sentry.logging.minimum-event-level=error
sentry.logging.minimum-breadcrumb-level=debug
sentry.environment=<app deployment>.<envrironment> #e.g. echis.production
sentry.environment=<environment> #e.g. production
sentry.release=1.0.8
```

or as JSON data through the `SPRING_APPLICATION_JSON` environment variable e.g.

```json
{
"sentry": {
"dsn": "<sentry dsn>",
"debug": false,
"environment": "staging",
"release": "1.0.8",
"tags": {
"release-name": "OpenSRP FHIR Gateway"
}
}
}
```

**Note:** If you want to disable Sentry integration just leave out the
`SENTRY_DSN` configuration.

Expand Down

0 comments on commit a9f3c09

Please sign in to comment.