def preconditions_met?
      # tracked_request.root_layer is nil for Rack apps ... unsure why.
      return false unless tracked_request.root_layer

      Auth.permitted?
    end
Checks if we should attempt to gather metrics.