aws-cloudformation / aws-cloudformation/cloudformation-cli-java-plugin
Co-relating logs
- 主要語言
- Java
- 星號
- 30
- 分支
- 48
- PR 合併指標
- 30 天內沒有已合併 PR
描述
Hi!
At the moment there's no way of co-relating log entries outputted from the handler.
An invocation (without customer log calls would look like:
```
2020-01-14T19:14:17.627+01:00 | Record Handler Progress with Request Id and Request: {RecordHandlerProgressRequest(BearerToken= OperationStatus=IN_PROGRESS, CurrentOperationStatus=PENDING, ClientRequestToken=)}
2020-01-14T19:14:18.283+01:00 | [CREATE] invoking handler...
2020-01-14T19:14:20.304+01:00 | [CREATE] handler invoked
2020-01-14T19:14:20.338+01:00 | Handler returned IN_PROGRESS
2020-01-14T19:14:20.474+01:00 | Record Handler Progress with Request Id and Request: {RecordHandlerProgressRequest(BearerToken=, OperationStatus=IN_PROGRESS, CurrentOperationStatus=IN_PROGRESS, ResourceModel={"attr": 123}, ClientRequestToken=)}
2020-01-14T19:14:20.504+01:00 | Scheduling re-invoke locally after 1 seconds, with Context {RequestContext(invocation=1, callbackContext=CallbackContext(var1=123, var2=321), cloudWatchEventsRuleName=null, cloudWatchEventsTargetId=null)}
2020-01-14T19:14:21.541+01:00 | [CREATE] invoking handler...
2020-01-14T19:14:21.641+01:00 | [CREATE] handler invoked
2020-01-14T19:14:21.667+01:00 | Handler returned SUCCESS
```
The problem at the moment is that we do not have the possibility to co-relate those log entries easily through search.
Is it possible to maybe have the requestId as a prefix to all log entries? or some sort of correlational token like a transactionID?
Thanks!
貢獻指南
研究方向
該 issue 提到了處理常式呼叫、進度請求以及本機排程的重新呼叫,但沒有提供檔案或測試。首先追蹤這些日誌項目在哪裡輸出,以及呼叫內容如何在呼叫之間傳遞。完成的標準是:能夠使用一致的請求識別碼或關聯識別碼可靠地搜尋相關項目。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- java
- 領域
- observability-sre
- Issue 類型
- 功能
- 難度
- 5/5
- 預估耗時
- 一週以上
- 活躍度
- 停滯
- 描述清晰度
- 需要釐清
- 新手友好度
- 28/100