Skip to content

Hawk and Insturmenter are order dependent #89

Description

@tagliala

if defined?(::Instrumenter)
Instrumenter.instrument base, :hawk # FIXME: user-replaceable
else

Expected

Gem order not to be dependent

Actual

Gem order dependent

Failure

gem 'hawk', ifad: 'hawk'
gem 'instrumenter', ifad: 'instrumenter'

Completed 200 OK in 890ms (Views: 7.3ms | ActiveRecord: 0.0ms (0 queries, 0 cached) | GC: 25.6ms)

Success

gem 'instrumenter', ifad: 'instrumenter'
gem 'hawk', ifad: 'hawk'

Completed 200 OK in 94ms (Views: 6.6ms | ActiveRecord: 0.0ms (0 queries, 0 cached) | Hawk: 0.9ms | GC: 31.4ms)

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions