Sha256: 7e42faf73587329b6ae884074dc22e502d0e241af4064ead00d8fb49ecd0aca9
Contents?: true
Size: 991 Bytes
Versions: 19
Compression:
Stored size: 991 Bytes
Contents
require 'agent/trackers/default_tracker' module ManageEngine module Tracker class RootTracker < DefaultTracker attr_accessor :status, :url def url=(url = "unknown") @url = ManageEngine::APMObjectHolder.instance.txn_util.normalizeName(url) end def http_method(method) @http_method = method end def http_params(params) @http_params = params end def queryString(querystring) @queryString = querystring end def setStatus(httpcode) @status = httpcode end def getAdditionalInfo info = super if (@http_method != nil && @queryString != nil && @status != nil) if (info == nil) info = Hash.new end info["http_method_name"] = @http_method info["http_query_str"] = @queryString info["httpcode"] = @status end info end end end end
Version data entries
19 entries across 19 versions & 2 rubygems