Documentation ¶
Index ¶
- Constants
- Variables
- type SurfacerConf
- func (*SurfacerConf) Descriptor() ([]byte, []int)deprecated
- func (x *SurfacerConf) GetNamespace() string
- func (x *SurfacerConf) GetRegion() string
- func (x *SurfacerConf) GetResolution() int32
- func (*SurfacerConf) ProtoMessage()
- func (x *SurfacerConf) ProtoReflect() protoreflect.Message
- func (x *SurfacerConf) Reset()
- func (x *SurfacerConf) String() string
Constants ¶
View Source
const ( Default_SurfacerConf_Namespace = string("cloudprober") Default_SurfacerConf_Resolution = int32(60) )
Default values for SurfacerConf fields.
Variables ¶
View Source
var File_github_com_cloudprober_cloudprober_surfacers_cloudwatch_proto_config_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type SurfacerConf ¶
type SurfacerConf struct { // The cloudwatch metric namespace Namespace *string `protobuf:"bytes,1,opt,name=namespace,def=cloudprober" json:"namespace,omitempty"` // The cloudwatch resolution value, lowering this below 60 will incur // additional charges as the metrics will be charged at a high resolution // rate. Resolution *int32 `protobuf:"varint,2,opt,name=resolution,def=60" json:"resolution,omitempty"` // The AWS Region, used to create a CloudWatch session. // The order of fallback for evaluating the AWS Region: // 1. This config value. // 2. EC2 metadata endpoint, via cloudprober sysvars. // 3. AWS_REGION environment value. // 4. AWS_DEFAULT_REGION environment value, if AWS_SDK_LOAD_CONFIG is set. // https://aws.github.io/aws-sdk-go-v2/docs/configuring-sdk/ Region *string `protobuf:"bytes,3,opt,name=region" json:"region,omitempty"` // contains filtered or unexported fields }
func (*SurfacerConf) Descriptor
deprecated
func (*SurfacerConf) Descriptor() ([]byte, []int)
Deprecated: Use SurfacerConf.ProtoReflect.Descriptor instead.
func (*SurfacerConf) GetNamespace ¶
func (x *SurfacerConf) GetNamespace() string
func (*SurfacerConf) GetRegion ¶
func (x *SurfacerConf) GetRegion() string
func (*SurfacerConf) GetResolution ¶
func (x *SurfacerConf) GetResolution() int32
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.