From 2cc7eeee6fe31a4dfd479f3c0abf1085c7bbf879 Mon Sep 17 00:00:00 2001 From: Diego Date: Sat, 7 Feb 2015 14:26:26 -0300 Subject: ! kamon-annotation: defined instruments @Trace @Segment @Gauge @Timed @Counted @Histogram and full implemetation --- kamon-annotation/src/main/resources/META-INF/aop.xml | 18 ++++++++++++++++++ kamon-annotation/src/main/resources/reference.conf | 19 +++++++++++++++++++ 2 files changed, 37 insertions(+) create mode 100644 kamon-annotation/src/main/resources/META-INF/aop.xml create mode 100644 kamon-annotation/src/main/resources/reference.conf (limited to 'kamon-annotation/src/main/resources') diff --git a/kamon-annotation/src/main/resources/META-INF/aop.xml b/kamon-annotation/src/main/resources/META-INF/aop.xml new file mode 100644 index 00000000..b017e60e --- /dev/null +++ b/kamon-annotation/src/main/resources/META-INF/aop.xml @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + 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" + } + } +} -- cgit v1.2.3