aboutsummaryrefslogtreecommitdiff
path: root/kamon-annotation/src/main/resources/reference.conf
diff options
context:
space:
mode:
Diffstat (limited to 'kamon-annotation/src/main/resources/reference.conf')
-rw-r--r--kamon-annotation/src/main/resources/reference.conf19
1 files changed, 19 insertions, 0 deletions
diff --git a/kamon-annotation/src/main/resources/reference.conf b/kamon-annotation/src/main/resources/reference.conf
new file mode 100644
index 00000000..b7680022
--- /dev/null
+++ b/kamon-annotation/src/main/resources/reference.conf
@@ -0,0 +1,19 @@
+# ========================================= #
+# Kamon-Annotation Reference Configuration #
+# ========================================= #
+
+kamon {
+ annotation {
+ # We use two arrays to store the kamon instruments in order to do fast array lookups.
+ # These lookups are done using the getId() method on the JoinPoint.StaticPart object.
+ # The ids for all affected join points within a target type are unique (and start from 0).
+ instruments-array-size = 32
+ }
+ modules {
+ kamon-annotation {
+ auto-start = yes
+ requires-aspectj = yes
+ extension-id = "kamon.annotation.Annotation"
+ }
+ }
+}