Documentation ¶
Overview ¶
Package gogen is a generated protocol buffer package.
It is generated from these files:
proto/metrics/agent_payload.proto
It has these top-level messages:
CommonMetadata MetricPayload EventsPayload SketchPayload
Index ¶
- Variables
- type CommonMetadata
- func (*CommonMetadata) Descriptor() ([]byte, []int)
- func (m *CommonMetadata) GetAgentVersion() string
- func (m *CommonMetadata) GetApiKey() string
- func (m *CommonMetadata) GetCurrentEpoch() float64
- func (m *CommonMetadata) GetInternalIp() string
- func (m *CommonMetadata) GetPublicIp() string
- func (m *CommonMetadata) GetTimezone() string
- func (m *CommonMetadata) Marshal() (dAtA []byte, err error)
- func (m *CommonMetadata) MarshalTo(dAtA []byte) (int, error)
- func (*CommonMetadata) ProtoMessage()
- func (m *CommonMetadata) Reset()
- func (m *CommonMetadata) Size() (n int)
- func (m *CommonMetadata) String() string
- func (m *CommonMetadata) Unmarshal(dAtA []byte) error
- type EventsPayload
- func (*EventsPayload) Descriptor() ([]byte, []int)
- func (m *EventsPayload) GetEvents() []*EventsPayload_Event
- func (m *EventsPayload) GetMetadata() *CommonMetadata
- func (m *EventsPayload) Marshal() (dAtA []byte, err error)
- func (m *EventsPayload) MarshalTo(dAtA []byte) (int, error)
- func (*EventsPayload) ProtoMessage()
- func (m *EventsPayload) Reset()
- func (m *EventsPayload) Size() (n int)
- func (m *EventsPayload) String() string
- func (m *EventsPayload) Unmarshal(dAtA []byte) error
- type EventsPayload_Event
- func (*EventsPayload_Event) Descriptor() ([]byte, []int)
- func (m *EventsPayload_Event) GetAggregationKey() string
- func (m *EventsPayload_Event) GetAlertType() string
- func (m *EventsPayload_Event) GetHost() string
- func (m *EventsPayload_Event) GetPriority() string
- func (m *EventsPayload_Event) GetSourceTypeName() string
- func (m *EventsPayload_Event) GetTags() []string
- func (m *EventsPayload_Event) GetText() string
- func (m *EventsPayload_Event) GetTitle() string
- func (m *EventsPayload_Event) GetTs() int64
- func (m *EventsPayload_Event) Marshal() (dAtA []byte, err error)
- func (m *EventsPayload_Event) MarshalTo(dAtA []byte) (int, error)
- func (*EventsPayload_Event) ProtoMessage()
- func (m *EventsPayload_Event) Reset()
- func (m *EventsPayload_Event) Size() (n int)
- func (m *EventsPayload_Event) String() string
- func (m *EventsPayload_Event) Unmarshal(dAtA []byte) error
- type MetricPayload
- func (*MetricPayload) Descriptor() ([]byte, []int)
- func (m *MetricPayload) GetSeries() []*MetricPayload_MetricSeries
- func (m *MetricPayload) Marshal() (dAtA []byte, err error)
- func (m *MetricPayload) MarshalTo(dAtA []byte) (int, error)
- func (*MetricPayload) ProtoMessage()
- func (m *MetricPayload) Reset()
- func (m *MetricPayload) Size() (n int)
- func (m *MetricPayload) String() string
- func (m *MetricPayload) Unmarshal(dAtA []byte) error
- type MetricPayload_MetricPoint
- func (*MetricPayload_MetricPoint) Descriptor() ([]byte, []int)
- func (m *MetricPayload_MetricPoint) GetTimestamp() int64
- func (m *MetricPayload_MetricPoint) GetValue() float64
- func (m *MetricPayload_MetricPoint) Marshal() (dAtA []byte, err error)
- func (m *MetricPayload_MetricPoint) MarshalTo(dAtA []byte) (int, error)
- func (*MetricPayload_MetricPoint) ProtoMessage()
- func (m *MetricPayload_MetricPoint) Reset()
- func (m *MetricPayload_MetricPoint) Size() (n int)
- func (m *MetricPayload_MetricPoint) String() string
- func (m *MetricPayload_MetricPoint) Unmarshal(dAtA []byte) error
- type MetricPayload_MetricSeries
- func (*MetricPayload_MetricSeries) Descriptor() ([]byte, []int)
- func (m *MetricPayload_MetricSeries) GetInterval() int64
- func (m *MetricPayload_MetricSeries) GetMetric() string
- func (m *MetricPayload_MetricSeries) GetPoints() []*MetricPayload_MetricPoint
- func (m *MetricPayload_MetricSeries) GetResources() []*MetricPayload_Resource
- func (m *MetricPayload_MetricSeries) GetSourceTypeName() string
- func (m *MetricPayload_MetricSeries) GetTags() []string
- func (m *MetricPayload_MetricSeries) GetType() MetricPayload_MetricType
- func (m *MetricPayload_MetricSeries) GetUnit() string
- func (m *MetricPayload_MetricSeries) Marshal() (dAtA []byte, err error)
- func (m *MetricPayload_MetricSeries) MarshalTo(dAtA []byte) (int, error)
- func (*MetricPayload_MetricSeries) ProtoMessage()
- func (m *MetricPayload_MetricSeries) Reset()
- func (m *MetricPayload_MetricSeries) Size() (n int)
- func (m *MetricPayload_MetricSeries) String() string
- func (m *MetricPayload_MetricSeries) Unmarshal(dAtA []byte) error
- type MetricPayload_MetricType
- type MetricPayload_Resource
- func (*MetricPayload_Resource) Descriptor() ([]byte, []int)
- func (m *MetricPayload_Resource) GetName() string
- func (m *MetricPayload_Resource) GetType() string
- func (m *MetricPayload_Resource) Marshal() (dAtA []byte, err error)
- func (m *MetricPayload_Resource) MarshalTo(dAtA []byte) (int, error)
- func (*MetricPayload_Resource) ProtoMessage()
- func (m *MetricPayload_Resource) Reset()
- func (m *MetricPayload_Resource) Size() (n int)
- func (m *MetricPayload_Resource) String() string
- func (m *MetricPayload_Resource) Unmarshal(dAtA []byte) error
- type SketchPayload
- func (*SketchPayload) Descriptor() ([]byte, []int)
- func (m *SketchPayload) GetMetadata() CommonMetadata
- func (m *SketchPayload) GetSketches() []SketchPayload_Sketch
- func (m *SketchPayload) Marshal() (dAtA []byte, err error)
- func (m *SketchPayload) MarshalTo(dAtA []byte) (int, error)
- func (*SketchPayload) ProtoMessage()
- func (m *SketchPayload) Reset()
- func (m *SketchPayload) Size() (n int)
- func (m *SketchPayload) String() string
- func (m *SketchPayload) Unmarshal(dAtA []byte) error
- type SketchPayload_Sketch
- func (*SketchPayload_Sketch) Descriptor() ([]byte, []int)
- func (m *SketchPayload_Sketch) GetDistributions() []SketchPayload_Sketch_Distribution
- func (m *SketchPayload_Sketch) GetDogsketches() []SketchPayload_Sketch_Dogsketch
- func (m *SketchPayload_Sketch) GetHost() string
- func (m *SketchPayload_Sketch) GetMetric() string
- func (m *SketchPayload_Sketch) GetTags() []string
- func (m *SketchPayload_Sketch) Marshal() (dAtA []byte, err error)
- func (m *SketchPayload_Sketch) MarshalTo(dAtA []byte) (int, error)
- func (*SketchPayload_Sketch) ProtoMessage()
- func (m *SketchPayload_Sketch) Reset()
- func (m *SketchPayload_Sketch) Size() (n int)
- func (m *SketchPayload_Sketch) String() string
- func (m *SketchPayload_Sketch) Unmarshal(dAtA []byte) error
- type SketchPayload_Sketch_Distribution
- func (*SketchPayload_Sketch_Distribution) Descriptor() ([]byte, []int)
- func (m *SketchPayload_Sketch_Distribution) GetAvg() float64
- func (m *SketchPayload_Sketch_Distribution) GetBuf() []float64
- func (m *SketchPayload_Sketch_Distribution) GetCnt() int64
- func (m *SketchPayload_Sketch_Distribution) GetDelta() []uint32
- func (m *SketchPayload_Sketch_Distribution) GetG() []uint32
- func (m *SketchPayload_Sketch_Distribution) GetMax() float64
- func (m *SketchPayload_Sketch_Distribution) GetMin() float64
- func (m *SketchPayload_Sketch_Distribution) GetSum() float64
- func (m *SketchPayload_Sketch_Distribution) GetTs() int64
- func (m *SketchPayload_Sketch_Distribution) GetV() []float64
- func (m *SketchPayload_Sketch_Distribution) Marshal() (dAtA []byte, err error)
- func (m *SketchPayload_Sketch_Distribution) MarshalTo(dAtA []byte) (int, error)
- func (*SketchPayload_Sketch_Distribution) ProtoMessage()
- func (m *SketchPayload_Sketch_Distribution) Reset()
- func (m *SketchPayload_Sketch_Distribution) Size() (n int)
- func (m *SketchPayload_Sketch_Distribution) String() string
- func (m *SketchPayload_Sketch_Distribution) Unmarshal(dAtA []byte) error
- type SketchPayload_Sketch_Dogsketch
- func (*SketchPayload_Sketch_Dogsketch) Descriptor() ([]byte, []int)
- func (m *SketchPayload_Sketch_Dogsketch) GetAvg() float64
- func (m *SketchPayload_Sketch_Dogsketch) GetCnt() int64
- func (m *SketchPayload_Sketch_Dogsketch) GetK() []int32
- func (m *SketchPayload_Sketch_Dogsketch) GetMax() float64
- func (m *SketchPayload_Sketch_Dogsketch) GetMin() float64
- func (m *SketchPayload_Sketch_Dogsketch) GetN() []uint32
- func (m *SketchPayload_Sketch_Dogsketch) GetSum() float64
- func (m *SketchPayload_Sketch_Dogsketch) GetTs() int64
- func (m *SketchPayload_Sketch_Dogsketch) Marshal() (dAtA []byte, err error)
- func (m *SketchPayload_Sketch_Dogsketch) MarshalTo(dAtA []byte) (int, error)
- func (*SketchPayload_Sketch_Dogsketch) ProtoMessage()
- func (m *SketchPayload_Sketch_Dogsketch) Reset()
- func (m *SketchPayload_Sketch_Dogsketch) Size() (n int)
- func (m *SketchPayload_Sketch_Dogsketch) String() string
- func (m *SketchPayload_Sketch_Dogsketch) Unmarshal(dAtA []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidLengthAgentPayload = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowAgentPayload = fmt.Errorf("proto: integer overflow") )
View Source
var MetricPayload_MetricType_name = map[int32]string{
0: "UNSPECIFIED",
1: "COUNT",
2: "RATE",
3: "GAUGE",
}
View Source
var MetricPayload_MetricType_value = map[string]int32{
"UNSPECIFIED": 0,
"COUNT": 1,
"RATE": 2,
"GAUGE": 3,
}
Functions ¶
This section is empty.
Types ¶
type CommonMetadata ¶
type CommonMetadata struct { AgentVersion string `protobuf:"bytes,1,opt,name=agent_version,json=agentVersion,proto3" json:"agent_version,omitempty"` Timezone string `protobuf:"bytes,2,opt,name=timezone,proto3" json:"timezone,omitempty"` CurrentEpoch float64 `protobuf:"fixed64,3,opt,name=current_epoch,json=currentEpoch,proto3" json:"current_epoch,omitempty"` InternalIp string `protobuf:"bytes,4,opt,name=internal_ip,json=internalIp,proto3" json:"internal_ip,omitempty"` PublicIp string `protobuf:"bytes,5,opt,name=public_ip,json=publicIp,proto3" json:"public_ip,omitempty"` ApiKey string `protobuf:"bytes,6,opt,name=api_key,json=apiKey,proto3" json:"api_key,omitempty"` }
func (*CommonMetadata) Descriptor ¶
func (*CommonMetadata) Descriptor() ([]byte, []int)
func (*CommonMetadata) GetAgentVersion ¶
func (m *CommonMetadata) GetAgentVersion() string
func (*CommonMetadata) GetApiKey ¶
func (m *CommonMetadata) GetApiKey() string
func (*CommonMetadata) GetCurrentEpoch ¶
func (m *CommonMetadata) GetCurrentEpoch() float64
func (*CommonMetadata) GetInternalIp ¶
func (m *CommonMetadata) GetInternalIp() string
func (*CommonMetadata) GetPublicIp ¶
func (m *CommonMetadata) GetPublicIp() string
func (*CommonMetadata) GetTimezone ¶
func (m *CommonMetadata) GetTimezone() string
func (*CommonMetadata) Marshal ¶
func (m *CommonMetadata) Marshal() (dAtA []byte, err error)
func (*CommonMetadata) ProtoMessage ¶
func (*CommonMetadata) ProtoMessage()
func (*CommonMetadata) Reset ¶
func (m *CommonMetadata) Reset()
func (*CommonMetadata) Size ¶
func (m *CommonMetadata) Size() (n int)
func (*CommonMetadata) String ¶
func (m *CommonMetadata) String() string
func (*CommonMetadata) Unmarshal ¶
func (m *CommonMetadata) Unmarshal(dAtA []byte) error
type EventsPayload ¶
type EventsPayload struct { Events []*EventsPayload_Event `protobuf:"bytes,1,rep,name=events" json:"events,omitempty"` Metadata *CommonMetadata `protobuf:"bytes,2,opt,name=metadata" json:"metadata,omitempty"` }
func (*EventsPayload) Descriptor ¶
func (*EventsPayload) Descriptor() ([]byte, []int)
func (*EventsPayload) GetEvents ¶
func (m *EventsPayload) GetEvents() []*EventsPayload_Event
func (*EventsPayload) GetMetadata ¶
func (m *EventsPayload) GetMetadata() *CommonMetadata
func (*EventsPayload) Marshal ¶
func (m *EventsPayload) Marshal() (dAtA []byte, err error)
func (*EventsPayload) ProtoMessage ¶
func (*EventsPayload) ProtoMessage()
func (*EventsPayload) Reset ¶
func (m *EventsPayload) Reset()
func (*EventsPayload) Size ¶
func (m *EventsPayload) Size() (n int)
func (*EventsPayload) String ¶
func (m *EventsPayload) String() string
func (*EventsPayload) Unmarshal ¶
func (m *EventsPayload) Unmarshal(dAtA []byte) error
type EventsPayload_Event ¶
type EventsPayload_Event 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"` Ts int64 `protobuf:"varint,3,opt,name=ts,proto3" json:"ts,omitempty"` Priority string `protobuf:"bytes,4,opt,name=priority,proto3" json:"priority,omitempty"` Host string `protobuf:"bytes,5,opt,name=host,proto3" json:"host,omitempty"` Tags []string `protobuf:"bytes,6,rep,name=tags" json:"tags,omitempty"` AlertType string `protobuf:"bytes,7,opt,name=alert_type,json=alertType,proto3" json:"alert_type,omitempty"` AggregationKey string `protobuf:"bytes,8,opt,name=aggregation_key,json=aggregationKey,proto3" json:"aggregation_key,omitempty"` SourceTypeName string `protobuf:"bytes,9,opt,name=source_type_name,json=sourceTypeName,proto3" json:"source_type_name,omitempty"` }
func (*EventsPayload_Event) Descriptor ¶
func (*EventsPayload_Event) Descriptor() ([]byte, []int)
func (*EventsPayload_Event) GetAggregationKey ¶
func (m *EventsPayload_Event) GetAggregationKey() string
func (*EventsPayload_Event) GetAlertType ¶
func (m *EventsPayload_Event) GetAlertType() string
func (*EventsPayload_Event) GetHost ¶
func (m *EventsPayload_Event) GetHost() string
func (*EventsPayload_Event) GetPriority ¶
func (m *EventsPayload_Event) GetPriority() string
func (*EventsPayload_Event) GetSourceTypeName ¶
func (m *EventsPayload_Event) GetSourceTypeName() string
func (*EventsPayload_Event) GetTags ¶
func (m *EventsPayload_Event) GetTags() []string
func (*EventsPayload_Event) GetText ¶
func (m *EventsPayload_Event) GetText() string
func (*EventsPayload_Event) GetTitle ¶
func (m *EventsPayload_Event) GetTitle() string
func (*EventsPayload_Event) GetTs ¶
func (m *EventsPayload_Event) GetTs() int64
func (*EventsPayload_Event) Marshal ¶
func (m *EventsPayload_Event) Marshal() (dAtA []byte, err error)
func (*EventsPayload_Event) MarshalTo ¶
func (m *EventsPayload_Event) MarshalTo(dAtA []byte) (int, error)
func (*EventsPayload_Event) ProtoMessage ¶
func (*EventsPayload_Event) ProtoMessage()
func (*EventsPayload_Event) Reset ¶
func (m *EventsPayload_Event) Reset()
func (*EventsPayload_Event) Size ¶
func (m *EventsPayload_Event) Size() (n int)
func (*EventsPayload_Event) String ¶
func (m *EventsPayload_Event) String() string
func (*EventsPayload_Event) Unmarshal ¶
func (m *EventsPayload_Event) Unmarshal(dAtA []byte) error
type MetricPayload ¶
type MetricPayload struct {
Series []*MetricPayload_MetricSeries `protobuf:"bytes,1,rep,name=series" json:"series,omitempty"`
}
func (*MetricPayload) Descriptor ¶
func (*MetricPayload) Descriptor() ([]byte, []int)
func (*MetricPayload) GetSeries ¶
func (m *MetricPayload) GetSeries() []*MetricPayload_MetricSeries
func (*MetricPayload) Marshal ¶
func (m *MetricPayload) Marshal() (dAtA []byte, err error)
func (*MetricPayload) ProtoMessage ¶
func (*MetricPayload) ProtoMessage()
func (*MetricPayload) Reset ¶
func (m *MetricPayload) Reset()
func (*MetricPayload) Size ¶
func (m *MetricPayload) Size() (n int)
func (*MetricPayload) String ¶
func (m *MetricPayload) String() string
func (*MetricPayload) Unmarshal ¶
func (m *MetricPayload) Unmarshal(dAtA []byte) error
type MetricPayload_MetricPoint ¶
type MetricPayload_MetricPoint struct { // metric value Value float64 `protobuf:"fixed64,1,opt,name=value,proto3" json:"value,omitempty"` // timestamp for this value in seconds since the UNIX epoch Timestamp int64 `protobuf:"varint,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"` }
func (*MetricPayload_MetricPoint) Descriptor ¶
func (*MetricPayload_MetricPoint) Descriptor() ([]byte, []int)
func (*MetricPayload_MetricPoint) GetTimestamp ¶
func (m *MetricPayload_MetricPoint) GetTimestamp() int64
func (*MetricPayload_MetricPoint) GetValue ¶
func (m *MetricPayload_MetricPoint) GetValue() float64
func (*MetricPayload_MetricPoint) Marshal ¶
func (m *MetricPayload_MetricPoint) Marshal() (dAtA []byte, err error)
func (*MetricPayload_MetricPoint) MarshalTo ¶
func (m *MetricPayload_MetricPoint) MarshalTo(dAtA []byte) (int, error)
func (*MetricPayload_MetricPoint) ProtoMessage ¶
func (*MetricPayload_MetricPoint) ProtoMessage()
func (*MetricPayload_MetricPoint) Reset ¶
func (m *MetricPayload_MetricPoint) Reset()
func (*MetricPayload_MetricPoint) Size ¶
func (m *MetricPayload_MetricPoint) Size() (n int)
func (*MetricPayload_MetricPoint) String ¶
func (m *MetricPayload_MetricPoint) String() string
func (*MetricPayload_MetricPoint) Unmarshal ¶
func (m *MetricPayload_MetricPoint) Unmarshal(dAtA []byte) error
type MetricPayload_MetricSeries ¶
type MetricPayload_MetricSeries struct { // Resources this series applies to; include at least // { type="host", name=<hostname> } Resources []*MetricPayload_Resource `protobuf:"bytes,1,rep,name=resources" json:"resources,omitempty"` // metric name Metric string `protobuf:"bytes,2,opt,name=metric,proto3" json:"metric,omitempty"` // tags for this metric Tags []string `protobuf:"bytes,3,rep,name=tags" json:"tags,omitempty"` // data points for this metric Points []*MetricPayload_MetricPoint `protobuf:"bytes,4,rep,name=points" json:"points,omitempty"` // type of metric Type MetricPayload_MetricType `protobuf:"varint,5,opt,name=type,proto3,enum=datadog.agentpayload.MetricPayload_MetricType" json:"type,omitempty"` // metric unit name Unit string `protobuf:"bytes,6,opt,name=unit,proto3" json:"unit,omitempty"` // source of this metric (check name, etc.) SourceTypeName string `protobuf:"bytes,7,opt,name=source_type_name,json=sourceTypeName,proto3" json:"source_type_name,omitempty"` // interval, in seconds, between samples of this metric Interval int64 `protobuf:"varint,8,opt,name=interval,proto3" json:"interval,omitempty"` }
func (*MetricPayload_MetricSeries) Descriptor ¶
func (*MetricPayload_MetricSeries) Descriptor() ([]byte, []int)
func (*MetricPayload_MetricSeries) GetInterval ¶
func (m *MetricPayload_MetricSeries) GetInterval() int64
func (*MetricPayload_MetricSeries) GetMetric ¶
func (m *MetricPayload_MetricSeries) GetMetric() string
func (*MetricPayload_MetricSeries) GetPoints ¶
func (m *MetricPayload_MetricSeries) GetPoints() []*MetricPayload_MetricPoint
func (*MetricPayload_MetricSeries) GetResources ¶
func (m *MetricPayload_MetricSeries) GetResources() []*MetricPayload_Resource
func (*MetricPayload_MetricSeries) GetSourceTypeName ¶
func (m *MetricPayload_MetricSeries) GetSourceTypeName() string
func (*MetricPayload_MetricSeries) GetTags ¶
func (m *MetricPayload_MetricSeries) GetTags() []string
func (*MetricPayload_MetricSeries) GetType ¶
func (m *MetricPayload_MetricSeries) GetType() MetricPayload_MetricType
func (*MetricPayload_MetricSeries) GetUnit ¶
func (m *MetricPayload_MetricSeries) GetUnit() string
func (*MetricPayload_MetricSeries) Marshal ¶
func (m *MetricPayload_MetricSeries) Marshal() (dAtA []byte, err error)
func (*MetricPayload_MetricSeries) MarshalTo ¶
func (m *MetricPayload_MetricSeries) MarshalTo(dAtA []byte) (int, error)
func (*MetricPayload_MetricSeries) ProtoMessage ¶
func (*MetricPayload_MetricSeries) ProtoMessage()
func (*MetricPayload_MetricSeries) Reset ¶
func (m *MetricPayload_MetricSeries) Reset()
func (*MetricPayload_MetricSeries) Size ¶
func (m *MetricPayload_MetricSeries) Size() (n int)
func (*MetricPayload_MetricSeries) String ¶
func (m *MetricPayload_MetricSeries) String() string
func (*MetricPayload_MetricSeries) Unmarshal ¶
func (m *MetricPayload_MetricSeries) Unmarshal(dAtA []byte) error
type MetricPayload_MetricType ¶
type MetricPayload_MetricType int32
const ( MetricPayload_UNSPECIFIED MetricPayload_MetricType = 0 MetricPayload_COUNT MetricPayload_MetricType = 1 MetricPayload_RATE MetricPayload_MetricType = 2 MetricPayload_GAUGE MetricPayload_MetricType = 3 )
func (MetricPayload_MetricType) EnumDescriptor ¶
func (MetricPayload_MetricType) EnumDescriptor() ([]byte, []int)
func (MetricPayload_MetricType) String ¶
func (x MetricPayload_MetricType) String() string
type MetricPayload_Resource ¶
type MetricPayload_Resource struct { Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` }
func (*MetricPayload_Resource) Descriptor ¶
func (*MetricPayload_Resource) Descriptor() ([]byte, []int)
func (*MetricPayload_Resource) GetName ¶
func (m *MetricPayload_Resource) GetName() string
func (*MetricPayload_Resource) GetType ¶
func (m *MetricPayload_Resource) GetType() string
func (*MetricPayload_Resource) Marshal ¶
func (m *MetricPayload_Resource) Marshal() (dAtA []byte, err error)
func (*MetricPayload_Resource) MarshalTo ¶
func (m *MetricPayload_Resource) MarshalTo(dAtA []byte) (int, error)
func (*MetricPayload_Resource) ProtoMessage ¶
func (*MetricPayload_Resource) ProtoMessage()
func (*MetricPayload_Resource) Reset ¶
func (m *MetricPayload_Resource) Reset()
func (*MetricPayload_Resource) Size ¶
func (m *MetricPayload_Resource) Size() (n int)
func (*MetricPayload_Resource) String ¶
func (m *MetricPayload_Resource) String() string
func (*MetricPayload_Resource) Unmarshal ¶
func (m *MetricPayload_Resource) Unmarshal(dAtA []byte) error
type SketchPayload ¶
type SketchPayload struct { Sketches []SketchPayload_Sketch `protobuf:"bytes,1,rep,name=sketches" json:"sketches"` Metadata CommonMetadata `protobuf:"bytes,2,opt,name=metadata" json:"metadata"` }
func (*SketchPayload) Descriptor ¶
func (*SketchPayload) Descriptor() ([]byte, []int)
func (*SketchPayload) GetMetadata ¶
func (m *SketchPayload) GetMetadata() CommonMetadata
func (*SketchPayload) GetSketches ¶
func (m *SketchPayload) GetSketches() []SketchPayload_Sketch
func (*SketchPayload) Marshal ¶
func (m *SketchPayload) Marshal() (dAtA []byte, err error)
func (*SketchPayload) ProtoMessage ¶
func (*SketchPayload) ProtoMessage()
func (*SketchPayload) Reset ¶
func (m *SketchPayload) Reset()
func (*SketchPayload) Size ¶
func (m *SketchPayload) Size() (n int)
func (*SketchPayload) String ¶
func (m *SketchPayload) String() string
func (*SketchPayload) Unmarshal ¶
func (m *SketchPayload) Unmarshal(dAtA []byte) error
type SketchPayload_Sketch ¶
type SketchPayload_Sketch struct { Metric string `protobuf:"bytes,1,opt,name=metric,proto3" json:"metric,omitempty"` Host string `protobuf:"bytes,2,opt,name=host,proto3" json:"host,omitempty"` Distributions []SketchPayload_Sketch_Distribution `protobuf:"bytes,3,rep,name=distributions" json:"distributions"` Tags []string `protobuf:"bytes,4,rep,name=tags" json:"tags,omitempty"` Dogsketches []SketchPayload_Sketch_Dogsketch `protobuf:"bytes,7,rep,name=dogsketches" json:"dogsketches"` }
func (*SketchPayload_Sketch) Descriptor ¶
func (*SketchPayload_Sketch) Descriptor() ([]byte, []int)
func (*SketchPayload_Sketch) GetDistributions ¶
func (m *SketchPayload_Sketch) GetDistributions() []SketchPayload_Sketch_Distribution
func (*SketchPayload_Sketch) GetDogsketches ¶
func (m *SketchPayload_Sketch) GetDogsketches() []SketchPayload_Sketch_Dogsketch
func (*SketchPayload_Sketch) GetHost ¶
func (m *SketchPayload_Sketch) GetHost() string
func (*SketchPayload_Sketch) GetMetric ¶
func (m *SketchPayload_Sketch) GetMetric() string
func (*SketchPayload_Sketch) GetTags ¶
func (m *SketchPayload_Sketch) GetTags() []string
func (*SketchPayload_Sketch) Marshal ¶
func (m *SketchPayload_Sketch) Marshal() (dAtA []byte, err error)
func (*SketchPayload_Sketch) MarshalTo ¶
func (m *SketchPayload_Sketch) MarshalTo(dAtA []byte) (int, error)
func (*SketchPayload_Sketch) ProtoMessage ¶
func (*SketchPayload_Sketch) ProtoMessage()
func (*SketchPayload_Sketch) Reset ¶
func (m *SketchPayload_Sketch) Reset()
func (*SketchPayload_Sketch) Size ¶
func (m *SketchPayload_Sketch) Size() (n int)
func (*SketchPayload_Sketch) String ¶
func (m *SketchPayload_Sketch) String() string
func (*SketchPayload_Sketch) Unmarshal ¶
func (m *SketchPayload_Sketch) Unmarshal(dAtA []byte) error
type SketchPayload_Sketch_Distribution ¶
type SketchPayload_Sketch_Distribution struct { Ts int64 `protobuf:"varint,1,opt,name=ts,proto3" json:"ts,omitempty"` Cnt int64 `protobuf:"varint,2,opt,name=cnt,proto3" json:"cnt,omitempty"` Min float64 `protobuf:"fixed64,3,opt,name=min,proto3" json:"min,omitempty"` Max float64 `protobuf:"fixed64,4,opt,name=max,proto3" json:"max,omitempty"` Avg float64 `protobuf:"fixed64,5,opt,name=avg,proto3" json:"avg,omitempty"` Sum float64 `protobuf:"fixed64,6,opt,name=sum,proto3" json:"sum,omitempty"` V []float64 `protobuf:"fixed64,7,rep,packed,name=v" json:"v,omitempty"` G []uint32 `protobuf:"varint,8,rep,packed,name=g" json:"g,omitempty"` Delta []uint32 `protobuf:"varint,9,rep,packed,name=delta" json:"delta,omitempty"` Buf []float64 `protobuf:"fixed64,10,rep,packed,name=buf" json:"buf,omitempty"` }
func (*SketchPayload_Sketch_Distribution) Descriptor ¶
func (*SketchPayload_Sketch_Distribution) Descriptor() ([]byte, []int)
func (*SketchPayload_Sketch_Distribution) GetAvg ¶
func (m *SketchPayload_Sketch_Distribution) GetAvg() float64
func (*SketchPayload_Sketch_Distribution) GetBuf ¶
func (m *SketchPayload_Sketch_Distribution) GetBuf() []float64
func (*SketchPayload_Sketch_Distribution) GetCnt ¶
func (m *SketchPayload_Sketch_Distribution) GetCnt() int64
func (*SketchPayload_Sketch_Distribution) GetDelta ¶
func (m *SketchPayload_Sketch_Distribution) GetDelta() []uint32
func (*SketchPayload_Sketch_Distribution) GetG ¶
func (m *SketchPayload_Sketch_Distribution) GetG() []uint32
func (*SketchPayload_Sketch_Distribution) GetMax ¶
func (m *SketchPayload_Sketch_Distribution) GetMax() float64
func (*SketchPayload_Sketch_Distribution) GetMin ¶
func (m *SketchPayload_Sketch_Distribution) GetMin() float64
func (*SketchPayload_Sketch_Distribution) GetSum ¶
func (m *SketchPayload_Sketch_Distribution) GetSum() float64
func (*SketchPayload_Sketch_Distribution) GetTs ¶
func (m *SketchPayload_Sketch_Distribution) GetTs() int64
func (*SketchPayload_Sketch_Distribution) GetV ¶
func (m *SketchPayload_Sketch_Distribution) GetV() []float64
func (*SketchPayload_Sketch_Distribution) Marshal ¶
func (m *SketchPayload_Sketch_Distribution) Marshal() (dAtA []byte, err error)
func (*SketchPayload_Sketch_Distribution) MarshalTo ¶
func (m *SketchPayload_Sketch_Distribution) MarshalTo(dAtA []byte) (int, error)
func (*SketchPayload_Sketch_Distribution) ProtoMessage ¶
func (*SketchPayload_Sketch_Distribution) ProtoMessage()
func (*SketchPayload_Sketch_Distribution) Reset ¶
func (m *SketchPayload_Sketch_Distribution) Reset()
func (*SketchPayload_Sketch_Distribution) Size ¶
func (m *SketchPayload_Sketch_Distribution) Size() (n int)
func (*SketchPayload_Sketch_Distribution) String ¶
func (m *SketchPayload_Sketch_Distribution) String() string
func (*SketchPayload_Sketch_Distribution) Unmarshal ¶
func (m *SketchPayload_Sketch_Distribution) Unmarshal(dAtA []byte) error
type SketchPayload_Sketch_Dogsketch ¶
type SketchPayload_Sketch_Dogsketch struct { Ts int64 `protobuf:"varint,1,opt,name=ts,proto3" json:"ts,omitempty"` Cnt int64 `protobuf:"varint,2,opt,name=cnt,proto3" json:"cnt,omitempty"` Min float64 `protobuf:"fixed64,3,opt,name=min,proto3" json:"min,omitempty"` Max float64 `protobuf:"fixed64,4,opt,name=max,proto3" json:"max,omitempty"` Avg float64 `protobuf:"fixed64,5,opt,name=avg,proto3" json:"avg,omitempty"` Sum float64 `protobuf:"fixed64,6,opt,name=sum,proto3" json:"sum,omitempty"` K []int32 `protobuf:"zigzag32,7,rep,packed,name=k" json:"k,omitempty"` N []uint32 `protobuf:"varint,8,rep,packed,name=n" json:"n,omitempty"` }
func (*SketchPayload_Sketch_Dogsketch) Descriptor ¶
func (*SketchPayload_Sketch_Dogsketch) Descriptor() ([]byte, []int)
func (*SketchPayload_Sketch_Dogsketch) GetAvg ¶
func (m *SketchPayload_Sketch_Dogsketch) GetAvg() float64
func (*SketchPayload_Sketch_Dogsketch) GetCnt ¶
func (m *SketchPayload_Sketch_Dogsketch) GetCnt() int64
func (*SketchPayload_Sketch_Dogsketch) GetK ¶
func (m *SketchPayload_Sketch_Dogsketch) GetK() []int32
func (*SketchPayload_Sketch_Dogsketch) GetMax ¶
func (m *SketchPayload_Sketch_Dogsketch) GetMax() float64
func (*SketchPayload_Sketch_Dogsketch) GetMin ¶
func (m *SketchPayload_Sketch_Dogsketch) GetMin() float64
func (*SketchPayload_Sketch_Dogsketch) GetN ¶
func (m *SketchPayload_Sketch_Dogsketch) GetN() []uint32
func (*SketchPayload_Sketch_Dogsketch) GetSum ¶
func (m *SketchPayload_Sketch_Dogsketch) GetSum() float64
func (*SketchPayload_Sketch_Dogsketch) GetTs ¶
func (m *SketchPayload_Sketch_Dogsketch) GetTs() int64
func (*SketchPayload_Sketch_Dogsketch) Marshal ¶
func (m *SketchPayload_Sketch_Dogsketch) Marshal() (dAtA []byte, err error)
func (*SketchPayload_Sketch_Dogsketch) MarshalTo ¶
func (m *SketchPayload_Sketch_Dogsketch) MarshalTo(dAtA []byte) (int, error)
func (*SketchPayload_Sketch_Dogsketch) ProtoMessage ¶
func (*SketchPayload_Sketch_Dogsketch) ProtoMessage()
func (*SketchPayload_Sketch_Dogsketch) Reset ¶
func (m *SketchPayload_Sketch_Dogsketch) Reset()
func (*SketchPayload_Sketch_Dogsketch) Size ¶
func (m *SketchPayload_Sketch_Dogsketch) Size() (n int)
func (*SketchPayload_Sketch_Dogsketch) String ¶
func (m *SketchPayload_Sketch_Dogsketch) String() string
func (*SketchPayload_Sketch_Dogsketch) Unmarshal ¶
func (m *SketchPayload_Sketch_Dogsketch) Unmarshal(dAtA []byte) error
Click to show internal directories.
Click to hide internal directories.