mirror of
https://github.com/SrIzan10/hc-harbor.git
synced 2026-05-01 10:45:21 +00:00
12 lines
313 B
Ruby
12 lines
313 B
Ruby
# Enable autotuner. Alternatively, call Autotuner.sample_ratio= with a value
|
|
# between 0 and 1.0 to sample on a portion of instances.
|
|
Autotuner.enabled = true
|
|
|
|
Autotuner.reporter = proc do |report|
|
|
Sentry.capture_message(
|
|
"Autotuner Suggestion",
|
|
level: :info,
|
|
extra: { report: report.to_s }
|
|
)
|
|
end
|