You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 23, 2023. It is now read-only.
Copy file name to clipboardExpand all lines: docs/config.md
+12-1
Original file line number
Diff line number
Diff line change
@@ -47,6 +47,8 @@ metric-max-stale = 6h
47
47
# Interval to run garbage collection job
48
48
gc-interval = 1h
49
49
# duration before secondary nodes start serving requests
50
+
# shorter warmup means metrictank will need to query cassandra more if it doesn't have requested data yet.
51
+
# in clusters, best to assure the primary has saved all the data that a newly warmup instance will need to query, to prevent gaps in charts
50
52
warm-up-period = 1h
51
53
# settings for rollups (aggregation for archives)
52
54
# comma-separated of archive specifications.
@@ -119,7 +121,8 @@ proftrigger-freq = 60s
119
121
proftrigger-path = /tmp
120
122
# minimum time between triggered profiles
121
123
proftrigger-min-diff = 1h
122
-
# if this many bytes allocated, trigger a heap profile
124
+
# if process consumes this many bytes (see bytes_sys in dashboard), trigger a heap profile for developer diagnosis
125
+
# set it higher than your typical memory usage, but lower than how much RAM the process can take before its get killed
123
126
proftrigger-heap-thresh = 25000000000
124
127
# only log incoming requests if their timerange is at least this duration. Use 0 to disable
125
128
log-min-dur = 5min
@@ -173,6 +176,7 @@ brokers = kafka:9092
173
176
# kafka topic (may be given multiple times as a comma-separated list)
174
177
topics = mdm
175
178
# offset to start consuming from. Can be one of newest, oldest,last or a time duration
179
+
# the further back in time you go, the more old data you can load into metrictank, but the longer it takes to catch up to realtime data
176
180
offset = last
177
181
# save interval for offsets
178
182
offset-commit-interval = 5s
@@ -291,4 +295,11 @@ timout = 1s
291
295
num-conns = 10
292
296
# Max number of metricDefs allowed to be unwritten to cassandra
293
297
write-queue-size = 100000
298
+
#automatically clear series from the index if they have not been seen for this much time.
299
+
max-stale = 0
300
+
#Interval at which the index should be checked for stale series.
301
+
prune-interval = 3h
302
+
#frequency at which we should update the metricDef lastUpdate field.
303
+
update-interval = 4h
304
+
#fuzzyness factor for update-interval. should be in the range 0 > fuzzyness <= 1. With an updateInterval of 4hours and fuzzyness of 0.5, metricDefs will be updated every 4-6hours.
Copy file name to clipboardExpand all lines: scripts/config/metrictank-docker.ini
+6-2
Original file line number
Diff line number
Diff line change
@@ -31,6 +31,8 @@ metric-max-stale = 6h
31
31
gc-interval = 1h
32
32
33
33
# duration before secondary nodes start serving requests
34
+
# shorter warmup means metrictank will need to query cassandra more if it doesn't have requested data yet.
35
+
# in clusters, best to assure the primary has saved all the data that a newly warmup instance will need to query, to prevent gaps in charts
34
36
warm-up-period = 1h
35
37
36
38
# settings for rollups (aggregation for archives)
@@ -102,7 +104,8 @@ proftrigger-freq = 60s
102
104
proftrigger-path = /tmp
103
105
# minimum time between triggered profiles
104
106
proftrigger-min-diff = 1h
105
-
# if this many bytes allocated, trigger a heap profile
107
+
# if process consumes this many bytes (see bytes_sys in dashboard), trigger a heap profile for developer diagnosis
108
+
# set it higher than your typical memory usage, but lower than how much RAM the process can take before its get killed
106
109
proftrigger-heap-thresh = 25000000000
107
110
108
111
# only log incoming requests if their timerange is at least this duration. Use 0 to disable
@@ -151,6 +154,7 @@ brokers = kafka:9092
151
154
# kafka topic (may be given multiple times as a comma-separated list)
152
155
topics = mdm
153
156
# offset to start consuming from. Can be one of newest, oldest,last or a time duration
157
+
# the further back in time you go, the more old data you can load into metrictank, but the longer it takes to catch up to realtime data
154
158
offset = last
155
159
# save interval for offsets
156
160
offset-commit-interval = 5s
@@ -262,4 +266,4 @@ prune-interval = 3h
262
266
#frequency at which we should update the metricDef lastUpdate field.
263
267
update-interval = 4h
264
268
#fuzzyness factor for update-interval. should be in the range 0 > fuzzyness <= 1. With an updateInterval of 4hours and fuzzyness of 0.5, metricDefs will be updated every 4-6hours.
Copy file name to clipboardExpand all lines: scripts/config/metrictank-package.ini
+6-2
Original file line number
Diff line number
Diff line change
@@ -31,6 +31,8 @@ metric-max-stale = 6h
31
31
gc-interval = 1h
32
32
33
33
# duration before secondary nodes start serving requests
34
+
# shorter warmup means metrictank will need to query cassandra more if it doesn't have requested data yet.
35
+
# in clusters, best to assure the primary has saved all the data that a newly warmup instance will need to query, to prevent gaps in charts
34
36
warm-up-period = 1h
35
37
36
38
# settings for rollups (aggregation for archives)
@@ -102,7 +104,8 @@ proftrigger-freq = 60s
102
104
proftrigger-path = /tmp
103
105
# minimum time between triggered profiles
104
106
proftrigger-min-diff = 1h
105
-
# if this many bytes allocated, trigger a heap profile
107
+
# if process consumes this many bytes (see bytes_sys in dashboard), trigger a heap profile for developer diagnosis
108
+
# set it higher than your typical memory usage, but lower than how much RAM the process can take before its get killed
106
109
proftrigger-heap-thresh = 25000000000
107
110
108
111
# only log incoming requests if their timerange is at least this duration. Use 0 to disable
@@ -151,6 +154,7 @@ brokers = localhost:9092
151
154
# kafka topic (may be given multiple times as a comma-separated list)
152
155
topics = mdm
153
156
# offset to start consuming from. Can be one of newest, oldest,last or a time duration
157
+
# the further back in time you go, the more old data you can load into metrictank, but the longer it takes to catch up to realtime data
154
158
offset = last
155
159
# save interval for offsets
156
160
offset-commit-interval = 5s
@@ -262,4 +266,4 @@ prune-interval = 3h
262
266
#frequency at which we should update the metricDef lastUpdate field.
263
267
update-interval = 4h
264
268
#fuzzyness factor for update-interval. should be in the range 0 > fuzzyness <= 1. With an updateInterval of 4hours and fuzzyness of 0.5, metricDefs will be updated every 4-6hours.
0 commit comments