gogen

package
v5.0.125 Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2024 License: BSD-3-Clause Imports: 7 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthAgentPayload        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowAgentPayload          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupAgentPayload = fmt.Errorf("proto: unexpected end of group")
)
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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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) MarshalTo

func (m *CommonMetadata) MarshalTo(dAtA []byte) (int, error)

func (*CommonMetadata) MarshalToSizedBuffer added in v5.0.99

func (m *CommonMetadata) MarshalToSizedBuffer(dAtA []byte) (int, 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

func (*CommonMetadata) XXX_DiscardUnknown added in v5.0.99

func (m *CommonMetadata) XXX_DiscardUnknown()

func (*CommonMetadata) XXX_Marshal added in v5.0.99

func (m *CommonMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CommonMetadata) XXX_Merge added in v5.0.99

func (m *CommonMetadata) XXX_Merge(src proto.Message)

func (*CommonMetadata) XXX_Size added in v5.0.99

func (m *CommonMetadata) XXX_Size() int

func (*CommonMetadata) XXX_Unmarshal added in v5.0.99

func (m *CommonMetadata) XXX_Unmarshal(b []byte) error

type EventsPayload

type EventsPayload struct {
	Events               []*EventsPayload_Event `protobuf:"bytes,1,rep,name=events,proto3" json:"events,omitempty"`
	Metadata             *CommonMetadata        `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"`
	XXX_NoUnkeyedLiteral struct{}               `json:"-"`
	XXX_unrecognized     []byte                 `json:"-"`
	XXX_sizecache        int32                  `json:"-"`
}

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) MarshalTo

func (m *EventsPayload) MarshalTo(dAtA []byte) (int, error)

func (*EventsPayload) MarshalToSizedBuffer added in v5.0.99

func (m *EventsPayload) MarshalToSizedBuffer(dAtA []byte) (int, 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

func (*EventsPayload) XXX_DiscardUnknown added in v5.0.99

func (m *EventsPayload) XXX_DiscardUnknown()

func (*EventsPayload) XXX_Marshal added in v5.0.99

func (m *EventsPayload) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EventsPayload) XXX_Merge added in v5.0.99

func (m *EventsPayload) XXX_Merge(src proto.Message)

func (*EventsPayload) XXX_Size added in v5.0.99

func (m *EventsPayload) XXX_Size() int

func (*EventsPayload) XXX_Unmarshal added in v5.0.99

func (m *EventsPayload) XXX_Unmarshal(b []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,proto3" 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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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) MarshalToSizedBuffer added in v5.0.99

func (m *EventsPayload_Event) MarshalToSizedBuffer(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

func (*EventsPayload_Event) XXX_DiscardUnknown added in v5.0.99

func (m *EventsPayload_Event) XXX_DiscardUnknown()

func (*EventsPayload_Event) XXX_Marshal added in v5.0.99

func (m *EventsPayload_Event) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EventsPayload_Event) XXX_Merge added in v5.0.99

func (m *EventsPayload_Event) XXX_Merge(src proto.Message)

func (*EventsPayload_Event) XXX_Size added in v5.0.99

func (m *EventsPayload_Event) XXX_Size() int

func (*EventsPayload_Event) XXX_Unmarshal added in v5.0.99

func (m *EventsPayload_Event) XXX_Unmarshal(b []byte) error

type Metadata added in v5.0.101

type Metadata struct {
	Origin               *Origin  `protobuf:"bytes,1,opt,name=origin,proto3" json:"origin,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Metadata is used in both the MetricSeries and Sketch messages defined below.

func (*Metadata) Descriptor added in v5.0.101

func (*Metadata) Descriptor() ([]byte, []int)

func (*Metadata) GetOrigin added in v5.0.101

func (m *Metadata) GetOrigin() *Origin

func (*Metadata) Marshal added in v5.0.101

func (m *Metadata) Marshal() (dAtA []byte, err error)

func (*Metadata) MarshalTo added in v5.0.101

func (m *Metadata) MarshalTo(dAtA []byte) (int, error)

func (*Metadata) MarshalToSizedBuffer added in v5.0.101

func (m *Metadata) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Metadata) ProtoMessage added in v5.0.101

func (*Metadata) ProtoMessage()

func (*Metadata) Reset added in v5.0.101

func (m *Metadata) Reset()

func (*Metadata) Size added in v5.0.101

func (m *Metadata) Size() (n int)

func (*Metadata) String added in v5.0.101

func (m *Metadata) String() string

func (*Metadata) Unmarshal added in v5.0.101

func (m *Metadata) Unmarshal(dAtA []byte) error

func (*Metadata) XXX_DiscardUnknown added in v5.0.101

func (m *Metadata) XXX_DiscardUnknown()

func (*Metadata) XXX_Marshal added in v5.0.101

func (m *Metadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Metadata) XXX_Merge added in v5.0.101

func (m *Metadata) XXX_Merge(src proto.Message)

func (*Metadata) XXX_Size added in v5.0.101

func (m *Metadata) XXX_Size() int

func (*Metadata) XXX_Unmarshal added in v5.0.101

func (m *Metadata) XXX_Unmarshal(b []byte) error

type MetricPayload

type MetricPayload struct {
	Series               []*MetricPayload_MetricSeries `protobuf:"bytes,1,rep,name=series,proto3" json:"series,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                      `json:"-"`
	XXX_unrecognized     []byte                        `json:"-"`
	XXX_sizecache        int32                         `json:"-"`
}

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) MarshalTo

func (m *MetricPayload) MarshalTo(dAtA []byte) (int, error)

func (*MetricPayload) MarshalToSizedBuffer added in v5.0.99

func (m *MetricPayload) MarshalToSizedBuffer(dAtA []byte) (int, 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

func (*MetricPayload) XXX_DiscardUnknown added in v5.0.99

func (m *MetricPayload) XXX_DiscardUnknown()

func (*MetricPayload) XXX_Marshal added in v5.0.99

func (m *MetricPayload) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MetricPayload) XXX_Merge added in v5.0.99

func (m *MetricPayload) XXX_Merge(src proto.Message)

func (*MetricPayload) XXX_Size added in v5.0.99

func (m *MetricPayload) XXX_Size() int

func (*MetricPayload) XXX_Unmarshal added in v5.0.99

func (m *MetricPayload) XXX_Unmarshal(b []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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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) MarshalToSizedBuffer added in v5.0.99

func (m *MetricPayload_MetricPoint) MarshalToSizedBuffer(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

func (*MetricPayload_MetricPoint) XXX_DiscardUnknown added in v5.0.99

func (m *MetricPayload_MetricPoint) XXX_DiscardUnknown()

func (*MetricPayload_MetricPoint) XXX_Marshal added in v5.0.99

func (m *MetricPayload_MetricPoint) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MetricPayload_MetricPoint) XXX_Merge added in v5.0.99

func (m *MetricPayload_MetricPoint) XXX_Merge(src proto.Message)

func (*MetricPayload_MetricPoint) XXX_Size added in v5.0.99

func (m *MetricPayload_MetricPoint) XXX_Size() int

func (*MetricPayload_MetricPoint) XXX_Unmarshal added in v5.0.99

func (m *MetricPayload_MetricPoint) XXX_Unmarshal(b []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,proto3" 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,proto3" json:"tags,omitempty"`
	// data points for this metric
	Points []*MetricPayload_MetricPoint `protobuf:"bytes,4,rep,name=points,proto3" 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"`
	// Metrics origin metadata
	Metadata             *Metadata `protobuf:"bytes,9,opt,name=metadata,proto3" json:"metadata,omitempty"`
	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
	XXX_unrecognized     []byte    `json:"-"`
	XXX_sizecache        int32     `json:"-"`
}

func (*MetricPayload_MetricSeries) Descriptor

func (*MetricPayload_MetricSeries) Descriptor() ([]byte, []int)

func (*MetricPayload_MetricSeries) GetInterval

func (m *MetricPayload_MetricSeries) GetInterval() int64

func (*MetricPayload_MetricSeries) GetMetadata added in v5.0.101

func (m *MetricPayload_MetricSeries) GetMetadata() *Metadata

func (*MetricPayload_MetricSeries) GetMetric

func (m *MetricPayload_MetricSeries) GetMetric() string

func (*MetricPayload_MetricSeries) GetPoints

func (*MetricPayload_MetricSeries) GetResources

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 (*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) MarshalToSizedBuffer added in v5.0.99

func (m *MetricPayload_MetricSeries) MarshalToSizedBuffer(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

func (*MetricPayload_MetricSeries) XXX_DiscardUnknown added in v5.0.99

func (m *MetricPayload_MetricSeries) XXX_DiscardUnknown()

func (*MetricPayload_MetricSeries) XXX_Marshal added in v5.0.99

func (m *MetricPayload_MetricSeries) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MetricPayload_MetricSeries) XXX_Merge added in v5.0.99

func (m *MetricPayload_MetricSeries) XXX_Merge(src proto.Message)

func (*MetricPayload_MetricSeries) XXX_Size added in v5.0.99

func (m *MetricPayload_MetricSeries) XXX_Size() int

func (*MetricPayload_MetricSeries) XXX_Unmarshal added in v5.0.99

func (m *MetricPayload_MetricSeries) XXX_Unmarshal(b []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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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) MarshalToSizedBuffer added in v5.0.99

func (m *MetricPayload_Resource) MarshalToSizedBuffer(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

func (*MetricPayload_Resource) XXX_DiscardUnknown added in v5.0.99

func (m *MetricPayload_Resource) XXX_DiscardUnknown()

func (*MetricPayload_Resource) XXX_Marshal added in v5.0.99

func (m *MetricPayload_Resource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MetricPayload_Resource) XXX_Merge added in v5.0.99

func (m *MetricPayload_Resource) XXX_Merge(src proto.Message)

func (*MetricPayload_Resource) XXX_Size added in v5.0.99

func (m *MetricPayload_Resource) XXX_Size() int

func (*MetricPayload_Resource) XXX_Unmarshal added in v5.0.99

func (m *MetricPayload_Resource) XXX_Unmarshal(b []byte) error

type Origin added in v5.0.101

type Origin struct {
	OriginProduct        uint32   `protobuf:"varint,4,opt,name=origin_product,json=originProduct,proto3" json:"origin_product,omitempty"`
	OriginCategory       uint32   `protobuf:"varint,5,opt,name=origin_category,json=originCategory,proto3" json:"origin_category,omitempty"`
	OriginService        uint32   `protobuf:"varint,6,opt,name=origin_service,json=originService,proto3" json:"origin_service,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Origin) Descriptor added in v5.0.101

func (*Origin) Descriptor() ([]byte, []int)

func (*Origin) GetOriginCategory added in v5.0.101

func (m *Origin) GetOriginCategory() uint32

func (*Origin) GetOriginProduct added in v5.0.101

func (m *Origin) GetOriginProduct() uint32

func (*Origin) GetOriginService added in v5.0.101

func (m *Origin) GetOriginService() uint32

func (*Origin) Marshal added in v5.0.101

func (m *Origin) Marshal() (dAtA []byte, err error)

func (*Origin) MarshalTo added in v5.0.101

func (m *Origin) MarshalTo(dAtA []byte) (int, error)

func (*Origin) MarshalToSizedBuffer added in v5.0.101

func (m *Origin) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Origin) ProtoMessage added in v5.0.101

func (*Origin) ProtoMessage()

func (*Origin) Reset added in v5.0.101

func (m *Origin) Reset()

func (*Origin) Size added in v5.0.101

func (m *Origin) Size() (n int)

func (*Origin) String added in v5.0.101

func (m *Origin) String() string

func (*Origin) Unmarshal added in v5.0.101

func (m *Origin) Unmarshal(dAtA []byte) error

func (*Origin) XXX_DiscardUnknown added in v5.0.101

func (m *Origin) XXX_DiscardUnknown()

func (*Origin) XXX_Marshal added in v5.0.101

func (m *Origin) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Origin) XXX_Merge added in v5.0.101

func (m *Origin) XXX_Merge(src proto.Message)

func (*Origin) XXX_Size added in v5.0.101

func (m *Origin) XXX_Size() int

func (*Origin) XXX_Unmarshal added in v5.0.101

func (m *Origin) XXX_Unmarshal(b []byte) error

type SketchPayload

type SketchPayload struct {
	Sketches             []SketchPayload_Sketch `protobuf:"bytes,1,rep,name=sketches,proto3" json:"sketches"`
	Metadata             CommonMetadata         `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata"`
	XXX_NoUnkeyedLiteral struct{}               `json:"-"`
	XXX_unrecognized     []byte                 `json:"-"`
	XXX_sizecache        int32                  `json:"-"`
}

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) MarshalTo

func (m *SketchPayload) MarshalTo(dAtA []byte) (int, error)

func (*SketchPayload) MarshalToSizedBuffer added in v5.0.99

func (m *SketchPayload) MarshalToSizedBuffer(dAtA []byte) (int, 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

func (*SketchPayload) XXX_DiscardUnknown added in v5.0.99

func (m *SketchPayload) XXX_DiscardUnknown()

func (*SketchPayload) XXX_Marshal added in v5.0.99

func (m *SketchPayload) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SketchPayload) XXX_Merge added in v5.0.99

func (m *SketchPayload) XXX_Merge(src proto.Message)

func (*SketchPayload) XXX_Size added in v5.0.99

func (m *SketchPayload) XXX_Size() int

func (*SketchPayload) XXX_Unmarshal added in v5.0.99

func (m *SketchPayload) XXX_Unmarshal(b []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,proto3" json:"distributions"`
	Tags                 []string                            `protobuf:"bytes,4,rep,name=tags,proto3" json:"tags,omitempty"`
	Dogsketches          []SketchPayload_Sketch_Dogsketch    `protobuf:"bytes,7,rep,name=dogsketches,proto3" json:"dogsketches"`
	Metadata             *Metadata                           `protobuf:"bytes,8,opt,name=metadata,proto3" json:"metadata,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                            `json:"-"`
	XXX_unrecognized     []byte                              `json:"-"`
	XXX_sizecache        int32                               `json:"-"`
}

func (*SketchPayload_Sketch) Descriptor

func (*SketchPayload_Sketch) Descriptor() ([]byte, []int)

func (*SketchPayload_Sketch) GetDistributions

func (*SketchPayload_Sketch) GetDogsketches

func (*SketchPayload_Sketch) GetHost

func (m *SketchPayload_Sketch) GetHost() string

func (*SketchPayload_Sketch) GetMetadata added in v5.0.101

func (m *SketchPayload_Sketch) GetMetadata() *Metadata

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) MarshalToSizedBuffer added in v5.0.99

func (m *SketchPayload_Sketch) MarshalToSizedBuffer(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

func (*SketchPayload_Sketch) XXX_DiscardUnknown added in v5.0.99

func (m *SketchPayload_Sketch) XXX_DiscardUnknown()

func (*SketchPayload_Sketch) XXX_Marshal added in v5.0.99

func (m *SketchPayload_Sketch) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SketchPayload_Sketch) XXX_Merge added in v5.0.99

func (m *SketchPayload_Sketch) XXX_Merge(src proto.Message)

func (*SketchPayload_Sketch) XXX_Size added in v5.0.99

func (m *SketchPayload_Sketch) XXX_Size() int

func (*SketchPayload_Sketch) XXX_Unmarshal added in v5.0.99

func (m *SketchPayload_Sketch) XXX_Unmarshal(b []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,proto3" json:"v,omitempty"`
	G                    []uint32  `protobuf:"varint,8,rep,packed,name=g,proto3" json:"g,omitempty"`
	Delta                []uint32  `protobuf:"varint,9,rep,packed,name=delta,proto3" json:"delta,omitempty"`
	Buf                  []float64 `protobuf:"fixed64,10,rep,packed,name=buf,proto3" json:"buf,omitempty"`
	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
	XXX_unrecognized     []byte    `json:"-"`
	XXX_sizecache        int32     `json:"-"`
}

func (*SketchPayload_Sketch_Distribution) Descriptor

func (*SketchPayload_Sketch_Distribution) Descriptor() ([]byte, []int)

func (*SketchPayload_Sketch_Distribution) GetAvg

func (*SketchPayload_Sketch_Distribution) GetBuf

func (*SketchPayload_Sketch_Distribution) GetCnt

func (*SketchPayload_Sketch_Distribution) GetDelta

func (m *SketchPayload_Sketch_Distribution) GetDelta() []uint32

func (*SketchPayload_Sketch_Distribution) GetG

func (*SketchPayload_Sketch_Distribution) GetMax

func (*SketchPayload_Sketch_Distribution) GetMin

func (*SketchPayload_Sketch_Distribution) GetSum

func (*SketchPayload_Sketch_Distribution) GetTs

func (*SketchPayload_Sketch_Distribution) GetV

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) MarshalToSizedBuffer added in v5.0.99

func (m *SketchPayload_Sketch_Distribution) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SketchPayload_Sketch_Distribution) ProtoMessage

func (*SketchPayload_Sketch_Distribution) ProtoMessage()

func (*SketchPayload_Sketch_Distribution) Reset

func (*SketchPayload_Sketch_Distribution) Size

func (m *SketchPayload_Sketch_Distribution) Size() (n int)

func (*SketchPayload_Sketch_Distribution) String

func (*SketchPayload_Sketch_Distribution) Unmarshal

func (m *SketchPayload_Sketch_Distribution) Unmarshal(dAtA []byte) error

func (*SketchPayload_Sketch_Distribution) XXX_DiscardUnknown added in v5.0.99

func (m *SketchPayload_Sketch_Distribution) XXX_DiscardUnknown()

func (*SketchPayload_Sketch_Distribution) XXX_Marshal added in v5.0.99

func (m *SketchPayload_Sketch_Distribution) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SketchPayload_Sketch_Distribution) XXX_Merge added in v5.0.99

func (*SketchPayload_Sketch_Distribution) XXX_Size added in v5.0.99

func (m *SketchPayload_Sketch_Distribution) XXX_Size() int

func (*SketchPayload_Sketch_Distribution) XXX_Unmarshal added in v5.0.99

func (m *SketchPayload_Sketch_Distribution) XXX_Unmarshal(b []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,proto3" json:"k,omitempty"`
	N                    []uint32 `protobuf:"varint,8,rep,packed,name=n,proto3" json:"n,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*SketchPayload_Sketch_Dogsketch) Descriptor

func (*SketchPayload_Sketch_Dogsketch) Descriptor() ([]byte, []int)

func (*SketchPayload_Sketch_Dogsketch) GetAvg

func (*SketchPayload_Sketch_Dogsketch) GetCnt

func (*SketchPayload_Sketch_Dogsketch) GetK

func (*SketchPayload_Sketch_Dogsketch) GetMax

func (*SketchPayload_Sketch_Dogsketch) GetMin

func (*SketchPayload_Sketch_Dogsketch) GetN

func (*SketchPayload_Sketch_Dogsketch) GetSum

func (*SketchPayload_Sketch_Dogsketch) GetTs

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) MarshalToSizedBuffer added in v5.0.99

func (m *SketchPayload_Sketch_Dogsketch) MarshalToSizedBuffer(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 (*SketchPayload_Sketch_Dogsketch) Unmarshal

func (m *SketchPayload_Sketch_Dogsketch) Unmarshal(dAtA []byte) error

func (*SketchPayload_Sketch_Dogsketch) XXX_DiscardUnknown added in v5.0.99

func (m *SketchPayload_Sketch_Dogsketch) XXX_DiscardUnknown()

func (*SketchPayload_Sketch_Dogsketch) XXX_Marshal added in v5.0.99

func (m *SketchPayload_Sketch_Dogsketch) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SketchPayload_Sketch_Dogsketch) XXX_Merge added in v5.0.99

func (m *SketchPayload_Sketch_Dogsketch) XXX_Merge(src proto.Message)

func (*SketchPayload_Sketch_Dogsketch) XXX_Size added in v5.0.99

func (m *SketchPayload_Sketch_Dogsketch) XXX_Size() int

func (*SketchPayload_Sketch_Dogsketch) XXX_Unmarshal added in v5.0.99

func (m *SketchPayload_Sketch_Dogsketch) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

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