        var configure={
			collector:'www.rsapm.net:9443',           //接受端地址，默认为APM服务器IP加9000端口（必填）
			app_id:'chartsshow',                           //被监控应用的名称（必填）
			server_ip:"10.4.45.211",                //被监控应用的IP地址（必填）
			server_port:"8888",                     //被监控应用的端口（必填）
			category:"user_experience",             //该探针的属性，无需改动
			responsible_person:"psdmis",                 //被监控应用负责人
			responsible_person_mailbox:"apm@neusoft.com",         //被监控应用负责人邮箱
			responsible_person_mobile:"13333333333",          //被监控应用负责人手机
			content:"",                            //说明信息
		}
		
		var file, 
		     scripts = document.getElementsByTagName("script"); 
             file = scripts[scripts.length - 1].getAttribute("src");
			 file=file.replace("user_experience_tag","sp");
		;(function(p,l,o,w,i,n,g){if(!p[i]){p.GlobalSnowplowNamespace=p.GlobalSnowplowNamespace||[];
        p.GlobalSnowplowNamespace.push(i);p[i]=function(){(p[i].q=p[i].q||[]).push(arguments)
        };p[i].q=p[i].q||[];n=l.createElement(o);g=l.getElementsByTagName(o)[0];n.async=1;
        n.src=w;g.parentNode.insertBefore(n,g)}}(window,document,"script","","rsapm"));
        window.rsapm('newTracker', 'cf', configure.collector, { // Initialise a tracker
          encodeBase64: false, //Default is true
          appId: configure.app_id, // Site ID can be anything you want. Set it if you're tracking more than one site in this account
          platform: '',
		 
          forceUnsecureTracker: false,
          contexts: {
            webPage: true,
            gaCookies: true,
            performanceTiming: true,
            geolocation: false
          }
        });
        window.rsapm('setUserId', 'APM User'); // Business-defined user ID
        window.rsapm('enableLinkClickTracking', {blacklist: ['barred']}, true); // Track clicks on links whose class is not "barred"
        window.rsapm('enableGeolocationContext');
        window.rsapm('enableFormTracking', {
          forms: {
            whitelist: ['formclass']
          },
          fields: {
            blacklist: ['comments']
          }
        }); // Track changes to form fields and form submissions
        window.rsapm('trackPageView', null, [ // Auto-set page title; add page context
          {
                schema: "iglu:com.realsight.apm/client_session/jsonschema/1-0-0",
              data: {
                     userName: configure.app_id+'User',
                     userType: 'administrator',
                     transaction: '',
		             server_ip_s:configure.server_ip,
				     application_s:configure.app_id,
				     server_port_s:configure.server_port,
				     content_s:configure.content,
					 category_s:configure.category,
					 responsible_person_s:configure.responsible_person,                
			         responsible_person_mailbox_s:configure.responsible_person_mailbox,        
			         responsible_person_mobile_s:configure.responsible_person_mobile, 
					 topview_key_s:configure.server_ip+"#*#"+configure.server_port+"#*#"+configure.app_id
              }
          }
        ]);
                                  
    document.write("<script type=\"text/javascript\" src=\""+file+"?" +new Date().getTime()+ "\"></scr"+"ipt>"); 

             

