Skip to content

Commit

Permalink
feat(queue): Add 'origin' to 'executions.completed' metric (#3101)
Browse files Browse the repository at this point in the history
  • Loading branch information
ajordens authored Aug 14, 2019
1 parent 01e8d08 commit cda9fe7
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,8 @@ class CompleteExecutionHandler(
registry.counter(completedId.withTags(
"status", status.name,
"executionType", execution.type.name,
"application", execution.application
"application", execution.application,
"origin", execution.origin ?: "unknown"
)).increment()
if (status != SUCCEEDED) {
execution.topLevelStages.filter { it.status == RUNNING }.forEach {
Expand Down

0 comments on commit cda9fe7

Please sign in to comment.