module GraphQL::Tracing::AppsignalTrace
Public Class Methods
# File lib/graphql/tracing/appsignal_trace.rb, line 26 def initialize(set_action_name: false, **rest) rest[:set_transaction_name] ||= set_action_name setup_appsignal_monitor(**rest) super end
Parameters
-
set_action_name(Boolean) — If true, theGraphQLoperation name will be used as the transaction name. This is not advised if you run more than one query per HTTP request, for example, withgraphql-clientor multiplexing. It can also be specified per-query withcontext[:set_appsignal_action_name].
Calls superclass method