Rework span name

This commit is contained in:
Tadgh 2020-03-02 14:37:09 -08:00
parent ed7b9fc6b6
commit 8d9119faef
1 changed files with 2 additions and 2 deletions

View File

@ -845,8 +845,8 @@ public class SearchCoordinatorSvcImpl implements ISearchCoordinatorSvc {
@Override
public Void call() {
StopWatch sw = new StopWatch();
Span span = myParentTransaction.startSpan("db", "H2", "search");
span.setName("search2!");
Span span = myParentTransaction.startSpan("db", "query", "search");
span.setName("FHIR Database Search");
try {
// Create an initial search in the DB and give it an ID
saveSearch();