Documentation ¶
Index ¶
- Constants
- Variables
- type SurfacerConf
- func (*SurfacerConf) Descriptor() ([]byte, []int)deprecated
- func (x *SurfacerConf) GetCacheTimeSec() int32
- func (x *SurfacerConf) GetDisable() bool
- func (x *SurfacerConf) GetMaxTargetsPerProbe() int32
- func (x *SurfacerConf) GetResolutionSec() int32
- func (x *SurfacerConf) GetTimeseriesSize() int32
- func (x *SurfacerConf) GetUrl() string
- func (*SurfacerConf) ProtoMessage()
- func (x *SurfacerConf) ProtoReflect() protoreflect.Message
- func (x *SurfacerConf) Reset()
- func (x *SurfacerConf) String() string
Constants ¶
View Source
const ( Default_SurfacerConf_ResolutionSec = int32(60) Default_SurfacerConf_TimeseriesSize = int32(4320) Default_SurfacerConf_MaxTargetsPerProbe = int32(20) Default_SurfacerConf_Url = string("/status") Default_SurfacerConf_CacheTimeSec = int32(2) )
Default values for SurfacerConf fields.
Variables ¶
View Source
var File_github_com_cloudprober_cloudprober_surfacers_probestatus_proto_config_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type SurfacerConf ¶
type SurfacerConf struct { // default 60s ResolutionSec *int32 `protobuf:"varint,1,opt,name=resolution_sec,json=resolutionSec,def=60" json:"resolution_sec,omitempty"` // Number of points in each timeseries. This field dictates how far back // can you go up to (resolution_sec * timeseries_size). Note that higher // this number, more memory you'll use. TimeseriesSize *int32 `protobuf:"varint,2,opt,name=timeseries_size,json=timeseriesSize,def=4320" json:"timeseries_size,omitempty"` // Max targets per probe. MaxTargetsPerProbe *int32 `protobuf:"varint,3,opt,name=max_targets_per_probe,json=maxTargetsPerProbe,def=20" json:"max_targets_per_probe,omitempty"` // ProbeStatus URL // Note that older default URL /probestatus forwards to this URL to avoid // breaking older default setups. Url *string `protobuf:"bytes,4,opt,name=url,def=/status" json:"url,omitempty"` // Page cache time CacheTimeSec *int32 `protobuf:"varint,5,opt,name=cache_time_sec,json=cacheTimeSec,def=2" json:"cache_time_sec,omitempty"` // Probestatus surfacer is enabled by default. To disable it, set this // option. Disable *bool `protobuf:"varint,6,opt,name=disable" json:"disable,omitempty"` // contains filtered or unexported fields }
func (*SurfacerConf) Descriptor
deprecated
func (*SurfacerConf) Descriptor() ([]byte, []int)
Deprecated: Use SurfacerConf.ProtoReflect.Descriptor instead.
func (*SurfacerConf) GetCacheTimeSec ¶
func (x *SurfacerConf) GetCacheTimeSec() int32
func (*SurfacerConf) GetDisable ¶ added in v0.11.8
func (x *SurfacerConf) GetDisable() bool
func (*SurfacerConf) GetMaxTargetsPerProbe ¶
func (x *SurfacerConf) GetMaxTargetsPerProbe() int32
func (*SurfacerConf) GetResolutionSec ¶
func (x *SurfacerConf) GetResolutionSec() int32
func (*SurfacerConf) GetTimeseriesSize ¶
func (x *SurfacerConf) GetTimeseriesSize() int32
func (*SurfacerConf) GetUrl ¶
func (x *SurfacerConf) GetUrl() string
func (*SurfacerConf) ProtoMessage ¶
func (*SurfacerConf) ProtoMessage()
func (*SurfacerConf) ProtoReflect ¶
func (x *SurfacerConf) ProtoReflect() protoreflect.Message
func (*SurfacerConf) Reset ¶
func (x *SurfacerConf) Reset()
func (*SurfacerConf) String ¶
func (x *SurfacerConf) String() string
Click to show internal directories.
Click to hide internal directories.