Documentation ¶
Index ¶
- Constants
- type SurfacerConf
- func (*SurfacerConf) Descriptor() ([]byte, []int)
- func (m *SurfacerConf) GetAllowedMetricsRegex() string
- func (m *SurfacerConf) GetBatchTimerSec() uint64
- func (m *SurfacerConf) GetMonitoringUrl() string
- func (m *SurfacerConf) GetProject() string
- func (*SurfacerConf) ProtoMessage()
- func (m *SurfacerConf) Reset()
- func (m *SurfacerConf) String() string
- func (m *SurfacerConf) XXX_DiscardUnknown()
- func (m *SurfacerConf) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SurfacerConf) XXX_Merge(src proto.Message)
- func (m *SurfacerConf) XXX_Size() int
- func (m *SurfacerConf) XXX_Unmarshal(b []byte) error
Constants ¶
View Source
const Default_SurfacerConf_BatchTimerSec uint64 = 10
View Source
const Default_SurfacerConf_MonitoringUrl string = "custom.googleapis.com/cloudprober/"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SurfacerConf ¶
type SurfacerConf struct { // GCP project name for stackdriver. If not specified and running on GCP, // project is used. Project *string `protobuf:"bytes,1,opt,name=project" json:"project,omitempty"` // How often to export metrics to stackdriver. BatchTimerSec *uint64 `protobuf:"varint,2,opt,name=batch_timer_sec,json=batchTimerSec,def=10" json:"batch_timer_sec,omitempty"` // If allowed_metrics_regex is specified, only metrics matching the given // regular expression will be exported to stackdriver. Since probe type and // probe name are part of the metric name, you can use this field to restrict // stackdriver metrics to a particular probe. // Example: // allowed_metrics_regex: ".*(http|ping).*(success|validation_failure).*" AllowedMetricsRegex *string `protobuf:"bytes,3,opt,name=allowed_metrics_regex,json=allowedMetricsRegex" json:"allowed_metrics_regex,omitempty"` // Monitoring URL base. Full metric URL looks like the following: // <monitoring_url>/<ptype>/<probe>/<metric> // Example: // custom.googleapis.com/cloudprober/http/google-homepage/latency MonitoringUrl *string `` /* 132-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SurfacerConf) Descriptor ¶
func (*SurfacerConf) Descriptor() ([]byte, []int)
func (*SurfacerConf) GetAllowedMetricsRegex ¶ added in v0.10.3
func (m *SurfacerConf) GetAllowedMetricsRegex() string
func (*SurfacerConf) GetBatchTimerSec ¶
func (m *SurfacerConf) GetBatchTimerSec() uint64
func (*SurfacerConf) GetMonitoringUrl ¶
func (m *SurfacerConf) GetMonitoringUrl() string
func (*SurfacerConf) GetProject ¶ added in v0.10.5
func (m *SurfacerConf) GetProject() string
func (*SurfacerConf) ProtoMessage ¶
func (*SurfacerConf) ProtoMessage()
func (*SurfacerConf) Reset ¶
func (m *SurfacerConf) Reset()
func (*SurfacerConf) String ¶
func (m *SurfacerConf) String() string
func (*SurfacerConf) XXX_DiscardUnknown ¶
func (m *SurfacerConf) XXX_DiscardUnknown()
func (*SurfacerConf) XXX_Marshal ¶
func (m *SurfacerConf) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SurfacerConf) XXX_Merge ¶
func (m *SurfacerConf) XXX_Merge(src proto.Message)
func (*SurfacerConf) XXX_Size ¶
func (m *SurfacerConf) XXX_Size() int
func (*SurfacerConf) XXX_Unmarshal ¶
func (m *SurfacerConf) XXX_Unmarshal(b []byte) error
Click to show internal directories.
Click to hide internal directories.