Skip to content

Commit

Permalink
fix(comet): Fixed not config exception-monitor caused the collector…
Browse files Browse the repository at this point in the history
… collect failure.
  • Loading branch information
yizzuide committed Apr 14, 2020
1 parent f7124f3 commit 033dc5c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ private void collectPostLog(Object body, Exception ex) {

// 检测Body返回code
Map<String, Object> bodyMap = null;
boolean isResponseOk = false;
boolean isResponseOk = true;
// 检测响应码是否有成功
Map<String, YmlAliasNode> aliasNodes = aliasNodesMap.get(tag);
if (!CollectionUtils.isEmpty(aliasNodes)) {
Expand Down
2 changes: 1 addition & 1 deletion MilkomedaDemo/src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ milkomeda:
# 根据路径匹配策略
strategy:
- paths: ["/**"]
tpl: url->{uri},userId:{uid},token:(token),method->{method},parameters->{params},dataId->{data.id}
tpl: url->{uri},userId:{uid},token:(token),method->{method},parameters->{params},dataId->{data.list[0].id}
- paths: ["/error/**"]
tpl: url->{uri},method->{method}
# 日志收集器
Expand Down

0 comments on commit 033dc5c

Please sign in to comment.