Skip to content

Commit

Permalink
Add saga related spans.
Browse files Browse the repository at this point in the history
  • Loading branch information
Gerard Klijs committed Jul 4, 2024
1 parent 7660239 commit 364a690
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,14 @@ enum class SpanMatcher(val pre49Predicate: Predicate<String>, val from49Predicat
Predicate { name: String ->
name == "QueryProcessingTask" ||
name == "AxonServerCommandBus.handle" ||
name == "DeadlineJob.execute"
name == "DeadlineJob.execute" ||
name.contains("].invokeSaga ")
},
Predicate { name: String ->
name == "QueryBus.processQueryMessage" ||
name == "CommandBus.handleCommand" ||
name.startsWith("DeadlineManager.executeDeadline(")
name.startsWith("DeadlineManager.executeDeadline(") ||
name.startsWith("SagaManager.invokeSaga(")
}),
OBTAIN_LOCK(
Predicate { name: String -> name == "LockingRepository.obtainLock" },
Expand Down

0 comments on commit 364a690

Please sign in to comment.