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)
- Add support for Logstasher HOT 3
- Increase log events per minute limit HOT 2
- OpenAI: Instrument embeddings HOT 1
- OpenAI: Instrument chat completions HOT 2
- OpenAI: Trace errors HOT 1
- OpenAI: Instrument feedback HOT 1
- Create set_llm_metadata public API HOT 2
- OpenAI: Create LLM Events classes HOT 1
- OpenAI: Documentation HOT 2
- Investigate: Potential duplication of reported Sinatra errors HOT 1
- Memory/retention problem with thread tracing and very-long-lived threads HOT 4
- Implement Support for AIM Events HOT 2
- Instrument Dragonfly HOT 1
- Fix docs website automation HOT 1
- Add slack notifications to relelase automation PR HOT 1
- Investigate Apartment compatibility with New Relic HOT 1
- newrelic & sidekiq 7.2.1 agent injection not working? HOT 3
- Fix intermittently failing segment unit test, `test_segment_can_disable_scoped_metric_recording` HOT 1
- Address TODOs about using gsub with Ruby 3.3.0 HOT 1
- Getting "actionpack (5.2.6) lib/action_dispatch/middleware/debug_exceptions.rb:65:in `call'" on rails 5 app HOT 5
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.