aboutsummaryrefslogtreecommitdiff
path: root/kamon-core/src/main/scala/kamon/module/ReportingModule.scala
diff options
context:
space:
mode:
authorIvan Topolnjak <ivantopo@gmail.com>2019-02-04 19:15:43 +0100
committerIvan Topolnjak <ivantopo@gmail.com>2019-02-04 19:15:43 +0100
commit0a2b7f4bf0dde31c82482fbaf5153c22c84ada69 (patch)
tree799f857698132b937db6fc0c5207af83ebe62b15 /kamon-core/src/main/scala/kamon/module/ReportingModule.scala
parentff8b915260e90084179dcb1d8b0b7b5f62b98470 (diff)
downloadKamon-0a2b7f4bf0dde31c82482fbaf5153c22c84ada69.tar.gz
Kamon-0a2b7f4bf0dde31c82482fbaf5153c22c84ada69.tar.bz2
Kamon-0a2b7f4bf0dde31c82482fbaf5153c22c84ada69.zip
cleanup the exposition of status data and ensure the module registry provides enough info
Diffstat (limited to 'kamon-core/src/main/scala/kamon/module/ReportingModule.scala')
-rw-r--r--kamon-core/src/main/scala/kamon/module/ReportingModule.scala27
1 files changed, 0 insertions, 27 deletions
diff --git a/kamon-core/src/main/scala/kamon/module/ReportingModule.scala b/kamon-core/src/main/scala/kamon/module/ReportingModule.scala
deleted file mode 100644
index 02a7344e..00000000
--- a/kamon-core/src/main/scala/kamon/module/ReportingModule.scala
+++ /dev/null
@@ -1,27 +0,0 @@
-package kamon
-package module
-
-import kamon.trace.Span
-import kamon.metric.PeriodSnapshot
-
-/**
- * Modules implementing this trait will get registered for periodically receiving metric period snapshots. The
- * frequency of the period snapshots is controlled by the kamon.metric.tick-interval setting.
- */
-trait MetricReporter extends Module {
- def reportPeriodSnapshot(snapshot: PeriodSnapshot): Unit
-}
-
-/**
- * Modules implementing this trait will get registered for periodically receiving span batches. The frequency of the
- * span batches is controlled by the kamon.trace.tick-interval setting.
- */
-trait SpanReporter extends Module {
- def reportSpans(spans: Seq[Span.FinishedSpan]): Unit
-}
-
-/**
- * Modules implementing this trait will get registered for periodically receiving metric period snapshots and span
- * batches.
- */
-trait CombinedReporter extends MetricReporter with SpanReporter