Skip to content

Commit

Permalink
added logging with workflow/domain tags (uber#5159)
Browse files Browse the repository at this point in the history
  • Loading branch information
ketsiambaku authored Mar 14, 2023
1 parent 9581488 commit e3ac246
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions service/history/historyEngine.go
Original file line number Diff line number Diff line change
Expand Up @@ -1167,6 +1167,7 @@ func (e *historyEngineImpl) QueryWorkflow(
}
scope.IncCounter(metrics.ConsistentQueryPerShard)
shardMetricScope.IncCounter(metrics.ConsistentQueryPerShard)
e.logger.SampleInfo("History QueryWorkflow called with QueryConsistencyLevelStrong", e.config.SampleLoggingRate(), tag.WorkflowID(request.GetRequest().Execution.WorkflowID), tag.WorkflowDomainName(request.GetRequest().Domain))
}

execution := *request.GetRequest().GetExecution()
Expand Down

0 comments on commit e3ac246

Please sign in to comment.