Comments (3)
Hello @fidalgo !
So, we don’t officially support Grape 1.3.0 in the agent yet, but from our testing we believe it should be working for you. What you’re seeing doesn’t appear to be an issue with the agent, it’s saying that it can’t instrument specific grape calls. This is likely because env is nil when it gets here https://github.com/newrelic/rpm/blob/29bc3e0bf6f4d11b21ced7fc38916b9e41f3a680/lib/new_relic/agent/instrumentation/grape.rb#L128-L129
So the next step would be to investigate in your code why env would be nil in this case.
from newrelic-ruby-agent.
@fidalgo I think your issue may be related to recent changes in Rack. please try setting your rack version to < 2.1.0 in your Gemfile like so:
gem 'rack', '< 2.1.0'
This is a known issue with Grape. I think the latest versions of Grape and Rack fixes, but it's currently untested by us. We do know Grape 1.3.0 works with older versions of Rack, hence the recommendation above to try first.
I am closing this issue with this comment, but if you find it doesn't resolve your issue, please reopen or escalate through our support channel where we can collect more information about your specific versions and environment to diagnose further.
from newrelic-ruby-agent.
So, we don’t officially support Grape 1.3.0 in the agent yet
Is Grape 1.3 (or 1.4) support planned?
We are seeing the same issue on Grape 1.3.3 + Rack 2.2.3, and would rather not downgrade either of these two dependencies.
from newrelic-ruby-agent.
Related Issues (20)
- FOSSA Ruby scanning - enhancements for our public repos HOT 2
- Add testing constraints for ffi HOT 1
- Revert `autostart_denylisted_constants` default change and document options HOT 1
- Spike: Investigate `autostart.denylisted_constants` HOT 1
- Investigate rspec-mocks incompatibility with `add_method_tracer` HOT 3
- Add a configuration option to permit custom method tracers to be defined automatically HOT 1
- CI: GHA - DRY up the action version shas HOT 1
- Meet OYC standards for Agent2Query service HOT 2
- Add Errors Inbox metadata configuration content to generated doc HOT 3
- [Spike] k8s & container integration HOT 1
- [Spike] Support FM/SA configuration HOT 1
- API driven noticed errors display as `expected: true`, and observed errors should too HOT 2
- Stripe integration Causes Cardinality Explosion HOT 6
- CI: address issues that stemmed from Rack hitting v3.1.x HOT 1
- CI: Investigate, address Grape v2.1 failures HOT 1
- Spike: Instrument `start_transaction.active_record` HOT 1
- Failed to get cluster name for elasticsearch during health check routine HOT 5
- Avoid deprecated Bundler method all_specs HOT 2
- Replace API key with access token in artifactory HOT 1
- [Spike] Agent2Query test definition discovery HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from newrelic-ruby-agent.