Skip to content
This repository was archived by the owner on Oct 25, 2025. It is now read-only.

Commit 0123994

Browse files
committed
[GIT]
1 parent 811b5c3 commit 0123994

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

org.eclipse.jgit.telemetry/src/main/java/org/eclipse/jgit/telemetry/TelemetryAspect.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,12 @@ public class TelemetryAspect {
1717
private static final long thresholdNanoseconds = loadThreshold();
1818

1919
@Pointcut("execution(* org.eclipse.jgit..*(..))")
20+
public void allMethods() {}
21+
22+
@Pointcut("execution(* org.eclipse.jgit.telemetry.aspect..*(..))")
23+
public void excludedPackages() {}
24+
25+
@Pointcut("allMethods() && !excludedPackages()")
2026
public void monitoredMethods() {}
2127

2228
@Around("monitoredMethods()")

0 commit comments

Comments
 (0)