Module: ActiveShopifyGraphQL::Logging::GraphqlControllerRuntime

Extended by:
ActiveSupport::Concern
Defined in:
lib/active_shopify_graphql/logging/graphql_controller_runtime.rb

Overview

Adds GraphQL runtime and cost to the Rails request log Pattern borrowed from ActiveRecord::Railties::ControllerRuntime

Include this module in your ApplicationController or via an initializer:

ActiveSupport.on_load(:action_controller) do
include ActiveShopifyGraphQL::Logging::GraphqlControllerRuntime
end

Defined Under Namespace

Modules: ClassMethods