Documentation ¶
Index ¶
- Variables
- type CounterTagV2
- type EventV2
- func (*EventV2) Descriptor() ([]byte, []int)deprecated
- func (x *EventV2) GetAggregationKey() string
- func (x *EventV2) GetDateHappened() int64
- func (x *EventV2) GetHostname() string
- func (x *EventV2) GetPriority() EventV2_EventPriority
- func (x *EventV2) GetSourceIP() string
- func (x *EventV2) GetSourceTypeName() string
- func (x *EventV2) GetTags() []string
- func (x *EventV2) GetText() string
- func (x *EventV2) GetTitle() string
- func (x *EventV2) GetType() EventV2_AlertType
- func (*EventV2) ProtoMessage()
- func (x *EventV2) ProtoReflect() protoreflect.Message
- func (x *EventV2) Reset()
- func (x *EventV2) String() string
- type EventV2_AlertType
- func (EventV2_AlertType) Descriptor() protoreflect.EnumDescriptor
- func (x EventV2_AlertType) Enum() *EventV2_AlertType
- func (EventV2_AlertType) EnumDescriptor() ([]byte, []int)deprecated
- func (x EventV2_AlertType) Number() protoreflect.EnumNumber
- func (x EventV2_AlertType) String() string
- func (EventV2_AlertType) Type() protoreflect.EnumType
- type EventV2_EventPriority
- func (EventV2_EventPriority) Descriptor() protoreflect.EnumDescriptor
- func (x EventV2_EventPriority) Enum() *EventV2_EventPriority
- func (EventV2_EventPriority) EnumDescriptor() ([]byte, []int)deprecated
- func (x EventV2_EventPriority) Number() protoreflect.EnumNumber
- func (x EventV2_EventPriority) String() string
- func (EventV2_EventPriority) Type() protoreflect.EnumType
- type GaugeTagV2
- type RawCounterV2
- func (*RawCounterV2) Descriptor() ([]byte, []int)deprecated
- func (x *RawCounterV2) GetHostname() string
- func (x *RawCounterV2) GetTags() []string
- func (x *RawCounterV2) GetValue() int64
- func (*RawCounterV2) ProtoMessage()
- func (x *RawCounterV2) ProtoReflect() protoreflect.Message
- func (x *RawCounterV2) Reset()
- func (x *RawCounterV2) String() string
- type RawGaugeV2
- func (*RawGaugeV2) Descriptor() ([]byte, []int)deprecated
- func (x *RawGaugeV2) GetHostname() string
- func (x *RawGaugeV2) GetTags() []string
- func (x *RawGaugeV2) GetValue() float64
- func (*RawGaugeV2) ProtoMessage()
- func (x *RawGaugeV2) ProtoReflect() protoreflect.Message
- func (x *RawGaugeV2) Reset()
- func (x *RawGaugeV2) String() string
- type RawMessageV2
- func (*RawMessageV2) Descriptor() ([]byte, []int)deprecated
- func (x *RawMessageV2) GetCounters() map[string]*CounterTagV2
- func (x *RawMessageV2) GetGauges() map[string]*GaugeTagV2
- func (x *RawMessageV2) GetSets() map[string]*SetTagV2
- func (x *RawMessageV2) GetTimers() map[string]*TimerTagV2
- func (*RawMessageV2) ProtoMessage()
- func (x *RawMessageV2) ProtoReflect() protoreflect.Message
- func (x *RawMessageV2) Reset()
- func (x *RawMessageV2) String() string
- type RawSetV2
- func (*RawSetV2) Descriptor() ([]byte, []int)deprecated
- func (x *RawSetV2) GetHostname() string
- func (x *RawSetV2) GetTags() []string
- func (x *RawSetV2) GetValues() []string
- func (*RawSetV2) ProtoMessage()
- func (x *RawSetV2) ProtoReflect() protoreflect.Message
- func (x *RawSetV2) Reset()
- func (x *RawSetV2) String() string
- type RawTimerV2
- func (*RawTimerV2) Descriptor() ([]byte, []int)deprecated
- func (x *RawTimerV2) GetHostname() string
- func (x *RawTimerV2) GetSampleCount() float64
- func (x *RawTimerV2) GetTags() []string
- func (x *RawTimerV2) GetValues() []float64
- func (*RawTimerV2) ProtoMessage()
- func (x *RawTimerV2) ProtoReflect() protoreflect.Message
- func (x *RawTimerV2) Reset()
- func (x *RawTimerV2) String() string
- type SetTagV2
- type TimerTagV2
Constants ¶
This section is empty.
Variables ¶
View Source
var ( EventV2_EventPriority_name = map[int32]string{ 0: "Normal", 1: "Low", } EventV2_EventPriority_value = map[string]int32{ "Normal": 0, "Low": 1, } )
Enum value maps for EventV2_EventPriority.
View Source
var ( EventV2_AlertType_name = map[int32]string{ 0: "Info", 1: "Warning", 2: "Error", 3: "Success", } EventV2_AlertType_value = map[string]int32{ "Info": 0, "Warning": 1, "Error": 2, "Success": 3, } )
Enum value maps for EventV2_AlertType.
View Source
var File_pb_gostatsd_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type CounterTagV2 ¶
type CounterTagV2 struct { TagMap map[string]*RawCounterV2 `` /* 153-byte string literal not displayed */ // contains filtered or unexported fields }
func (*CounterTagV2) Descriptor
deprecated
func (*CounterTagV2) Descriptor() ([]byte, []int)
Deprecated: Use CounterTagV2.ProtoReflect.Descriptor instead.
func (*CounterTagV2) GetTagMap ¶
func (x *CounterTagV2) GetTagMap() map[string]*RawCounterV2
func (*CounterTagV2) ProtoMessage ¶
func (*CounterTagV2) ProtoMessage()
func (*CounterTagV2) ProtoReflect ¶
func (x *CounterTagV2) ProtoReflect() protoreflect.Message
func (*CounterTagV2) Reset ¶
func (x *CounterTagV2) Reset()
func (*CounterTagV2) String ¶
func (x *CounterTagV2) String() string
type EventV2 ¶
type EventV2 struct { Title string `protobuf:"bytes,1,opt,name=Title,proto3" json:"Title,omitempty"` Text string `protobuf:"bytes,2,opt,name=Text,proto3" json:"Text,omitempty"` DateHappened int64 `protobuf:"varint,3,opt,name=DateHappened,proto3" json:"DateHappened,omitempty"` Hostname string `protobuf:"bytes,4,opt,name=Hostname,proto3" json:"Hostname,omitempty"` AggregationKey string `protobuf:"bytes,5,opt,name=AggregationKey,proto3" json:"AggregationKey,omitempty"` SourceTypeName string `protobuf:"bytes,6,opt,name=SourceTypeName,proto3" json:"SourceTypeName,omitempty"` Tags []string `protobuf:"bytes,7,rep,name=Tags,proto3" json:"Tags,omitempty"` SourceIP string `protobuf:"bytes,8,opt,name=SourceIP,proto3" json:"SourceIP,omitempty"` Priority EventV2_EventPriority `protobuf:"varint,9,opt,name=Priority,proto3,enum=pb.EventV2_EventPriority" json:"Priority,omitempty"` Type EventV2_AlertType `protobuf:"varint,10,opt,name=Type,proto3,enum=pb.EventV2_AlertType" json:"Type,omitempty"` // contains filtered or unexported fields }
func (*EventV2) Descriptor
deprecated
func (*EventV2) GetAggregationKey ¶
func (*EventV2) GetDateHappened ¶
func (*EventV2) GetHostname ¶
func (*EventV2) GetPriority ¶
func (x *EventV2) GetPriority() EventV2_EventPriority
func (*EventV2) GetSourceIP ¶
func (*EventV2) GetSourceTypeName ¶
func (*EventV2) GetType ¶
func (x *EventV2) GetType() EventV2_AlertType
func (*EventV2) ProtoMessage ¶
func (*EventV2) ProtoMessage()
func (*EventV2) ProtoReflect ¶
func (x *EventV2) ProtoReflect() protoreflect.Message
type EventV2_AlertType ¶
type EventV2_AlertType int32
const ( EventV2_Info EventV2_AlertType = 0 EventV2_Warning EventV2_AlertType = 1 EventV2_Error EventV2_AlertType = 2 EventV2_Success EventV2_AlertType = 3 )
func (EventV2_AlertType) Descriptor ¶
func (EventV2_AlertType) Descriptor() protoreflect.EnumDescriptor
func (EventV2_AlertType) Enum ¶
func (x EventV2_AlertType) Enum() *EventV2_AlertType
func (EventV2_AlertType) EnumDescriptor
deprecated
func (EventV2_AlertType) EnumDescriptor() ([]byte, []int)
Deprecated: Use EventV2_AlertType.Descriptor instead.
func (EventV2_AlertType) Number ¶
func (x EventV2_AlertType) Number() protoreflect.EnumNumber
func (EventV2_AlertType) String ¶
func (x EventV2_AlertType) String() string
func (EventV2_AlertType) Type ¶
func (EventV2_AlertType) Type() protoreflect.EnumType
type EventV2_EventPriority ¶
type EventV2_EventPriority int32
const ( EventV2_Normal EventV2_EventPriority = 0 EventV2_Low EventV2_EventPriority = 1 )
func (EventV2_EventPriority) Descriptor ¶
func (EventV2_EventPriority) Descriptor() protoreflect.EnumDescriptor
func (EventV2_EventPriority) Enum ¶
func (x EventV2_EventPriority) Enum() *EventV2_EventPriority
func (EventV2_EventPriority) EnumDescriptor
deprecated
func (EventV2_EventPriority) EnumDescriptor() ([]byte, []int)
Deprecated: Use EventV2_EventPriority.Descriptor instead.
func (EventV2_EventPriority) Number ¶
func (x EventV2_EventPriority) Number() protoreflect.EnumNumber
func (EventV2_EventPriority) String ¶
func (x EventV2_EventPriority) String() string
func (EventV2_EventPriority) Type ¶
func (EventV2_EventPriority) Type() protoreflect.EnumType
type GaugeTagV2 ¶
type GaugeTagV2 struct { TagMap map[string]*RawGaugeV2 `` /* 153-byte string literal not displayed */ // contains filtered or unexported fields }
func (*GaugeTagV2) Descriptor
deprecated
func (*GaugeTagV2) Descriptor() ([]byte, []int)
Deprecated: Use GaugeTagV2.ProtoReflect.Descriptor instead.
func (*GaugeTagV2) GetTagMap ¶
func (x *GaugeTagV2) GetTagMap() map[string]*RawGaugeV2
func (*GaugeTagV2) ProtoMessage ¶
func (*GaugeTagV2) ProtoMessage()
func (*GaugeTagV2) ProtoReflect ¶
func (x *GaugeTagV2) ProtoReflect() protoreflect.Message
func (*GaugeTagV2) Reset ¶
func (x *GaugeTagV2) Reset()
func (*GaugeTagV2) String ¶
func (x *GaugeTagV2) String() string
type RawCounterV2 ¶
type RawCounterV2 struct { Tags []string `protobuf:"bytes,1,rep,name=Tags,proto3" json:"Tags,omitempty"` Hostname string `protobuf:"bytes,2,opt,name=Hostname,proto3" json:"Hostname,omitempty"` Value int64 `protobuf:"varint,3,opt,name=Value,proto3" json:"Value,omitempty"` // the count of counters is multiplied out before forwarding, rate is not required // contains filtered or unexported fields }
func (*RawCounterV2) Descriptor
deprecated
func (*RawCounterV2) Descriptor() ([]byte, []int)
Deprecated: Use RawCounterV2.ProtoReflect.Descriptor instead.
func (*RawCounterV2) GetHostname ¶
func (x *RawCounterV2) GetHostname() string
func (*RawCounterV2) GetTags ¶
func (x *RawCounterV2) GetTags() []string
func (*RawCounterV2) GetValue ¶
func (x *RawCounterV2) GetValue() int64
func (*RawCounterV2) ProtoMessage ¶
func (*RawCounterV2) ProtoMessage()
func (*RawCounterV2) ProtoReflect ¶
func (x *RawCounterV2) ProtoReflect() protoreflect.Message
func (*RawCounterV2) Reset ¶
func (x *RawCounterV2) Reset()
func (*RawCounterV2) String ¶
func (x *RawCounterV2) String() string
type RawGaugeV2 ¶
type RawGaugeV2 struct { Tags []string `protobuf:"bytes,1,rep,name=Tags,proto3" json:"Tags,omitempty"` Hostname string `protobuf:"bytes,2,opt,name=Hostname,proto3" json:"Hostname,omitempty"` Value float64 `protobuf:"fixed64,3,opt,name=Value,proto3" json:"Value,omitempty"` // contains filtered or unexported fields }
func (*RawGaugeV2) Descriptor
deprecated
func (*RawGaugeV2) Descriptor() ([]byte, []int)
Deprecated: Use RawGaugeV2.ProtoReflect.Descriptor instead.
func (*RawGaugeV2) GetHostname ¶
func (x *RawGaugeV2) GetHostname() string
func (*RawGaugeV2) GetTags ¶
func (x *RawGaugeV2) GetTags() []string
func (*RawGaugeV2) GetValue ¶
func (x *RawGaugeV2) GetValue() float64
func (*RawGaugeV2) ProtoMessage ¶
func (*RawGaugeV2) ProtoMessage()
func (*RawGaugeV2) ProtoReflect ¶
func (x *RawGaugeV2) ProtoReflect() protoreflect.Message
func (*RawGaugeV2) Reset ¶
func (x *RawGaugeV2) Reset()
func (*RawGaugeV2) String ¶
func (x *RawGaugeV2) String() string
type RawMessageV2 ¶
type RawMessageV2 struct { Counters map[string]*CounterTagV2 `` /* 157-byte string literal not displayed */ Gauges map[string]*GaugeTagV2 `` /* 153-byte string literal not displayed */ Sets map[string]*SetTagV2 `` /* 149-byte string literal not displayed */ Timers map[string]*TimerTagV2 `` /* 153-byte string literal not displayed */ // contains filtered or unexported fields }
func (*RawMessageV2) Descriptor
deprecated
func (*RawMessageV2) Descriptor() ([]byte, []int)
Deprecated: Use RawMessageV2.ProtoReflect.Descriptor instead.
func (*RawMessageV2) GetCounters ¶
func (x *RawMessageV2) GetCounters() map[string]*CounterTagV2
func (*RawMessageV2) GetGauges ¶
func (x *RawMessageV2) GetGauges() map[string]*GaugeTagV2
func (*RawMessageV2) GetSets ¶
func (x *RawMessageV2) GetSets() map[string]*SetTagV2
func (*RawMessageV2) GetTimers ¶
func (x *RawMessageV2) GetTimers() map[string]*TimerTagV2
func (*RawMessageV2) ProtoMessage ¶
func (*RawMessageV2) ProtoMessage()
func (*RawMessageV2) ProtoReflect ¶
func (x *RawMessageV2) ProtoReflect() protoreflect.Message
func (*RawMessageV2) Reset ¶
func (x *RawMessageV2) Reset()
func (*RawMessageV2) String ¶
func (x *RawMessageV2) String() string
type RawSetV2 ¶
type RawSetV2 struct { Tags []string `protobuf:"bytes,1,rep,name=Tags,proto3" json:"Tags,omitempty"` Hostname string `protobuf:"bytes,2,opt,name=Hostname,proto3" json:"Hostname,omitempty"` Values []string `protobuf:"bytes,3,rep,name=Values,proto3" json:"Values,omitempty"` // contains filtered or unexported fields }
func (*RawSetV2) Descriptor
deprecated
func (*RawSetV2) GetHostname ¶
func (*RawSetV2) ProtoMessage ¶
func (*RawSetV2) ProtoMessage()
func (*RawSetV2) ProtoReflect ¶
func (x *RawSetV2) ProtoReflect() protoreflect.Message
type RawTimerV2 ¶
type RawTimerV2 struct { Tags []string `protobuf:"bytes,1,rep,name=Tags,proto3" json:"Tags,omitempty"` Hostname string `protobuf:"bytes,2,opt,name=Hostname,proto3" json:"Hostname,omitempty"` SampleCount float64 `protobuf:"fixed64,3,opt,name=SampleCount,proto3" json:"SampleCount,omitempty"` Values []float64 `protobuf:"fixed64,4,rep,packed,name=Values,proto3" json:"Values,omitempty"` // contains filtered or unexported fields }
func (*RawTimerV2) Descriptor
deprecated
func (*RawTimerV2) Descriptor() ([]byte, []int)
Deprecated: Use RawTimerV2.ProtoReflect.Descriptor instead.
func (*RawTimerV2) GetHostname ¶
func (x *RawTimerV2) GetHostname() string
func (*RawTimerV2) GetSampleCount ¶
func (x *RawTimerV2) GetSampleCount() float64
func (*RawTimerV2) GetTags ¶
func (x *RawTimerV2) GetTags() []string
func (*RawTimerV2) GetValues ¶
func (x *RawTimerV2) GetValues() []float64
func (*RawTimerV2) ProtoMessage ¶
func (*RawTimerV2) ProtoMessage()
func (*RawTimerV2) ProtoReflect ¶
func (x *RawTimerV2) ProtoReflect() protoreflect.Message
func (*RawTimerV2) Reset ¶
func (x *RawTimerV2) Reset()
func (*RawTimerV2) String ¶
func (x *RawTimerV2) String() string
type SetTagV2 ¶
type SetTagV2 struct { TagMap map[string]*RawSetV2 `` /* 153-byte string literal not displayed */ // contains filtered or unexported fields }
func (*SetTagV2) Descriptor
deprecated
func (*SetTagV2) ProtoMessage ¶
func (*SetTagV2) ProtoMessage()
func (*SetTagV2) ProtoReflect ¶
func (x *SetTagV2) ProtoReflect() protoreflect.Message
type TimerTagV2 ¶
type TimerTagV2 struct { TagMap map[string]*RawTimerV2 `` /* 153-byte string literal not displayed */ // contains filtered or unexported fields }
func (*TimerTagV2) Descriptor
deprecated
func (*TimerTagV2) Descriptor() ([]byte, []int)
Deprecated: Use TimerTagV2.ProtoReflect.Descriptor instead.
func (*TimerTagV2) GetTagMap ¶
func (x *TimerTagV2) GetTagMap() map[string]*RawTimerV2
func (*TimerTagV2) ProtoMessage ¶
func (*TimerTagV2) ProtoMessage()
func (*TimerTagV2) ProtoReflect ¶
func (x *TimerTagV2) ProtoReflect() protoreflect.Message
func (*TimerTagV2) Reset ¶
func (x *TimerTagV2) Reset()
func (*TimerTagV2) String ¶
func (x *TimerTagV2) String() string
Click to show internal directories.
Click to hide internal directories.