ts_mon_proto

package
v0.0.0-...-a70aae3 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2024 License: Apache-2.0 Imports: 15 Imported by: 16

Documentation

Overview

Package ts_mon_proto contains ts_mon protobuf source and generated protobuf data.

The package name here must match the protobuf package name, as the generated files will reside in the same directory.

Index

Constants

This section is empty.

Variables

View Source
var (
	StreamKind_name = map[int32]string{
		0: "GAUGE",
		1: "CUMULATIVE",
		2: "DELTA",
	}
	StreamKind_value = map[string]int32{
		"GAUGE":      0,
		"CUMULATIVE": 1,
		"DELTA":      2,
	}
)

Enum value maps for StreamKind.

View Source
var (
	ValueType_name = map[int32]string{
		0: "BOOL",
		1: "STRING",
		2: "INT64",
		3: "DOUBLE",
		4: "DISTRIBUTION",
	}
	ValueType_value = map[string]int32{
		"BOOL":         0,
		"STRING":       1,
		"INT64":        2,
		"DOUBLE":       3,
		"DISTRIBUTION": 4,
	}
)

Enum value maps for ValueType.

View Source
var (
	MetricsDataSet_MetricFieldDescriptor_FieldType_name = map[int32]string{
		0: "STRING",
		1: "INT64",
		2: "BOOL",
	}
	MetricsDataSet_MetricFieldDescriptor_FieldType_value = map[string]int32{
		"STRING": 0,
		"INT64":  1,
		"BOOL":   2,
	}
)

Enum value maps for MetricsDataSet_MetricFieldDescriptor_FieldType.

View Source
var File_go_chromium_org_luci_common_tsmon_ts_mon_proto_endpoint_proto protoreflect.FileDescriptor
View Source
var File_go_chromium_org_luci_common_tsmon_ts_mon_proto_metrics_proto protoreflect.FileDescriptor
View Source
var File_go_chromium_org_luci_common_tsmon_ts_mon_proto_service_proto protoreflect.FileDescriptor

Functions

func FileDescriptorSet

func FileDescriptorSet() *descriptorpb.FileDescriptorSet

FileDescriptorSet returns a descriptor set for this proto package, which includes all defined services, and all transitive dependencies.

Will not return nil.

Do NOT modify the returned descriptor.

func RegisterMonitoringServiceServer

func RegisterMonitoringServiceServer(s prpc.Registrar, srv MonitoringServiceServer)

Types

type Annotations

type Annotations struct {
	Unit        *string      `protobuf:"bytes,1,opt,name=unit" json:"unit,omitempty"`
	Timestamp   *bool        `protobuf:"varint,2,opt,name=timestamp" json:"timestamp,omitempty"`
	Deprecation *string      `protobuf:"bytes,3,opt,name=deprecation" json:"deprecation,omitempty"`
	Annotation  []*anypb.Any `protobuf:"bytes,4,rep,name=annotation" json:"annotation,omitempty"`
	// contains filtered or unexported fields
}

func (*Annotations) Descriptor deprecated

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

Deprecated: Use Annotations.ProtoReflect.Descriptor instead.

func (*Annotations) GetAnnotation

func (x *Annotations) GetAnnotation() []*anypb.Any

func (*Annotations) GetDeprecation

func (x *Annotations) GetDeprecation() string

func (*Annotations) GetTimestamp

func (x *Annotations) GetTimestamp() bool

func (*Annotations) GetUnit

func (x *Annotations) GetUnit() string

func (*Annotations) ProtoMessage

func (*Annotations) ProtoMessage()

func (*Annotations) ProtoReflect

func (x *Annotations) ProtoReflect() protoreflect.Message

func (*Annotations) Reset

func (x *Annotations) Reset()

func (*Annotations) String

func (x *Annotations) String() string

type MetricsCollection

type MetricsCollection struct {
	MetricsDataSet []*MetricsDataSet               `protobuf:"bytes,1,rep,name=metrics_data_set,json=metricsDataSet" json:"metrics_data_set,omitempty"`
	RootLabels     []*MetricsCollection_RootLabels `protobuf:"bytes,2,rep,name=root_labels,json=rootLabels" json:"root_labels,omitempty"`
	// contains filtered or unexported fields
}

func (*MetricsCollection) Descriptor deprecated

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

Deprecated: Use MetricsCollection.ProtoReflect.Descriptor instead.

func (*MetricsCollection) GetMetricsDataSet

func (x *MetricsCollection) GetMetricsDataSet() []*MetricsDataSet

func (*MetricsCollection) GetRootLabels

func (x *MetricsCollection) GetRootLabels() []*MetricsCollection_RootLabels

func (*MetricsCollection) ProtoMessage

func (*MetricsCollection) ProtoMessage()

func (*MetricsCollection) ProtoReflect

func (x *MetricsCollection) ProtoReflect() protoreflect.Message

func (*MetricsCollection) Reset

func (x *MetricsCollection) Reset()

func (*MetricsCollection) String

func (x *MetricsCollection) String() string

type MetricsCollection_RootLabels

type MetricsCollection_RootLabels struct {
	Key *string `protobuf:"bytes,1,req,name=key" json:"key,omitempty"`
	// Types that are assignable to Value:
	//
	//	*MetricsCollection_RootLabels_StringValue
	//	*MetricsCollection_RootLabels_Int64Value
	//	*MetricsCollection_RootLabels_BoolValue
	Value isMetricsCollection_RootLabels_Value `protobuf_oneof:"value"`
	// contains filtered or unexported fields
}

func (*MetricsCollection_RootLabels) Descriptor deprecated

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

Deprecated: Use MetricsCollection_RootLabels.ProtoReflect.Descriptor instead.

func (*MetricsCollection_RootLabels) GetBoolValue

func (x *MetricsCollection_RootLabels) GetBoolValue() bool

func (*MetricsCollection_RootLabels) GetInt64Value

func (x *MetricsCollection_RootLabels) GetInt64Value() int64

func (*MetricsCollection_RootLabels) GetKey

func (*MetricsCollection_RootLabels) GetStringValue

func (x *MetricsCollection_RootLabels) GetStringValue() string

func (*MetricsCollection_RootLabels) GetValue

func (m *MetricsCollection_RootLabels) GetValue() isMetricsCollection_RootLabels_Value

func (*MetricsCollection_RootLabels) ProtoMessage

func (*MetricsCollection_RootLabels) ProtoMessage()

func (*MetricsCollection_RootLabels) ProtoReflect

func (*MetricsCollection_RootLabels) Reset

func (x *MetricsCollection_RootLabels) Reset()

func (*MetricsCollection_RootLabels) String

type MetricsCollection_RootLabels_BoolValue

type MetricsCollection_RootLabels_BoolValue struct {
	BoolValue bool `protobuf:"varint,4,opt,name=bool_value,json=boolValue,oneof"`
}

type MetricsCollection_RootLabels_Int64Value

type MetricsCollection_RootLabels_Int64Value struct {
	Int64Value int64 `protobuf:"varint,3,opt,name=int64_value,json=int64Value,oneof"`
}

type MetricsCollection_RootLabels_StringValue

type MetricsCollection_RootLabels_StringValue struct {
	StringValue string `protobuf:"bytes,2,opt,name=string_value,json=stringValue,oneof"`
}

type MetricsData

type MetricsData struct {

	// Types that are assignable to Value:
	//
	//	*MetricsData_BoolValue
	//	*MetricsData_StringValue
	//	*MetricsData_Int64Value
	//	*MetricsData_DoubleValue
	//	*MetricsData_DistributionValue
	Value          isMetricsData_Value        `protobuf_oneof:"value"`
	Field          []*MetricsData_MetricField `protobuf:"bytes,6,rep,name=field" json:"field,omitempty"`
	StartTimestamp *timestamppb.Timestamp     `protobuf:"bytes,7,opt,name=start_timestamp,json=startTimestamp" json:"start_timestamp,omitempty"`
	EndTimestamp   *timestamppb.Timestamp     `protobuf:"bytes,8,opt,name=end_timestamp,json=endTimestamp" json:"end_timestamp,omitempty"`
	// contains filtered or unexported fields
}

func (*MetricsData) Descriptor deprecated

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

Deprecated: Use MetricsData.ProtoReflect.Descriptor instead.

func (*MetricsData) GetBoolValue

func (x *MetricsData) GetBoolValue() bool

func (*MetricsData) GetDistributionValue

func (x *MetricsData) GetDistributionValue() *MetricsData_Distribution

func (*MetricsData) GetDoubleValue

func (x *MetricsData) GetDoubleValue() float64

func (*MetricsData) GetEndTimestamp

func (x *MetricsData) GetEndTimestamp() *timestamppb.Timestamp

func (*MetricsData) GetField

func (x *MetricsData) GetField() []*MetricsData_MetricField

func (*MetricsData) GetInt64Value

func (x *MetricsData) GetInt64Value() int64

func (*MetricsData) GetStartTimestamp

func (x *MetricsData) GetStartTimestamp() *timestamppb.Timestamp

func (*MetricsData) GetStringValue

func (x *MetricsData) GetStringValue() string

func (*MetricsData) GetValue

func (m *MetricsData) GetValue() isMetricsData_Value

func (*MetricsData) ProtoMessage

func (*MetricsData) ProtoMessage()

func (*MetricsData) ProtoReflect

func (x *MetricsData) ProtoReflect() protoreflect.Message

func (*MetricsData) Reset

func (x *MetricsData) Reset()

func (*MetricsData) String

func (x *MetricsData) String() string

type MetricsDataSet

type MetricsDataSet struct {

	// Metric name.
	// Regex: ^(/[a-zA-Z0-9_-]+)+$
	MetricName      *string                                 `protobuf:"bytes,1,opt,name=metric_name,json=metricName" json:"metric_name,omitempty"`
	FieldDescriptor []*MetricsDataSet_MetricFieldDescriptor `protobuf:"bytes,2,rep,name=field_descriptor,json=fieldDescriptor" json:"field_descriptor,omitempty"`
	StreamKind      *StreamKind                             `protobuf:"varint,3,opt,name=stream_kind,json=streamKind,enum=ts_mon.proto.StreamKind" json:"stream_kind,omitempty"`
	ValueType       *ValueType                              `protobuf:"varint,4,opt,name=value_type,json=valueType,enum=ts_mon.proto.ValueType" json:"value_type,omitempty"`
	Description     *string                                 `protobuf:"bytes,5,opt,name=description" json:"description,omitempty"`
	Annotations     *Annotations                            `protobuf:"bytes,6,opt,name=annotations" json:"annotations,omitempty"`
	Data            []*MetricsData                          `protobuf:"bytes,7,rep,name=data" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*MetricsDataSet) Descriptor deprecated

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

Deprecated: Use MetricsDataSet.ProtoReflect.Descriptor instead.

func (*MetricsDataSet) GetAnnotations

func (x *MetricsDataSet) GetAnnotations() *Annotations

func (*MetricsDataSet) GetData

func (x *MetricsDataSet) GetData() []*MetricsData

func (*MetricsDataSet) GetDescription

func (x *MetricsDataSet) GetDescription() string

func (*MetricsDataSet) GetFieldDescriptor

func (x *MetricsDataSet) GetFieldDescriptor() []*MetricsDataSet_MetricFieldDescriptor

func (*MetricsDataSet) GetMetricName

func (x *MetricsDataSet) GetMetricName() string

func (*MetricsDataSet) GetStreamKind

func (x *MetricsDataSet) GetStreamKind() StreamKind

func (*MetricsDataSet) GetValueType

func (x *MetricsDataSet) GetValueType() ValueType

func (*MetricsDataSet) ProtoMessage

func (*MetricsDataSet) ProtoMessage()

func (*MetricsDataSet) ProtoReflect

func (x *MetricsDataSet) ProtoReflect() protoreflect.Message

func (*MetricsDataSet) Reset

func (x *MetricsDataSet) Reset()

func (*MetricsDataSet) String

func (x *MetricsDataSet) String() string

type MetricsDataSet_MetricFieldDescriptor

type MetricsDataSet_MetricFieldDescriptor struct {

	// Metric field name.
	// Regex: ^[A-Za-z_][A-Za-z0-9_]*$
	Name      *string                                         `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
	FieldType *MetricsDataSet_MetricFieldDescriptor_FieldType `` /* 147-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*MetricsDataSet_MetricFieldDescriptor) Descriptor deprecated

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

Deprecated: Use MetricsDataSet_MetricFieldDescriptor.ProtoReflect.Descriptor instead.

func (*MetricsDataSet_MetricFieldDescriptor) GetFieldType

func (*MetricsDataSet_MetricFieldDescriptor) GetName

func (*MetricsDataSet_MetricFieldDescriptor) ProtoMessage

func (*MetricsDataSet_MetricFieldDescriptor) ProtoMessage()

func (*MetricsDataSet_MetricFieldDescriptor) ProtoReflect

func (*MetricsDataSet_MetricFieldDescriptor) Reset

func (*MetricsDataSet_MetricFieldDescriptor) String

type MetricsDataSet_MetricFieldDescriptor_FieldType

type MetricsDataSet_MetricFieldDescriptor_FieldType int32
const (
	MetricsDataSet_MetricFieldDescriptor_STRING MetricsDataSet_MetricFieldDescriptor_FieldType = 0
	MetricsDataSet_MetricFieldDescriptor_INT64  MetricsDataSet_MetricFieldDescriptor_FieldType = 1
	MetricsDataSet_MetricFieldDescriptor_BOOL   MetricsDataSet_MetricFieldDescriptor_FieldType = 2
)

func (MetricsDataSet_MetricFieldDescriptor_FieldType) Descriptor

func (MetricsDataSet_MetricFieldDescriptor_FieldType) Enum

func (MetricsDataSet_MetricFieldDescriptor_FieldType) EnumDescriptor deprecated

Deprecated: Use MetricsDataSet_MetricFieldDescriptor_FieldType.Descriptor instead.

func (MetricsDataSet_MetricFieldDescriptor_FieldType) Number

func (MetricsDataSet_MetricFieldDescriptor_FieldType) String

func (MetricsDataSet_MetricFieldDescriptor_FieldType) Type

func (*MetricsDataSet_MetricFieldDescriptor_FieldType) UnmarshalJSON deprecated

Deprecated: Do not use.

type MetricsData_BoolValue

type MetricsData_BoolValue struct {
	BoolValue bool `protobuf:"varint,1,opt,name=bool_value,json=boolValue,oneof"`
}

type MetricsData_Distribution

type MetricsData_Distribution struct {
	Count                 *int64   `protobuf:"varint,1,opt,name=count" json:"count,omitempty"`
	Mean                  *float64 `protobuf:"fixed64,2,opt,name=mean" json:"mean,omitempty"`
	SumOfSquaredDeviation *float64 `protobuf:"fixed64,3,opt,name=sum_of_squared_deviation,json=sumOfSquaredDeviation" json:"sum_of_squared_deviation,omitempty"`
	Minimum               *float64 `protobuf:"fixed64,4,opt,name=minimum" json:"minimum,omitempty"`
	Maximum               *float64 `protobuf:"fixed64,5,opt,name=maximum" json:"maximum,omitempty"`
	// Types that are assignable to BucketOptions:
	//
	//	*MetricsData_Distribution_LinearBuckets
	//	*MetricsData_Distribution_ExponentialBuckets
	//	*MetricsData_Distribution_ExplicitBuckets
	BucketOptions isMetricsData_Distribution_BucketOptions `protobuf_oneof:"bucket_options"`
	BucketCount   []int64                                  `protobuf:"varint,9,rep,packed,name=bucket_count,json=bucketCount" json:"bucket_count,omitempty"`
	Exemplar      []*MetricsData_Distribution_Exemplar     `protobuf:"bytes,10,rep,name=exemplar" json:"exemplar,omitempty"`
	// contains filtered or unexported fields
}

func (*MetricsData_Distribution) Descriptor deprecated

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

Deprecated: Use MetricsData_Distribution.ProtoReflect.Descriptor instead.

func (*MetricsData_Distribution) GetBucketCount

func (x *MetricsData_Distribution) GetBucketCount() []int64

func (*MetricsData_Distribution) GetBucketOptions

func (m *MetricsData_Distribution) GetBucketOptions() isMetricsData_Distribution_BucketOptions

func (*MetricsData_Distribution) GetCount

func (x *MetricsData_Distribution) GetCount() int64

func (*MetricsData_Distribution) GetExemplar

func (*MetricsData_Distribution) GetExplicitBuckets

func (*MetricsData_Distribution) GetExponentialBuckets

func (*MetricsData_Distribution) GetLinearBuckets

func (*MetricsData_Distribution) GetMaximum

func (x *MetricsData_Distribution) GetMaximum() float64

func (*MetricsData_Distribution) GetMean

func (x *MetricsData_Distribution) GetMean() float64

func (*MetricsData_Distribution) GetMinimum

func (x *MetricsData_Distribution) GetMinimum() float64

func (*MetricsData_Distribution) GetSumOfSquaredDeviation

func (x *MetricsData_Distribution) GetSumOfSquaredDeviation() float64

func (*MetricsData_Distribution) ProtoMessage

func (*MetricsData_Distribution) ProtoMessage()

func (*MetricsData_Distribution) ProtoReflect

func (x *MetricsData_Distribution) ProtoReflect() protoreflect.Message

func (*MetricsData_Distribution) Reset

func (x *MetricsData_Distribution) Reset()

func (*MetricsData_Distribution) String

func (x *MetricsData_Distribution) String() string

type MetricsData_DistributionValue

type MetricsData_DistributionValue struct {
	DistributionValue *MetricsData_Distribution `protobuf:"bytes,5,opt,name=distribution_value,json=distributionValue,oneof"`
}

type MetricsData_Distribution_Exemplar

type MetricsData_Distribution_Exemplar struct {
	Value      *float64               `protobuf:"fixed64,1,opt,name=value" json:"value,omitempty"`
	Timestamp  *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=timestamp" json:"timestamp,omitempty"`
	Attachment []*anypb.Any           `protobuf:"bytes,3,rep,name=attachment" json:"attachment,omitempty"`
	// contains filtered or unexported fields
}

func (*MetricsData_Distribution_Exemplar) Descriptor deprecated

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

Deprecated: Use MetricsData_Distribution_Exemplar.ProtoReflect.Descriptor instead.

func (*MetricsData_Distribution_Exemplar) GetAttachment

func (x *MetricsData_Distribution_Exemplar) GetAttachment() []*anypb.Any

func (*MetricsData_Distribution_Exemplar) GetTimestamp

func (*MetricsData_Distribution_Exemplar) GetValue

func (*MetricsData_Distribution_Exemplar) ProtoMessage

func (*MetricsData_Distribution_Exemplar) ProtoMessage()

func (*MetricsData_Distribution_Exemplar) ProtoReflect

func (*MetricsData_Distribution_Exemplar) Reset

func (*MetricsData_Distribution_Exemplar) String

type MetricsData_Distribution_ExplicitBuckets

type MetricsData_Distribution_ExplicitBuckets struct {
	ExplicitBuckets *MetricsData_Distribution_ExplicitOptions `protobuf:"bytes,8,opt,name=explicit_buckets,json=explicitBuckets,oneof"`
}

type MetricsData_Distribution_ExplicitOptions

type MetricsData_Distribution_ExplicitOptions struct {
	Bound []float64 `protobuf:"fixed64,1,rep,packed,name=bound" json:"bound,omitempty"`
	// contains filtered or unexported fields
}

func (*MetricsData_Distribution_ExplicitOptions) Descriptor deprecated

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

Deprecated: Use MetricsData_Distribution_ExplicitOptions.ProtoReflect.Descriptor instead.

func (*MetricsData_Distribution_ExplicitOptions) GetBound

func (*MetricsData_Distribution_ExplicitOptions) ProtoMessage

func (*MetricsData_Distribution_ExplicitOptions) ProtoReflect

func (*MetricsData_Distribution_ExplicitOptions) Reset

func (*MetricsData_Distribution_ExplicitOptions) String

type MetricsData_Distribution_ExponentialBuckets

type MetricsData_Distribution_ExponentialBuckets struct {
	ExponentialBuckets *MetricsData_Distribution_ExponentialOptions `protobuf:"bytes,7,opt,name=exponential_buckets,json=exponentialBuckets,oneof"`
}

type MetricsData_Distribution_ExponentialOptions

type MetricsData_Distribution_ExponentialOptions struct {
	NumFiniteBuckets *int32   `protobuf:"varint,1,opt,name=num_finite_buckets,json=numFiniteBuckets" json:"num_finite_buckets,omitempty"`
	GrowthFactor     *float64 `protobuf:"fixed64,2,opt,name=growth_factor,json=growthFactor" json:"growth_factor,omitempty"`
	Scale            *float64 `protobuf:"fixed64,3,opt,name=scale" json:"scale,omitempty"`
	// contains filtered or unexported fields
}

func (*MetricsData_Distribution_ExponentialOptions) Descriptor deprecated

Deprecated: Use MetricsData_Distribution_ExponentialOptions.ProtoReflect.Descriptor instead.

func (*MetricsData_Distribution_ExponentialOptions) GetGrowthFactor

func (*MetricsData_Distribution_ExponentialOptions) GetNumFiniteBuckets

func (x *MetricsData_Distribution_ExponentialOptions) GetNumFiniteBuckets() int32

func (*MetricsData_Distribution_ExponentialOptions) GetScale

func (*MetricsData_Distribution_ExponentialOptions) ProtoMessage

func (*MetricsData_Distribution_ExponentialOptions) ProtoReflect

func (*MetricsData_Distribution_ExponentialOptions) Reset

func (*MetricsData_Distribution_ExponentialOptions) String

type MetricsData_Distribution_LinearBuckets

type MetricsData_Distribution_LinearBuckets struct {
	LinearBuckets *MetricsData_Distribution_LinearOptions `protobuf:"bytes,6,opt,name=linear_buckets,json=linearBuckets,oneof"`
}

type MetricsData_Distribution_LinearOptions

type MetricsData_Distribution_LinearOptions struct {
	NumFiniteBuckets *int32   `protobuf:"varint,1,opt,name=num_finite_buckets,json=numFiniteBuckets" json:"num_finite_buckets,omitempty"`
	Width            *float64 `protobuf:"fixed64,2,opt,name=width" json:"width,omitempty"`
	Offset           *float64 `protobuf:"fixed64,3,opt,name=offset" json:"offset,omitempty"`
	// contains filtered or unexported fields
}

func (*MetricsData_Distribution_LinearOptions) Descriptor deprecated

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

Deprecated: Use MetricsData_Distribution_LinearOptions.ProtoReflect.Descriptor instead.

func (*MetricsData_Distribution_LinearOptions) GetNumFiniteBuckets

func (x *MetricsData_Distribution_LinearOptions) GetNumFiniteBuckets() int32

func (*MetricsData_Distribution_LinearOptions) GetOffset

func (*MetricsData_Distribution_LinearOptions) GetWidth

func (*MetricsData_Distribution_LinearOptions) ProtoMessage

func (*MetricsData_Distribution_LinearOptions) ProtoReflect

func (*MetricsData_Distribution_LinearOptions) Reset

func (*MetricsData_Distribution_LinearOptions) String

type MetricsData_DoubleValue

type MetricsData_DoubleValue struct {
	DoubleValue float64 `protobuf:"fixed64,4,opt,name=double_value,json=doubleValue,oneof"`
}

type MetricsData_Int64Value

type MetricsData_Int64Value struct {
	Int64Value int64 `protobuf:"varint,3,opt,name=int64_value,json=int64Value,oneof"`
}

type MetricsData_MetricField

type MetricsData_MetricField struct {
	Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
	// Types that are assignable to Value:
	//
	//	*MetricsData_MetricField_StringValue
	//	*MetricsData_MetricField_Int64Value
	//	*MetricsData_MetricField_BoolValue
	Value isMetricsData_MetricField_Value `protobuf_oneof:"value"`
	// contains filtered or unexported fields
}

func (*MetricsData_MetricField) Descriptor deprecated

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

Deprecated: Use MetricsData_MetricField.ProtoReflect.Descriptor instead.

func (*MetricsData_MetricField) GetBoolValue

func (x *MetricsData_MetricField) GetBoolValue() bool

func (*MetricsData_MetricField) GetInt64Value

func (x *MetricsData_MetricField) GetInt64Value() int64

func (*MetricsData_MetricField) GetName

func (x *MetricsData_MetricField) GetName() string

func (*MetricsData_MetricField) GetStringValue

func (x *MetricsData_MetricField) GetStringValue() string

func (*MetricsData_MetricField) GetValue

func (m *MetricsData_MetricField) GetValue() isMetricsData_MetricField_Value

func (*MetricsData_MetricField) ProtoMessage

func (*MetricsData_MetricField) ProtoMessage()

func (*MetricsData_MetricField) ProtoReflect

func (x *MetricsData_MetricField) ProtoReflect() protoreflect.Message

func (*MetricsData_MetricField) Reset

func (x *MetricsData_MetricField) Reset()

func (*MetricsData_MetricField) String

func (x *MetricsData_MetricField) String() string

type MetricsData_MetricField_BoolValue

type MetricsData_MetricField_BoolValue struct {
	BoolValue bool `protobuf:"varint,4,opt,name=bool_value,json=boolValue,oneof"`
}

type MetricsData_MetricField_Int64Value

type MetricsData_MetricField_Int64Value struct {
	Int64Value int64 `protobuf:"varint,3,opt,name=int64_value,json=int64Value,oneof"`
}

type MetricsData_MetricField_StringValue

type MetricsData_MetricField_StringValue struct {
	StringValue string `protobuf:"bytes,2,opt,name=string_value,json=stringValue,oneof"`
}

type MetricsData_StringValue

type MetricsData_StringValue struct {
	StringValue string `protobuf:"bytes,2,opt,name=string_value,json=stringValue,oneof"`
}

type MetricsPayload

type MetricsPayload struct {
	MetricsCollection []*MetricsCollection `protobuf:"bytes,1,rep,name=metrics_collection,json=metricsCollection" json:"metrics_collection,omitempty"`
	// contains filtered or unexported fields
}

func (*MetricsPayload) Descriptor deprecated

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

Deprecated: Use MetricsPayload.ProtoReflect.Descriptor instead.

func (*MetricsPayload) GetMetricsCollection

func (x *MetricsPayload) GetMetricsCollection() []*MetricsCollection

func (*MetricsPayload) ProtoMessage

func (*MetricsPayload) ProtoMessage()

func (*MetricsPayload) ProtoReflect

func (x *MetricsPayload) ProtoReflect() protoreflect.Message

func (*MetricsPayload) Reset

func (x *MetricsPayload) Reset()

func (*MetricsPayload) String

func (x *MetricsPayload) String() string

type MonitoringInsertRequest

type MonitoringInsertRequest struct {
	Payload *MetricsPayload `protobuf:"bytes,2,opt,name=payload,proto3" json:"payload,omitempty"`
	// contains filtered or unexported fields
}

func (*MonitoringInsertRequest) Descriptor deprecated

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

Deprecated: Use MonitoringInsertRequest.ProtoReflect.Descriptor instead.

func (*MonitoringInsertRequest) GetPayload

func (x *MonitoringInsertRequest) GetPayload() *MetricsPayload

func (*MonitoringInsertRequest) ProtoMessage

func (*MonitoringInsertRequest) ProtoMessage()

func (*MonitoringInsertRequest) ProtoReflect

func (x *MonitoringInsertRequest) ProtoReflect() protoreflect.Message

func (*MonitoringInsertRequest) Reset

func (x *MonitoringInsertRequest) Reset()

func (*MonitoringInsertRequest) String

func (x *MonitoringInsertRequest) String() string

type MonitoringInsertResponse

type MonitoringInsertResponse struct {
	ResponseStatus *status.Status `protobuf:"bytes,1,opt,name=response_status,json=responseStatus,proto3" json:"response_status,omitempty"`
	// contains filtered or unexported fields
}

func (*MonitoringInsertResponse) Descriptor deprecated

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

Deprecated: Use MonitoringInsertResponse.ProtoReflect.Descriptor instead.

func (*MonitoringInsertResponse) GetResponseStatus

func (x *MonitoringInsertResponse) GetResponseStatus() *status.Status

func (*MonitoringInsertResponse) ProtoMessage

func (*MonitoringInsertResponse) ProtoMessage()

func (*MonitoringInsertResponse) ProtoReflect

func (x *MonitoringInsertResponse) ProtoReflect() protoreflect.Message

func (*MonitoringInsertResponse) Reset

func (x *MonitoringInsertResponse) Reset()

func (*MonitoringInsertResponse) String

func (x *MonitoringInsertResponse) String() string

type MonitoringServiceClient

type MonitoringServiceClient interface {
	Insert(ctx context.Context, in *MonitoringInsertRequest, opts ...grpc.CallOption) (*MonitoringInsertResponse, error)
}

MonitoringServiceClient is the client API for MonitoringService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewMonitoringServicePRPCClient

func NewMonitoringServicePRPCClient(client *prpc.Client) MonitoringServiceClient

type MonitoringServiceServer

type MonitoringServiceServer interface {
	Insert(context.Context, *MonitoringInsertRequest) (*MonitoringInsertResponse, error)
}

MonitoringServiceServer is the server API for MonitoringService service.

type Request

type Request struct {
	Payload *MetricsPayload `protobuf:"bytes,1,opt,name=payload" json:"payload,omitempty"`
	// contains filtered or unexported fields
}

func (*Request) Descriptor deprecated

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

Deprecated: Use Request.ProtoReflect.Descriptor instead.

func (*Request) GetPayload

func (x *Request) GetPayload() *MetricsPayload

func (*Request) ProtoMessage

func (*Request) ProtoMessage()

func (*Request) ProtoReflect

func (x *Request) ProtoReflect() protoreflect.Message

func (*Request) Reset

func (x *Request) Reset()

func (*Request) String

func (x *Request) String() string

type StreamKind

type StreamKind int32
const (
	StreamKind_GAUGE      StreamKind = 0
	StreamKind_CUMULATIVE StreamKind = 1
	StreamKind_DELTA      StreamKind = 2
)

func (StreamKind) Descriptor

func (StreamKind) Descriptor() protoreflect.EnumDescriptor

func (StreamKind) Enum

func (x StreamKind) Enum() *StreamKind

func (StreamKind) EnumDescriptor deprecated

func (StreamKind) EnumDescriptor() ([]byte, []int)

Deprecated: Use StreamKind.Descriptor instead.

func (StreamKind) Number

func (x StreamKind) Number() protoreflect.EnumNumber

func (StreamKind) String

func (x StreamKind) String() string

func (StreamKind) Type

func (*StreamKind) UnmarshalJSON deprecated

func (x *StreamKind) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type UnimplementedMonitoringServiceServer

type UnimplementedMonitoringServiceServer struct {
}

UnimplementedMonitoringServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedMonitoringServiceServer) Insert

type ValueType

type ValueType int32
const (
	ValueType_BOOL         ValueType = 0
	ValueType_STRING       ValueType = 1
	ValueType_INT64        ValueType = 2
	ValueType_DOUBLE       ValueType = 3
	ValueType_DISTRIBUTION ValueType = 4
)

func (ValueType) Descriptor

func (ValueType) Descriptor() protoreflect.EnumDescriptor

func (ValueType) Enum

func (x ValueType) Enum() *ValueType

func (ValueType) EnumDescriptor deprecated

func (ValueType) EnumDescriptor() ([]byte, []int)

Deprecated: Use ValueType.Descriptor instead.

func (ValueType) Number

func (x ValueType) Number() protoreflect.EnumNumber

func (ValueType) String

func (x ValueType) String() string

func (ValueType) Type

func (*ValueType) UnmarshalJSON deprecated

func (x *ValueType) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

Jump to

Keyboard shortcuts

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