Hi folks
I’m trying to connect APM with DBM, but I’m facing some challenges. We had been using :ruby: Active Record instrumentation with “describes” to differentiate the reader vs. writer configurations, adding it as a suffix on the service name for those. To https://docs.datadoghq.com/database_monitoring/connect_dbm_and_apm/?tab=ruby|enable the comment_propagation
, I will need to use the mysql
or pg
integrations that will generate duplicated metrics. I can’t configure to identify the reader/writer on those integrations, and I can’t use the Active Record integration to enable the comment_propagation
. I wonder if I may be missing something or if it will be a feature request - and if FR, is it already on track?
Snippet
comment_propagation: 'full',
service_name: "#{c.service}-mysql2"
c.tracing.instrument :active_record,
describes: :reader,
service_name: "#{c.service}-mysql2-reader"
c.tracing.instrument :active_record,
describes: :writer,
service_name: "#{c.service}-mysql2-writer"```