proto

package
v0.12.1 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Default_SurfacerConf_Prefix = string("cloudprober")
)

Default values for SurfacerConf fields.

Variables

View Source
var File_github_com_cloudprober_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

Jump to

Keyboard shortcuts

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