OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
Ignore health checks in sentry logger trace
Oliver Günther27e8c1cdb00b
diff --git a/config/initializers/sentry.rb b/config/initializers/sentry.rbindex 0ac3b637803..bb4a4b8a837 100644--- a/config/initializers/sentry.rb+++ b/config/initializers/sentry.rb@@ -38,6 +38,10 @@ if OpenProject::Logging::SentryLogger.enabled?# 0.0 = disabled# 1.0 = all samples are tracedconfig.traces_sample_rate = OpenProject::Configuration.sentry_traces_sample_rate+ config.traces_sampler = lambda do |sampling_context|+ # ignore health checks transactions+ !["/health_checks"].include?(sampling_context[:transaction_context][:name])+ end# Set release infoconfig.release = OpenProject::VERSION.to_s