Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
MooBench
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Kieker
MooBench
Commits
f1cc0ef2
Commit
f1cc0ef2
authored
10 years ago
by
Jan Waller
Browse files
Options
Downloads
Patches
Plain Diff
fix for meta-monitoring
parent
84f6d461
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
frameworks/Kieker/src/mooBench/monitoredApplication/MonitoredClassManualInstrumentation.java
+7
-5
7 additions, 5 deletions
...toredApplication/MonitoredClassManualInstrumentation.java
with
7 additions
and
5 deletions
frameworks/Kieker/src/mooBench/monitoredApplication/MonitoredClassManualInstrumentation.java
+
7
−
5
View file @
f1cc0ef2
...
...
@@ -87,11 +87,13 @@ public final class MonitoredClassManualInstrumentation implements MonitoredClass
private
final
static
void
triggerAfter
(
final
boolean
newTrace
)
{
final
TraceMetadata
trace
=
TRACEREGISTRY
.
getTrace
();
final
String
signature
=
SIGNATURE
;
final
String
clazz
=
CLAZZ
;
CTRLINST
.
newMonitoringRecord
(
new
AfterOperationEvent
(
TIME
.
getTime
(),
trace
.
getTraceId
(),
trace
.
getNextOrderId
(),
signature
,
clazz
));
if
(
newTrace
)
{
// close the trace
TRACEREGISTRY
.
unregisterTrace
();
if
(
null
!=
trace
)
{
final
String
signature
=
SIGNATURE
;
final
String
clazz
=
CLAZZ
;
CTRLINST
.
newMonitoringRecord
(
new
AfterOperationEvent
(
TIME
.
getTime
(),
trace
.
getTraceId
(),
trace
.
getNextOrderId
(),
signature
,
clazz
));
if
(
newTrace
)
{
// close the trace
TRACEREGISTRY
.
unregisterTrace
();
}
}
}
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment