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

Add support for Sentry monitoring #387

Open
wants to merge 13 commits into
base: dev
Choose a base branch
from
Open

Add support for Sentry monitoring #387

wants to merge 13 commits into from

Conversation

pvannierop
Copy link
Contributor

@pvannierop pvannierop commented Oct 4, 2024

Description: This PR will add option to monitor the application with Sentry. Sentry monitoring will be enabled by the following:

  1. Set a SENTRY_DSN environment variable that points to the desired Sentry DSN.
  2. (Optional) Set the SENTRY_LOG_LEVEL environment variable to control the minimum log level of events sent to Sentry.
    The default log level for Sentry is ERROR. Possible values are TRACE, DEBUG, INFO, WARN, and ERROR.

The docs were updated with these instructions.

Important

This PR also changes the gradle config to the latest standards. Specifically, the version catalog and convention plugin features are implemented. The main reason for this is to remove the duplicated dependency versions in the project.

@pvannierop pvannierop self-assigned this Oct 4, 2024
To fix software vulnerability.
[Security] Fix software vulnerabilities for 0.8.11 release
Try to fix CI error.
Improve version management and use of convention plugins for shared build logic.
Includes addition to documentation.
@@ -14,3 +21,7 @@ dependencies {
application {
mainClass.set("org.radarbase.schema.service.SourceCatalogueServer")
}

radarKotlin {
sentryEnabled.set(true)
Copy link

@ewelinagr ewelinagr Jan 21, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

    javaVersion.set(Versions.java)
    log4j2Version.set(Versions.log4j2)

not needed?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ewelinagr No, defaults are defined in the radar-commons kotlin project gradle plugin. Better to use these defaults.

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

Successfully merging this pull request may close these issues.

4 participants