File tree Expand file tree Collapse file tree 2 files changed +14
-5
lines changed
src/jvmMain/kotlin/spp/protocol Expand file tree Collapse file tree 2 files changed +14
-5
lines changed Original file line number Diff line number Diff line change @@ -18,10 +18,7 @@ import spp.protocol.artifact.log.LogCountSummary
18
18
import spp.protocol.artifact.trace.TraceResult
19
19
import spp.protocol.developer.SelfInfo
20
20
import spp.protocol.general.Service
21
- import spp.protocol.instrument.LiveInstrument
22
- import spp.protocol.instrument.LiveInstrumentBatch
23
- import spp.protocol.instrument.LiveInstrumentType
24
- import spp.protocol.instrument.LiveSourceLocation
21
+ import spp.protocol.instrument.*
25
22
import spp.protocol.instrument.breakpoint.LiveBreakpoint
26
23
import spp.protocol.instrument.breakpoint.event.LiveBreakpointHit
27
24
import spp.protocol.instrument.log.LiveLog
Original file line number Diff line number Diff line change 1
1
package spp.protocol.service.logging
2
2
3
- import spp.protocol.artifact.log.LogCountSummary
4
3
import io.vertx.codegen.annotations.ProxyGen
5
4
import io.vertx.codegen.annotations.VertxGen
6
5
import io.vertx.core.AsyncResult
7
6
import io.vertx.core.Handler
7
+ import io.vertx.core.json.JsonArray
8
+ import kotlinx.datetime.Instant
9
+ import spp.protocol.artifact.log.LogCountSummary
10
+ import spp.protocol.instrument.DurationStep
8
11
9
12
/* *
10
13
* todo: description.
@@ -16,5 +19,14 @@ import io.vertx.core.Handler
16
19
@VertxGen
17
20
interface LogCountIndicatorService {
18
21
22
+ fun getPatternOccurrences (
23
+ logPatterns : List <String >,
24
+ serviceName : String? ,
25
+ start : Instant ,
26
+ stop : Instant ,
27
+ step : DurationStep ,
28
+ handler : Handler <AsyncResult <List <JsonArray >>>
29
+ )
30
+
19
31
fun getLogCountSummary (handler : Handler <AsyncResult <LogCountSummary >>)
20
32
}
You can’t perform that action at this time.
0 commit comments