Certain controllers (e.g. Doorkeeper::TokensController) don't expose the method "request_format". This commit changes Gitlab::Metrics::WebTransaction so we don't rely on this method, instead using the underlying code this method uses. Fixes https://gitlab.com/gitlab-org/gitlab-ce/issues/46412 |
||
|---|---|---|
| .. | ||
| samplers | ||
| subscribers | ||
| background_transaction_spec.rb | ||
| delta_spec.rb | ||
| instrumentation_spec.rb | ||
| method_call_spec.rb | ||
| methods_spec.rb | ||
| metric_spec.rb | ||
| prometheus_spec.rb | ||
| rack_middleware_spec.rb | ||
| requests_rack_middleware_spec.rb | ||
| sidekiq_metrics_exporter_spec.rb | ||
| sidekiq_middleware_spec.rb | ||
| system_spec.rb | ||
| web_transaction_spec.rb | ||