Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DataOperations ¶
type DataOperations struct { Downsample Downsample Merge string Rate RateOperation Order []string FilterValue FilterValueOperation }
type Downsample ¶
type FilterValueOperation ¶
type RateOperation ¶
type RateOperation struct { Enabled bool Options TSDBrateOptions }
type Settings ¶
type Settings struct { ReadConsistency []string WriteConsisteny []string BoltPath string MaxTimeseries int MaxConcurrentTimeseries int MaxConcurrentReads int LogQueryTSthreshold int MaxConcurrentPoints int MaxConcurrentBulks int MaxMetaBulkSize int MetaBufferSize int MetaSaveInterval string CompactionStrategy string HTTPserver SettingsHTTP UDPserver SettingsUDP UDPserverV2 SettingsUDP Cassandra cassandra.Settings TTL struct { Max int } Logs struct { General saw.Settings Stats saw.Settings } Stats snitch.Settings StatsFile struct { Path string } ElasticSearch struct { Cluster rubber.Settings Index string } Probe struct { Threshold float64 } }
type SettingsHTTP ¶
type SettingsUDP ¶
type TSDBfilter ¶
type TSDBquery ¶
type TSDBquery struct { Aggregator string `json:"aggregator"` Downsample string `json:"downsample,omitempty"` Metric string `json:"metric"` Tags map[string]string `json:"tags"` Rate bool `json:"rate,omitempty"` RateOptions TSDBrateOptions `json:"rateOptions,omitempty"` Order []string `json:"order,omitempty"` FilterValue string `json:"filterValue,omitempty"` Filters []TSDBfilter `json:"filters,omitempty"` }
type TSDBqueryPayload ¶
type TSDBqueryPayload struct { Start int64 `json:"start,omitempty"` End int64 `json:"end,omitempty"` Relative string `json:"relative,omitempty"` Queries []TSDBquery `json:"queries"` ShowTSUIDs bool `json:"showTSUIDs"` MsResolution bool `json:"msResolution"` }
func (TSDBqueryPayload) Validate ¶
func (query TSDBqueryPayload) Validate() gobol.Error
type TSDBrateOptions ¶
Click to show internal directories.
Click to hide internal directories.