Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integrate sentry to fhir-gateway servers #33

Closed
SebaMutuku opened this issue Feb 2, 2024 · 2 comments · Fixed by #44
Closed

Integrate sentry to fhir-gateway servers #33

SebaMutuku opened this issue Feb 2, 2024 · 2 comments · Fixed by #44
Assignees
Labels

Comments

@SebaMutuku
Copy link

SebaMutuku commented Feb 2, 2024

Description
There's need to integrate sentry with fhir-gateway to capture errors logs.
Acceptance criteria:
We would like to be able reference sentry instance through a PR e.g https://github.com/onaio/infrastructure/pull/7729

@SebaMutuku SebaMutuku changed the title Add sentry to fhir-gateway servers Integrate sentry to fhir-gateway servers Feb 2, 2024
@dubdabasoduba
Copy link
Collaborator

@bennsimon to document what is needed to connect the plugins to sentry.

@bennsimon
Copy link
Contributor

bennsimon commented Feb 2, 2024

@dubdabasoduba

  • Identify the logging framework used.
    • Logback is the current logging framework as indicated on the dependency file here, we therefore use Logback guide.
    • We need to confirm that any crucial logging call goes through logback.
  • The configurations for the sentry initialization and log appender needs to be able to support the following:
    • Enabling/Disabling sentry logging.
    • Setting sentry options i.e dsn, tags, release-name, environment e.t.c.
    • Setting the minimumEventLevel and minimumBreadcrumbLevel.
  • The above configurations should be on the application.yaml file preferably e.g SPRING_APPLICATION_JSON, SPRING_CONFIG_LOCATION.

Check sample spring boot setup here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
4 participants