From fe8ee0a57492885dbd9da0ac5147bc40b4aa2119 Mon Sep 17 00:00:00 2001 From: DanB Date: Tue, 18 Jul 2017 17:40:38 +0200 Subject: [PATCH] TPStats structure for offline TPs --- utils/apitpdata.go | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/utils/apitpdata.go b/utils/apitpdata.go index e9e737311..b26800481 100644 --- a/utils/apitpdata.go +++ b/utils/apitpdata.go @@ -1322,3 +1322,17 @@ type AttrDisconnectSession struct { EventStart map[string]interface{} Reason string } + +// TPStats is used in APIs to manage remotely offline Stats config +type TPStats struct { + TPid string + ID string + Filters []*TPRequestFilter + ActivationInterval *TPActivationInterval + QueueLength int + TTL string + Metrics string + Store bool + Thresholds string + Weight float64 +}