feat: add datadog integration and lograge JSON logs formatting

This commit is contained in:
Karol Sójko
2020-07-28 18:26:41 +02:00
parent d7260e8ea7
commit c2ac21be9d
11 changed files with 76 additions and 40 deletions

View File

@@ -0,0 +1,6 @@
if ENV['DATADOG_ENABLED'] == 'true'
Datadog.configure do |c|
# This will activate auto-instrumentation for Rails
c.use :rails
end
end