Documentation ¶
Index ¶
- Constants
- Variables
- type SurfacerConf
- func (*SurfacerConf) Descriptor() ([]byte, []int)deprecated
- func (x *SurfacerConf) GetApiKey() string
- func (x *SurfacerConf) GetAppKey() string
- func (x *SurfacerConf) GetPrefix() string
- func (x *SurfacerConf) GetServer() 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_Prefix = string("cloudprober")
)
Default values for SurfacerConf fields.
Variables ¶
View Source
var File_github_com_google_cloudprober_surfacers_datadog_proto_config_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type SurfacerConf ¶
type SurfacerConf struct { // Prefix to add to all metrics. Prefix *string `protobuf:"bytes,1,opt,name=prefix,def=cloudprober" json:"prefix,omitempty"` // Datadog API key. If not set, DD_API_KEY env variable is used. ApiKey *string `protobuf:"bytes,2,opt,name=api_key,json=apiKey" json:"api_key,omitempty"` // Datadog APP key. If not set, DD_APP_KEY env variable is used. AppKey *string `protobuf:"bytes,3,opt,name=app_key,json=appKey" json:"app_key,omitempty"` // Datadog server, default: "api.datadoghq.com" Server *string `protobuf:"bytes,4,opt,name=server" json:"server,omitempty"` // contains filtered or unexported fields }
Surfacer config for datadog surfacer.
func (*SurfacerConf) Descriptor
deprecated
func (*SurfacerConf) Descriptor() ([]byte, []int)
Deprecated: Use SurfacerConf.ProtoReflect.Descriptor instead.
func (*SurfacerConf) GetApiKey ¶
func (x *SurfacerConf) GetApiKey() string
func (*SurfacerConf) GetAppKey ¶
func (x *SurfacerConf) GetAppKey() string
func (*SurfacerConf) GetPrefix ¶
func (x *SurfacerConf) GetPrefix() string
func (*SurfacerConf) GetServer ¶
func (x *SurfacerConf) GetServer() 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.