We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4bb4fa3 commit 4bd3817Copy full SHA for 4bd3817
lib/prometheus_exporter/middleware.rb
@@ -78,7 +78,7 @@ def default_labels(env, result)
78
action = controller = nil
79
if controller_instance
80
action = controller_instance.action_name
81
- controller = controller_instance.controller_name
+ controller = controller_instance.controller_path
82
elsif (cors = env["rack.cors"]) && cors.respond_to?(:preflight?) && cors.preflight?
83
# if the Rack CORS Middleware identifies the request as a preflight request,
84
# the stack doesn't get to the point where controllers/actions are defined
0 commit comments