https://team.cloudwise.com/pages/viewpage.action?pageId=8787668
{
  "code": 1000,
  "msg": "send ok",
  "data": {
    "last_modify_time": 1539757652,
    /*返回和当前Agent有关的关键事务和用户自定义获取规则修改的最后时间戳
      如返回-1:代表此agent未有相关联应用定义了关键事务和用户自定义获取规则。*/
    "sampling": 20
    /*0-100的整数: 100表示全量采集调用堆栈，0表示全量不采集调用堆栈*/
  }
}


https://team.cloudwise.com/pages/viewpage.action?pageId=8788106
{
  "code": 1000,
  "msg": "send ok",
  "data": {
    "last_modify_time": 1539757652
    /*返回和当前Agent有关的关键事务和用户自定义获取规则修改的最后时间戳
      如返回-1:代表此agent未有相关联应用定义了关键事务和用户自定义获取规则。*/
        "fuse_rules": {
            "CPU": "90", /*主机/容器CPU使用率, 不设置为空字符串 */
            "Mem": "90", /*主机/容器内存使用率, 不设置为空字符串 */
            "GC_cpu": "", /*GC CPU时间消耗占比*/
            "Heap_mem": "" /*Heap内存使用率*/
        }
  }
}

https://team.cloudwise.com/pages/viewpage.action?pageId=8787456
{
  "code": 1000,
  "msg": "send ok",
  "data": {
    "business_rules": [
      {
        "business_id": 212,
        "account_id": 107,
        "app_id": 10160886551097115,
        "uri": "/ilucky-web-javaagent/test/session1.mvcc",
        "http_method": "ANY",
        "rule_type": "Uri",
        "match_type": "Equals",
        "custom_rules": []
      },
      {
        "business_id": 213,
        "account_id": 107,
        "app_id": 10160886551097115,
        "uri": "/school/student/addStudent.action",
        "http_method": "ANY",
        "rule_type": "Uri",
        "match_type": "Equals",
        "custom_rules": []
      },
      {
        "business_id": 214,
        "account_id": 107,
        "app_id": 10160886551097115,
        "uri": "/school/student/allStudent.action",
        "http_method": "ANY",
        "rule_type": "Uri",
        "match_type": "Equals",
        "custom_rules": []
      },
      {
        "business_id": 225,
        "account_id": 107,
        "app_id": 10160886551097115,
        "uri": "/school/student/allStudent.action",
        "http_method": "PUT",
        "rule_type": "Uri",
        "match_type": "Equals",
        "custom_rules": [
          {
            "type": "FormPost",
            "data": [
              {
                "name": "post",
                "sessionDataType": "N.A",
                "sessionExpression": "",
                "operator": "contains",
                "value": "post"
              }
            ]
          }
        ]
      },
      {
        "business_id": 226,
        "account_id": 107,
        "app_id": 10160886551097115,
        "uri": "/school/index.jsp",
        "http_method": "ANY",
        "rule_type": "Uri",
        "match_type": "Equals",
        "custom_rules": [
          {
            "type": "Session",
            "data": [
              {
                "name": "name",
                "sessionDataType": "Object",
                "sessionExpression": "",
                "operator": "any",
                "value": ""
              }
            ]
          }
        ]
      },
      {
        "business_id": 234,
        "account_id": 107,
        "app_id": 10160886551097115,
        "uri": "-",
        "http_method": "ANY",
        "rule_type": "Class",
        "match_type": null,
        "custom_rules": [
          {
            "type": "Class",
            "className": "com.tsb.javaagent.plugin.MyPlugin",
            "methodRules": [
              {
                "methodRuleType": "Name",
                "methodRuleValue": "Hello",
                "parameters": ""
              }
            ]
          }
        ]
      }
    ],
    "user_rules": [
      {
        "app_id": 10160886551097115,
        "type": "URLParam",
        "name": "AA",
        "sessionDataType": "N.A",
        "sessionExpression": "",
        "operator": "any",
        "value": ""
      }
    ],
    "jvm_rule": {
      "jvm_id": 1,
      "duration": 10,
      "frequency": 10
    }
  }
}

[
    {
        "code": 1000,
        "msg": "send ok",
        "data": {
            "business_rules": [
                {
                    "business_id": 371,
                    "account_id": 2229,
                    "app_id": 9015596388188952,
                    "uri": "*.mvc",
                    "http_method": "ANY",
                    "rule_type": "Uri",
                    "match_type": "Pattern",
                    "custom_rules": [
                        {
                            "type": "URLParam",
                            "data": [
                                {
                                    "name": "acccccccc333333333333333333",
                                    "sessionDataType": "N.A",
                                    "sessionExpression": "",
                                    "operator": "equals",
                                    "value": "1222"
                                }
                            ]
                        }
                    ]
                },
                {
                    "business_id": 374,
                    "account_id": 2229,
                    "app_id": 9015596388188952,
                    "uri": "/test/*",
                    "http_method": "ANY",
                    "rule_type": "Uri",
                    "match_type": "Pattern",
                    "custom_rules": [
                        {
                            "type": "URLParam",
                            "data": [
                                {
                                    "name": "a",
                                    "sessionDataType": "N.A",
                                    "sessionExpression": "",
                                    "operator": "equals",
                                    "value": "1"
                                }
                            ]
                        }
                    ]
                },
                {
                    "business_id": 388,
                    "account_id": 2229,
                    "app_id": 9015596388188952,
                    "uri": "",
                    "http_method": "ANY",
                    "rule_type": "Class",
                    "match_type": "Equals",
                    "custom_rules": [
                        {
                            "type": "Class",
                            "className": "com.ilucky.web.javaagent.controller.CommonService",
                            "methodRules": [
                                {
                                    "methodRuleType": "Name",
                                    "methodRuleValue": "commonService",
                                    "parameters": "javax.servlet.http.HttpServletResponse,java.lang.Object",
                                    "parameterValues": ""
                                }
                            ]
                        }
                    ]
                },
                {
                    "business_id": 391,
                    "account_id": 2229,
                    "app_id": 9015596388188952,
                    "uri": "*.mvc",
                    "http_method": "ANY",
                    "rule_type": "Uri",
                    "match_type": "Pattern",
                    "custom_rules": []
                },
                {
                    "business_id": 394,
                    "account_id": 2229,
                    "app_id": 9015596388188952,
                    "uri": "/favicon.ico",
                    "http_method": "ANY",
                    "rule_type": "Thread",
                    "match_type": "Equals",
                    "custom_rules": [
                        {
                            "type": "ThreadName",
                            "scope": "Specific",
                            "threadsList": [
                                "http-bio-8080-exec-1",
                                "http-bio-8080-exec-5",
                                "http-bio-8080-exec-4",
                                "http-bio-8080-exec-9",
                                "http-bio-8080-exec-8",
                                "http-bio-8080-exec-6",
                                "http-bio-8080-exec-7",
                                "http-bio-8080-exec-3",
                                "http-bio-8080-exec-2",
                                "http-bio-8080-exec-10"
                            ]
                        }
                    ]
                },
                {
                    "business_id": 395,
                    "account_id": 2229,
                    "app_id": 9015596388188952,
                    "uri": "/ilucky-web-javaagent/test/http2.mvc",
                    "http_method": "ANY",
                    "rule_type": "Thread",
                    "match_type": "Equals",
                    "custom_rules": [
                        {
                            "type": "ThreadId",
                            "scope": "Specific",
                            "threadsList": [
                                "61",
                                "64",
                                "74",
                                "116",
                                "69",
                                "57",
                                "124",
                                "68",
                                "66",
                                "55",
                                "76",
                                "72",
                                "59",
                                "123",
                                "54",
                                "71",
                                "60",
                                "75",
                                "70",
                                "67",
                                "56",
                                "62",
                                "63",
                                "65",
                                "58",
                                "73",
                                "113",
                                "114"
                            ]
                        }
                    ]
                },
                {
                    "business_id": 396,
                    "account_id": 2229,
                    "app_id": 9015596388188952,
                    "uri": "",
                    "http_method": "ANY",
                    "rule_type": "Thread",
                    "match_type": "Equals",
                    "custom_rules": [
                        {
                            "type": "ThreadName",
                            "scope": "All",
                            "threadsList": []
                        }
                    ]
                }
            ],
            "user_rules": [
                {
                    "app_id": 9015596388188952,
                    "type": "URLParam",
                    "name": "vip",
                    "sessionDataType": "N.A",
                    "sessionExpression": "",
                    "operator": "any",
                    "value": ""
                }
            ],
            "jvm_rule": {}
        }
    }
]

