Closed franzliedke closed 2 years ago
I did mean to ask two things:
controller
= instance
. I did not yet dive deeper how to differentiate multiple actions / methods within one endpoint class.Lets how it goes and if it is too much hassle, we will remove it from the gem. That small snippet should be easy for an application to carry it in an initializer, and there it can be maintained along the application and whatever version of grape is used.
Especially if a framework already uses ActiveSupport::Notifications
and patches are not needed at all.
grape
is a common gem for defining API endpoints. We used to get this instrumentation via the processing pipeline inmnemosyne-server
, but this has been disabled in favor of explicit Telegraf metrics as the app's responsibility. Grape support had not been added here since then.