diff options
Diffstat (limited to 'rrdformat/format.go')
-rw-r--r-- | rrdformat/format.go | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/rrdformat/format.go b/rrdformat/format.go index ca0c459..2dbcb30 100644 --- a/rrdformat/format.go +++ b/rrdformat/format.go @@ -75,6 +75,14 @@ type DSDef struct { Parameters [10]rrdbinary.Unival `xml:"params>item"` } +const ( + DSParam_MRHBCnt = iota // Minimum Required HeatBeat Count + DSParam_MinVal + DSParam_MaxVal + // When DSType==DST_CDEF, none of the above are used, and the + // parameters are instead interpretted with .AsRPNTokens(). +) + type RRADef struct { CFName rrdbinary.String `rrdbinary:"size=20" xml:"cf"` RowCnt rrdbinary.ULong `xml:"-"` |