Commit c6383f35 authored by Jameson Graef Rollins's avatar Jameson Graef Rollins
Browse files

adjust trend span thresholds and maximums

getting these numbers right is tricky
parent f4db3a7f
......@@ -30,16 +30,18 @@ DATA_SPAN_PADDING = 0.5
# default trend transition thresholds
TREND_TRANS_THRESHOLD = {
'raw/sec': 30,
'raw/sec': 60,
'sec/min': 3600,
}
# max viewable seconds for the various trend data
# max requestable seconds for the various trend data
# FIXME: this should probably really be based on bytes, but the "raw"
# trends have various sample rates that are not known ahead of time.
TREND_MAX_SECONDS = {
'raw': 60,
'sec': 3600*24*2,
'min': 60*24*365*12
'raw': 3600,
'sec': 3600*24*20,
'min': 60*24*365*12,
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment