proto

package
v0.10.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 17, 2019 License: Apache-2.0 Imports: 3 Imported by: 6

Documentation

Index

Constants

View Source
const Default_SurfacerConf_Batch bool = true
View Source
const Default_SurfacerConf_BatchSize uint64 = 200
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 {
	// This field doesn't do anything anymore. Batching is always enabled. This
	// field will be removed after release v0.10.3.
	Batch *bool `protobuf:"varint,1,opt,name=batch,def=1" json:"batch,omitempty"`
	// This field doesn't do anything anymore. Batch size is always 200. This
	// field will be removed after release v0.10.3.
	BatchSize *uint64 `protobuf:"varint,2,opt,name=batch_size,json=batchSize,def=200" json:"batch_size,omitempty"`
	// How often to export metrics to stackdriver.
	BatchTimerSec *uint64 `protobuf:"varint,3,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,4,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) GetBatch

func (m *SurfacerConf) GetBatch() bool

func (*SurfacerConf) GetBatchSize

func (m *SurfacerConf) GetBatchSize() uint64

func (*SurfacerConf) GetBatchTimerSec

func (m *SurfacerConf) GetBatchTimerSec() uint64

func (*SurfacerConf) GetMonitoringUrl

func (m *SurfacerConf) GetMonitoringUrl() 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 (dst *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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL