mirror of
https://github.com/ebean-orm/ebean.git
synced 2026-11-18 14:58:47 +00:00
#1854 - Use profile location label to automatically give good metric name for @Transactional (with profile location enhancement)
This commit is contained in:
1 parent
7d77df58c5
commit
affd720390
7 files changed
+41
-7
No files matched your search
@@ -49,10 +49,15 @@ class DProfileLocation implements ProfileLocation {
|
||||
label = UtilLocation.label(shortDesc);
|
||||
shortDescription = shortDesc;
|
||||
location = loc;
|
||||
initWith(label);
|
||||
}
|
||||
return location;
|
||||
}
|
||||
|
||||
protected void initWith(String label) {
|
||||
// nothing by default
|
||||
}
|
||||
|
||||
@Override
|
||||
public String label() {
|
||||
return label;
|
||||
|
||||
Reference in new issue
Block a user