I'll write down a guy I'll forget later if I don't leave it. Will be added at any time.
See this reference https://docs.datadoghq.com/ja/tracing/setup/ruby/#grape
It would be nice to set ʻanalytics_enabled` in the reference options to true, as in the implementation example below. The point is to specify both grape and rails.
Implementation example
require 'grape'
require 'ddtrace'
Datadog.configure do |c|
c.use :grape, service_name: 'hoge-app', analytics_enabled: true
end
Datadog.configure do |c|
c.use :rails, service_name: 'hoge-app', analytics_enabled: true
end
Recommended Posts