File tree Expand file tree Collapse file tree 5 files changed +0
-13
lines changed
src/DIRAC/MonitoringSystem/Client/Types Expand file tree Collapse file tree 5 files changed +0
-13
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,6 @@ class BaseType:
14
14
:type keyFields: python:list
15
15
:param monitoringFields: This is the value what we plot
16
16
:type monitoringFields: python:list
17
- :param int dataToKeep: Data retention. We keep all data by default.
18
17
:param dict mapping: We can specify the mapping of the documents. It is used during the creation of an index.
19
18
Note: If you do not want to be analysed a string, you have to set the mapping
20
19
:param str period: We can configure the elasticsearch index name with a period.
@@ -24,7 +23,6 @@ class BaseType:
24
23
25
24
"""
26
25
27
- ########################################################################
28
26
def __init__ (self ):
29
27
"""c'tor
30
28
@@ -38,9 +36,6 @@ def __init__(self):
38
36
self .index = None
39
37
self .index = self ._getIndex ()
40
38
41
- # we only keep the last month of the data.
42
- self .dataToKeep = - 1
43
-
44
39
########################################################################
45
40
def checkType (self ):
46
41
"""
Original file line number Diff line number Diff line change @@ -44,7 +44,5 @@ def __init__(self):
44
44
}
45
45
)
46
46
47
- self .dataToKeep = 86400 * 30 # we need to define...
48
-
49
47
self .period = "month"
50
48
self .checkType ()
Original file line number Diff line number Diff line change @@ -36,6 +36,4 @@ def __init__(self):
36
36
}
37
37
)
38
38
39
- self .dataToKeep = 86400 * 30 * 14
40
-
41
39
self .checkType ()
Original file line number Diff line number Diff line change @@ -46,7 +46,5 @@ def __init__(self):
46
46
}
47
47
)
48
48
49
- self .dataToKeep = 86400 * 30 # we need to define...
50
-
51
49
self .period = "month"
52
50
self .checkType ()
Original file line number Diff line number Diff line change @@ -50,6 +50,4 @@ def __init__(self):
50
50
)
51
51
# {'timestamp': {'type': 'date'}} will be added for all monitoring types
52
52
53
- self .dataToKeep = 86400 * 30
54
-
55
53
self .checkType ()
You can’t perform that action at this time.
0 commit comments