mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-17 14:19:54 +05:00
TPStats structure for offline TPs
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user