跟踪总线事件

简介:

spring.cloud.bus.trace.enabled=true

[{

"timestamp": 1516583843951,
"info": {
    "signal": "spring.cloud.bus.ack",
    "event": "RefreshRemoteApplicationEvent",
    "id": "7fe840f5-ccd4-45f3-a511-bf13388938a8",
    "origin": "config-client:8002",
    "destination": "**"
}

}, {

"timestamp": 1516583842814,
"info": {
    "method": "GET",
    "path": "/config-client/dev/master",
    "headers": {
        "request": {
            "accept": "application/json, application/*+json",
            "user-agent": "Java/1.8.0_144",
            "host": "localhost:6201",
            "connection": "keep-alive"
        },
        "response": {
            "X-Application-Context": "config-server:6201",
            "Content-Type": "application/json;charset=UTF-8",
            "Transfer-Encoding": "chunked",
            "Date": "Mon, 22 Jan 2018 01:17:22 GMT",
            "status": "200"
        }
    },
    "timeTaken": "4068"
}

}, {

"timestamp": 1516583842302,
"info": {
    "signal": "spring.cloud.bus.ack",
    "event": "RefreshRemoteApplicationEvent",
    "id": "7fe840f5-ccd4-45f3-a511-bf13388938a8",
    "origin": "config-client:8003",
    "destination": "**"
}

}, {

"timestamp": 1516583840668,
"info": {
    "method": "GET",
    "path": "/config-client/dev/master",
    "headers": {
        "request": {
            "accept": "application/json, application/*+json",
            "user-agent": "Java/1.8.0_144",
            "host": "localhost:6201",
            "connection": "keep-alive"
        },
        "response": {
            "X-Application-Context": "config-server:6201",
            "Content-Type": "application/json;charset=UTF-8",
            "Transfer-Encoding": "chunked",
            "Date": "Mon, 22 Jan 2018 01:17:20 GMT",
            "status": "200"
        }
    },
    "timeTaken": "3106"
}

}, {

"timestamp": 1516583838429,
"info": {
    "method": "POST",
    "path": "/bus/refresh",
    "headers": {
        "request": {
            "host": "localhost:6201",
            "user-agent": "curl/7.56.1",
            "accept": "*/*"
        },
        "response": {
            "X-Application-Context": "config-server:6201",
            "status": "200"
        }
    },
    "timeTaken": "4054"
}

}, {

"timestamp": 1516583834702,
"info": {
    "signal": "spring.cloud.bus.sent",
    "type": "RefreshRemoteApplicationEvent",
    "id": "7fe840f5-ccd4-45f3-a511-bf13388938a8",
    "origin": "config-server:6201",
    "destination": "**:**"
}

}, {

"timestamp": 1516583834702,
"info": {
    "signal": "spring.cloud.bus.ack",
    "event": "RefreshRemoteApplicationEvent",
    "id": "7fe840f5-ccd4-45f3-a511-bf13388938a8",
    "origin": "config-server:6201",
    "destination": "**"
}

}, {

"timestamp": 1516583673848,
"info": {
    "method": "GET",
    "path": "/config-client/dev/master",
    "headers": {
        "request": {
            "host": "localhost:6201",
            "connection": "keep-alive",
            "user-agent": "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.132 Safari/537.36",
            "upgrade-insecure-requests": "1",
            "accept": "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8",
            "accept-encoding": "gzip, deflate, br",
            "accept-language": "zh-CN,zh;q=0.9"
        },
        "response": {
            "X-Application-Context": "config-server:6201",
            "Content-Type": "application/json;charset=UTF-8",
            "Transfer-Encoding": "chunked",
            "Date": "Mon, 22 Jan 2018 01:14:33 GMT",
            "status": "200"
        }
    },
    "timeTaken": "2114"
}

}, {

"timestamp": 1516583643244,
"info": {
    "method": "GET",
    "path": "/config-client/dev/master",
    "headers": {
        "request": {
            "accept": "application/json, application/*+json",
            "user-agent": "Java/1.8.0_144",
            "host": "localhost:6201",
            "connection": "keep-alive"
        },
        "response": {
            "X-Application-Context": "config-server:6201",
            "Content-Type": "application/json;charset=UTF-8",
            "Transfer-Encoding": "chunked",
            "Date": "Mon, 22 Jan 2018 01:14:02 GMT",
            "status": "200"
        }
    },
    "timeTaken": "1678"
}

}, {

"timestamp": 1516583631731,
"info": {
    "method": "GET",
    "path": "/config-client/dev/master",
    "headers": {
        "request": {
            "accept": "application/json, application/*+json",
            "user-agent": "Java/1.8.0_144",
            "host": "localhost:6201",
            "connection": "keep-alive"
        },
        "response": {
            "X-Application-Context": "config-server:6201",
            "Content-Type": "application/json;charset=UTF-8",
            "Transfer-Encoding": "chunked",
            "Date": "Mon, 22 Jan 2018 01:13:51 GMT",
            "status": "200"
        }
    },
    "timeTaken": "1260"
}

}, {

"timestamp": 1516583608702,
"info": {
    "method": "GET",
    "path": "/config-client/dev/master",
    "headers": {
        "request": {
            "accept": "application/json, application/*+json",
            "user-agent": "Java/1.8.0_144",
            "host": "localhost:6201",
            "connection": "keep-alive"
        },
        "response": {
            "X-Application-Context": "config-server:6201",
            "Content-Type": "application/json;charset=UTF-8",
            "Transfer-Encoding": "chunked",
            "Date": "Mon, 22 Jan 2018 01:13:28 GMT",
            "status": "200"
        }
    },
    "timeTaken": "1917"
}

}, {

"timestamp": 1516583596624,
"info": {
    "method": "GET",
    "path": "/config-client/dev/master",
    "headers": {
        "request": {
            "accept": "application/json, application/*+json",
            "user-agent": "Java/1.8.0_144",
            "host": "localhost:6201",
            "connection": "keep-alive"
        },
        "response": {
            "X-Application-Context": "config-server:6201",
            "Content-Type": "application/json;charset=UTF-8",
            "Transfer-Encoding": "chunked",
            "Date": "Mon, 22 Jan 2018 01:13:16 GMT",
            "status": "200"
        }
    },
    "timeTaken": "4715"
}

}]

目录
相关文章
|
8月前
LabVIEW使用多个事件结构来处理同一个事件
LabVIEW使用多个事件结构来处理同一个事件
239 0
|
8月前
|
安全 搜索推荐 Linux
D-Bus深度解析:系统总线与会话总线的区别与应用
D-Bus深度解析:系统总线与会话总线的区别与应用
241 2
I/O设备与主机信息传送的控制方式以及什么是中断
I/O设备与主机信息传送的控制方式以及什么是中断
278 0
|
开发者
驱动开发:基于事件同步的反向通信
在之前的文章中`LyShark`一直都在教大家如何让驱动程序与应用层进行`正向通信`,而在某些时候我们不仅仅只需要正向通信,也需要反向通信,例如杀毒软件如果驱动程序拦截到恶意操作则必须将这个请求动态的转发到应用层以此来通知用户,而这种通信方式的实现有多种,通常可以使用创建Socket套接字的方式实现,亦或者使用本章所介绍的通过`事件同步`的方法实现反向通信。
|
Linux 开发工具
Linux进程管理使用信号控制进程
信号全称为软中断信号,也有人称作软中断,信号机制是进程之间相互传递消息的一种方法。
145 0
onInterceptTouchEvent() 与 onTouch() 事件分析
onInterceptTouchEvent() 与 onTouch() 事件分析
onInterceptTouchEvent() 与 onTouch() 事件分析
|
数据采集 监控 NoSQL
一日一技:Python多线程的事件监控
一日一技:Python多线程的事件监控
173 0
2.4总线操作和定时
2.4总线操作和定时
217 0
2.4总线操作和定时
|
存储 算法
二、总线控制
二、总线控制
252 0
二、总线控制
|
小程序
小程序 事件
 什么是事件 事件是视图层到逻辑层的通讯方式。 事件可以将用户的行为反馈到逻辑层进行处理。 事件可以绑定在组件上,当达到触发事件,就会执行逻辑层中对应的事件处理函数。 事件对象可以携带额外信息,如 id, dataset, touches。
951 0