Skip to content

active_record integration breaks without sinatra #328

Closed

Description

Here's my config:

Datadog.configure do |config|
  config.use :active_record, service_name: 'random-service'
  config.use :grape, service_name: 'random-service'
end

And here's what I get:

E, [2018-01-25T21:10:34.973666 #6271] ERROR -- ddtrace: [ddtrace] (/usr/local/var/rbenv/versions/2.4.2/lib/ruby/gems/2.4.0/gems/ddtrace-0.11.0/lib/ddtrace/contrib/active_record/patcher.rb:100:in `rescue in sql') 'sinatra' is not a valid integration.

I'm sure it has something to do with this. To be fair I haven't tried it with sinatra, but I'd wager it'll work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    bugInvolves a bug

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions