Documentation ¶
Overview ¶
Package metricpb is a generated protocol buffer package.
It is generated from these files:
github.com/m3db/m3/src/metrics/generated/proto/metricpb/composite.proto github.com/m3db/m3/src/metrics/generated/proto/metricpb/metadata.proto github.com/m3db/m3/src/metrics/generated/proto/metricpb/metric.proto
It has these top-level messages:
CounterWithMetadatas BatchTimerWithMetadatas GaugeWithMetadatas ForwardedMetricWithMetadata TimedMetricWithMetadata TimedMetricWithMetadatas TimedMetricWithStoragePolicy AggregatedMetric MetricWithMetadatas PipelineMetadata Metadata StagedMetadata StagedMetadatas ForwardMetadata TimedMetadata Counter BatchTimer Gauge TimedMetric ForwardedMetric Tag
Index ¶
- Variables
- type AggregatedMetric
- func (*AggregatedMetric) Descriptor() ([]byte, []int)
- func (m *AggregatedMetric) GetEncodeNanos() int64
- func (m *AggregatedMetric) GetMetric() TimedMetricWithStoragePolicy
- func (m *AggregatedMetric) Marshal() (dAtA []byte, err error)
- func (m *AggregatedMetric) MarshalTo(dAtA []byte) (int, error)
- func (*AggregatedMetric) ProtoMessage()
- func (m *AggregatedMetric) Reset()
- func (m *AggregatedMetric) Size() (n int)
- func (m *AggregatedMetric) String() string
- func (m *AggregatedMetric) Unmarshal(dAtA []byte) error
- type BatchTimer
- func (*BatchTimer) Descriptor() ([]byte, []int)
- func (m *BatchTimer) GetAnnotation() []byte
- func (m *BatchTimer) GetClientTimeNanos() int64
- func (m *BatchTimer) GetId() []byte
- func (m *BatchTimer) GetValues() []float64
- func (m *BatchTimer) Marshal() (dAtA []byte, err error)
- func (m *BatchTimer) MarshalTo(dAtA []byte) (int, error)
- func (*BatchTimer) ProtoMessage()
- func (m *BatchTimer) Reset()
- func (m *BatchTimer) Size() (n int)
- func (m *BatchTimer) String() string
- func (m *BatchTimer) Unmarshal(dAtA []byte) error
- type BatchTimerWithMetadatas
- func (*BatchTimerWithMetadatas) Descriptor() ([]byte, []int)
- func (m *BatchTimerWithMetadatas) GetBatchTimer() BatchTimer
- func (m *BatchTimerWithMetadatas) GetMetadatas() StagedMetadatas
- func (m *BatchTimerWithMetadatas) Marshal() (dAtA []byte, err error)
- func (m *BatchTimerWithMetadatas) MarshalTo(dAtA []byte) (int, error)
- func (*BatchTimerWithMetadatas) ProtoMessage()
- func (m *BatchTimerWithMetadatas) Reset()
- func (m *BatchTimerWithMetadatas) Size() (n int)
- func (m *BatchTimerWithMetadatas) String() string
- func (m *BatchTimerWithMetadatas) Unmarshal(dAtA []byte) error
- type Counter
- func (*Counter) Descriptor() ([]byte, []int)
- func (m *Counter) GetAnnotation() []byte
- func (m *Counter) GetClientTimeNanos() int64
- func (m *Counter) GetId() []byte
- func (m *Counter) GetValue() int64
- func (m *Counter) Marshal() (dAtA []byte, err error)
- func (m *Counter) MarshalTo(dAtA []byte) (int, error)
- func (*Counter) ProtoMessage()
- func (m *Counter) Reset()
- func (m *Counter) Size() (n int)
- func (m *Counter) String() string
- func (m *Counter) Unmarshal(dAtA []byte) error
- type CounterWithMetadatas
- func (*CounterWithMetadatas) Descriptor() ([]byte, []int)
- func (m *CounterWithMetadatas) GetCounter() Counter
- func (m *CounterWithMetadatas) GetMetadatas() StagedMetadatas
- func (m *CounterWithMetadatas) Marshal() (dAtA []byte, err error)
- func (m *CounterWithMetadatas) MarshalTo(dAtA []byte) (int, error)
- func (*CounterWithMetadatas) ProtoMessage()
- func (m *CounterWithMetadatas) Reset()
- func (m *CounterWithMetadatas) Size() (n int)
- func (m *CounterWithMetadatas) String() string
- func (m *CounterWithMetadatas) Unmarshal(dAtA []byte) error
- type ForwardMetadata
- func (*ForwardMetadata) Descriptor() ([]byte, []int)
- func (m *ForwardMetadata) GetAggregationId() aggregationpb.AggregationID
- func (m *ForwardMetadata) GetNumForwardedTimes() int32
- func (m *ForwardMetadata) GetPipeline() pipelinepb.AppliedPipeline
- func (m *ForwardMetadata) GetResendEnabled() bool
- func (m *ForwardMetadata) GetSourceId() uint32
- func (m *ForwardMetadata) GetStoragePolicy() policypb.StoragePolicy
- func (m *ForwardMetadata) Marshal() (dAtA []byte, err error)
- func (m *ForwardMetadata) MarshalTo(dAtA []byte) (int, error)
- func (*ForwardMetadata) ProtoMessage()
- func (m *ForwardMetadata) Reset()
- func (m *ForwardMetadata) Size() (n int)
- func (m *ForwardMetadata) String() string
- func (m *ForwardMetadata) Unmarshal(dAtA []byte) error
- type ForwardedMetric
- func (*ForwardedMetric) Descriptor() ([]byte, []int)
- func (m *ForwardedMetric) GetAnnotation() []byte
- func (m *ForwardedMetric) GetId() []byte
- func (m *ForwardedMetric) GetPrevValues() []float64
- func (m *ForwardedMetric) GetTimeNanos() int64
- func (m *ForwardedMetric) GetType() MetricType
- func (m *ForwardedMetric) GetValues() []float64
- func (m *ForwardedMetric) GetVersion() uint32
- func (m *ForwardedMetric) Marshal() (dAtA []byte, err error)
- func (m *ForwardedMetric) MarshalTo(dAtA []byte) (int, error)
- func (*ForwardedMetric) ProtoMessage()
- func (m *ForwardedMetric) Reset()
- func (m *ForwardedMetric) Size() (n int)
- func (m *ForwardedMetric) String() string
- func (m *ForwardedMetric) Unmarshal(dAtA []byte) error
- type ForwardedMetricWithMetadata
- func (*ForwardedMetricWithMetadata) Descriptor() ([]byte, []int)
- func (m *ForwardedMetricWithMetadata) GetMetadata() ForwardMetadata
- func (m *ForwardedMetricWithMetadata) GetMetric() ForwardedMetric
- func (m *ForwardedMetricWithMetadata) Marshal() (dAtA []byte, err error)
- func (m *ForwardedMetricWithMetadata) MarshalTo(dAtA []byte) (int, error)
- func (*ForwardedMetricWithMetadata) ProtoMessage()
- func (m *ForwardedMetricWithMetadata) Reset()
- func (m *ForwardedMetricWithMetadata) Size() (n int)
- func (m *ForwardedMetricWithMetadata) String() string
- func (m *ForwardedMetricWithMetadata) Unmarshal(dAtA []byte) error
- type Gauge
- func (*Gauge) Descriptor() ([]byte, []int)
- func (m *Gauge) GetAnnotation() []byte
- func (m *Gauge) GetClientTimeNanos() int64
- func (m *Gauge) GetId() []byte
- func (m *Gauge) GetValue() float64
- func (m *Gauge) Marshal() (dAtA []byte, err error)
- func (m *Gauge) MarshalTo(dAtA []byte) (int, error)
- func (*Gauge) ProtoMessage()
- func (m *Gauge) Reset()
- func (m *Gauge) Size() (n int)
- func (m *Gauge) String() string
- func (m *Gauge) Unmarshal(dAtA []byte) error
- type GaugeWithMetadatas
- func (*GaugeWithMetadatas) Descriptor() ([]byte, []int)
- func (m *GaugeWithMetadatas) GetGauge() Gauge
- func (m *GaugeWithMetadatas) GetMetadatas() StagedMetadatas
- func (m *GaugeWithMetadatas) Marshal() (dAtA []byte, err error)
- func (m *GaugeWithMetadatas) MarshalTo(dAtA []byte) (int, error)
- func (*GaugeWithMetadatas) ProtoMessage()
- func (m *GaugeWithMetadatas) Reset()
- func (m *GaugeWithMetadatas) Size() (n int)
- func (m *GaugeWithMetadatas) String() string
- func (m *GaugeWithMetadatas) Unmarshal(dAtA []byte) error
- type Metadata
- func (*Metadata) Descriptor() ([]byte, []int)
- func (m *Metadata) GetPipelines() []PipelineMetadata
- func (m *Metadata) Marshal() (dAtA []byte, err error)
- func (m *Metadata) MarshalTo(dAtA []byte) (int, error)
- func (*Metadata) ProtoMessage()
- func (m *Metadata) Reset()
- func (m *Metadata) Size() (n int)
- func (m *Metadata) String() string
- func (m *Metadata) Unmarshal(dAtA []byte) error
- type MetricType
- type MetricWithMetadatas
- func (*MetricWithMetadatas) Descriptor() ([]byte, []int)
- func (m *MetricWithMetadatas) GetBatchTimerWithMetadatas() *BatchTimerWithMetadatas
- func (m *MetricWithMetadatas) GetCounterWithMetadatas() *CounterWithMetadatas
- func (m *MetricWithMetadatas) GetForwardedMetricWithMetadata() *ForwardedMetricWithMetadata
- func (m *MetricWithMetadatas) GetGaugeWithMetadatas() *GaugeWithMetadatas
- func (m *MetricWithMetadatas) GetTimedMetricWithMetadata() *TimedMetricWithMetadata
- func (m *MetricWithMetadatas) GetTimedMetricWithMetadatas() *TimedMetricWithMetadatas
- func (m *MetricWithMetadatas) GetTimedMetricWithStoragePolicy() *TimedMetricWithStoragePolicy
- func (m *MetricWithMetadatas) GetType() MetricWithMetadatas_Type
- func (m *MetricWithMetadatas) Marshal() (dAtA []byte, err error)
- func (m *MetricWithMetadatas) MarshalTo(dAtA []byte) (int, error)
- func (*MetricWithMetadatas) ProtoMessage()
- func (m *MetricWithMetadatas) Reset()
- func (m *MetricWithMetadatas) Size() (n int)
- func (m *MetricWithMetadatas) String() string
- func (m *MetricWithMetadatas) Unmarshal(dAtA []byte) error
- type MetricWithMetadatas_Type
- type PipelineMetadata
- func (*PipelineMetadata) Descriptor() ([]byte, []int)
- func (m *PipelineMetadata) GetAggregationId() aggregationpb.AggregationID
- func (m *PipelineMetadata) GetDropPolicy() policypb.DropPolicy
- func (m *PipelineMetadata) GetPipeline() pipelinepb.AppliedPipeline
- func (m *PipelineMetadata) GetResendEnabled() bool
- func (m *PipelineMetadata) GetStoragePolicies() []policypb.StoragePolicy
- func (m *PipelineMetadata) Marshal() (dAtA []byte, err error)
- func (m *PipelineMetadata) MarshalTo(dAtA []byte) (int, error)
- func (*PipelineMetadata) ProtoMessage()
- func (m *PipelineMetadata) Reset()
- func (m *PipelineMetadata) Size() (n int)
- func (m *PipelineMetadata) String() string
- func (m *PipelineMetadata) Unmarshal(dAtA []byte) error
- type StagedMetadata
- func (*StagedMetadata) Descriptor() ([]byte, []int)
- func (m *StagedMetadata) GetCutoverNanos() int64
- func (m *StagedMetadata) GetMetadata() Metadata
- func (m *StagedMetadata) GetTombstoned() bool
- func (m *StagedMetadata) Marshal() (dAtA []byte, err error)
- func (m *StagedMetadata) MarshalTo(dAtA []byte) (int, error)
- func (*StagedMetadata) ProtoMessage()
- func (m *StagedMetadata) Reset()
- func (m *StagedMetadata) Size() (n int)
- func (m *StagedMetadata) String() string
- func (m *StagedMetadata) Unmarshal(dAtA []byte) error
- type StagedMetadatas
- func (*StagedMetadatas) Descriptor() ([]byte, []int)
- func (m *StagedMetadatas) GetMetadatas() []StagedMetadata
- func (m *StagedMetadatas) Marshal() (dAtA []byte, err error)
- func (m *StagedMetadatas) MarshalTo(dAtA []byte) (int, error)
- func (*StagedMetadatas) ProtoMessage()
- func (m *StagedMetadatas) Reset()
- func (m *StagedMetadatas) Reuse()
- func (m *StagedMetadatas) Size() (n int)
- func (m *StagedMetadatas) String() string
- func (m *StagedMetadatas) Unmarshal(dAtA []byte) error
- type Tag
- func (*Tag) Descriptor() ([]byte, []int)
- func (m *Tag) GetName() []byte
- func (m *Tag) GetValue() []byte
- func (m *Tag) Marshal() (dAtA []byte, err error)
- func (m *Tag) MarshalTo(dAtA []byte) (int, error)
- func (*Tag) ProtoMessage()
- func (m *Tag) Reset()
- func (m *Tag) Size() (n int)
- func (m *Tag) String() string
- func (m *Tag) Unmarshal(dAtA []byte) error
- type TimedMetadata
- func (*TimedMetadata) Descriptor() ([]byte, []int)
- func (m *TimedMetadata) GetAggregationId() aggregationpb.AggregationID
- func (m *TimedMetadata) GetStoragePolicy() policypb.StoragePolicy
- func (m *TimedMetadata) Marshal() (dAtA []byte, err error)
- func (m *TimedMetadata) MarshalTo(dAtA []byte) (int, error)
- func (*TimedMetadata) ProtoMessage()
- func (m *TimedMetadata) Reset()
- func (m *TimedMetadata) Size() (n int)
- func (m *TimedMetadata) String() string
- func (m *TimedMetadata) Unmarshal(dAtA []byte) error
- type TimedMetric
- func (*TimedMetric) Descriptor() ([]byte, []int)
- func (m *TimedMetric) GetAnnotation() []byte
- func (m *TimedMetric) GetId() []byte
- func (m *TimedMetric) GetTimeNanos() int64
- func (m *TimedMetric) GetType() MetricType
- func (m *TimedMetric) GetValue() float64
- func (m *TimedMetric) Marshal() (dAtA []byte, err error)
- func (m *TimedMetric) MarshalTo(dAtA []byte) (int, error)
- func (*TimedMetric) ProtoMessage()
- func (m *TimedMetric) Reset()
- func (m *TimedMetric) Size() (n int)
- func (m *TimedMetric) String() string
- func (m *TimedMetric) Unmarshal(dAtA []byte) error
- type TimedMetricWithMetadata
- func (*TimedMetricWithMetadata) Descriptor() ([]byte, []int)
- func (m *TimedMetricWithMetadata) GetMetadata() TimedMetadata
- func (m *TimedMetricWithMetadata) GetMetric() TimedMetric
- func (m *TimedMetricWithMetadata) Marshal() (dAtA []byte, err error)
- func (m *TimedMetricWithMetadata) MarshalTo(dAtA []byte) (int, error)
- func (*TimedMetricWithMetadata) ProtoMessage()
- func (m *TimedMetricWithMetadata) Reset()
- func (m *TimedMetricWithMetadata) Size() (n int)
- func (m *TimedMetricWithMetadata) String() string
- func (m *TimedMetricWithMetadata) Unmarshal(dAtA []byte) error
- type TimedMetricWithMetadatas
- func (*TimedMetricWithMetadatas) Descriptor() ([]byte, []int)
- func (m *TimedMetricWithMetadatas) GetMetadatas() StagedMetadatas
- func (m *TimedMetricWithMetadatas) GetMetric() TimedMetric
- func (m *TimedMetricWithMetadatas) Marshal() (dAtA []byte, err error)
- func (m *TimedMetricWithMetadatas) MarshalTo(dAtA []byte) (int, error)
- func (*TimedMetricWithMetadatas) ProtoMessage()
- func (m *TimedMetricWithMetadatas) Reset()
- func (m *TimedMetricWithMetadatas) Size() (n int)
- func (m *TimedMetricWithMetadatas) String() string
- func (m *TimedMetricWithMetadatas) Unmarshal(dAtA []byte) error
- type TimedMetricWithStoragePolicy
- func (*TimedMetricWithStoragePolicy) Descriptor() ([]byte, []int)
- func (m *TimedMetricWithStoragePolicy) GetStoragePolicy() policypb.StoragePolicy
- func (m *TimedMetricWithStoragePolicy) GetTimedMetric() TimedMetric
- func (m *TimedMetricWithStoragePolicy) Marshal() (dAtA []byte, err error)
- func (m *TimedMetricWithStoragePolicy) MarshalTo(dAtA []byte) (int, error)
- func (*TimedMetricWithStoragePolicy) ProtoMessage()
- func (m *TimedMetricWithStoragePolicy) Reset()
- func (m *TimedMetricWithStoragePolicy) Size() (n int)
- func (m *TimedMetricWithStoragePolicy) String() string
- func (m *TimedMetricWithStoragePolicy) Unmarshal(dAtA []byte) error
Constants ¶
This section is empty.
Variables ¶
var ( ErrInvalidLengthComposite = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowComposite = fmt.Errorf("proto: integer overflow") )
var ( ErrInvalidLengthMetadata = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowMetadata = fmt.Errorf("proto: integer overflow") )
var ( ErrInvalidLengthMetric = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowMetric = fmt.Errorf("proto: integer overflow") )
var MetricType_name = map[int32]string{
0: "UNKNOWN",
1: "COUNTER",
2: "TIMER",
3: "GAUGE",
}
var MetricType_value = map[string]int32{
"UNKNOWN": 0,
"COUNTER": 1,
"TIMER": 2,
"GAUGE": 3,
}
var MetricWithMetadatas_Type_name = map[int32]string{
0: "UNKNOWN",
1: "COUNTER_WITH_METADATAS",
2: "BATCH_TIMER_WITH_METADATAS",
3: "GAUGE_WITH_METADATAS",
4: "FORWARDED_METRIC_WITH_METADATA",
5: "TIMED_METRIC_WITH_METADATA",
6: "TIMED_METRIC_WITH_METADATAS",
7: "TIMED_METRIC_WITH_STORAGE_POLICY",
}
var MetricWithMetadatas_Type_value = map[string]int32{
"UNKNOWN": 0,
"COUNTER_WITH_METADATAS": 1,
"BATCH_TIMER_WITH_METADATAS": 2,
"GAUGE_WITH_METADATAS": 3,
"FORWARDED_METRIC_WITH_METADATA": 4,
"TIMED_METRIC_WITH_METADATA": 5,
"TIMED_METRIC_WITH_METADATAS": 6,
"TIMED_METRIC_WITH_STORAGE_POLICY": 7,
}
Functions ¶
This section is empty.
Types ¶
type AggregatedMetric ¶ added in v0.5.0
type AggregatedMetric struct { Metric TimedMetricWithStoragePolicy `protobuf:"bytes,1,opt,name=metric" json:"metric"` EncodeNanos int64 `protobuf:"varint,2,opt,name=encode_nanos,json=encodeNanos,proto3" json:"encode_nanos,omitempty"` }
func (*AggregatedMetric) Descriptor ¶ added in v0.5.0
func (*AggregatedMetric) Descriptor() ([]byte, []int)
func (*AggregatedMetric) GetEncodeNanos ¶ added in v0.5.0
func (m *AggregatedMetric) GetEncodeNanos() int64
func (*AggregatedMetric) GetMetric ¶ added in v0.5.0
func (m *AggregatedMetric) GetMetric() TimedMetricWithStoragePolicy
func (*AggregatedMetric) Marshal ¶ added in v0.5.0
func (m *AggregatedMetric) Marshal() (dAtA []byte, err error)
func (*AggregatedMetric) MarshalTo ¶ added in v0.5.0
func (m *AggregatedMetric) MarshalTo(dAtA []byte) (int, error)
func (*AggregatedMetric) ProtoMessage ¶ added in v0.5.0
func (*AggregatedMetric) ProtoMessage()
func (*AggregatedMetric) Reset ¶ added in v0.5.0
func (m *AggregatedMetric) Reset()
func (*AggregatedMetric) Size ¶ added in v0.5.0
func (m *AggregatedMetric) Size() (n int)
func (*AggregatedMetric) String ¶ added in v0.5.0
func (m *AggregatedMetric) String() string
func (*AggregatedMetric) Unmarshal ¶ added in v0.5.0
func (m *AggregatedMetric) Unmarshal(dAtA []byte) error
type BatchTimer ¶
type BatchTimer struct { Id []byte `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Values []float64 `protobuf:"fixed64,2,rep,packed,name=values" json:"values,omitempty"` Annotation []byte `protobuf:"bytes,3,opt,name=annotation,proto3" json:"annotation,omitempty"` ClientTimeNanos int64 `protobuf:"varint,4,opt,name=client_time_nanos,json=clientTimeNanos,proto3" json:"client_time_nanos,omitempty"` }
func (*BatchTimer) Descriptor ¶
func (*BatchTimer) Descriptor() ([]byte, []int)
func (*BatchTimer) GetAnnotation ¶ added in v1.2.0
func (m *BatchTimer) GetAnnotation() []byte
func (*BatchTimer) GetClientTimeNanos ¶ added in v1.2.0
func (m *BatchTimer) GetClientTimeNanos() int64
func (*BatchTimer) GetId ¶
func (m *BatchTimer) GetId() []byte
func (*BatchTimer) GetValues ¶
func (m *BatchTimer) GetValues() []float64
func (*BatchTimer) Marshal ¶
func (m *BatchTimer) Marshal() (dAtA []byte, err error)
func (*BatchTimer) ProtoMessage ¶
func (*BatchTimer) ProtoMessage()
func (*BatchTimer) Reset ¶
func (m *BatchTimer) Reset()
func (*BatchTimer) Size ¶
func (m *BatchTimer) Size() (n int)
func (*BatchTimer) String ¶
func (m *BatchTimer) String() string
func (*BatchTimer) Unmarshal ¶
func (m *BatchTimer) Unmarshal(dAtA []byte) error
type BatchTimerWithMetadatas ¶
type BatchTimerWithMetadatas struct { BatchTimer BatchTimer `protobuf:"bytes,1,opt,name=batch_timer,json=batchTimer" json:"batch_timer"` Metadatas StagedMetadatas `protobuf:"bytes,2,opt,name=metadatas" json:"metadatas"` }
func (*BatchTimerWithMetadatas) Descriptor ¶
func (*BatchTimerWithMetadatas) Descriptor() ([]byte, []int)
func (*BatchTimerWithMetadatas) GetBatchTimer ¶
func (m *BatchTimerWithMetadatas) GetBatchTimer() BatchTimer
func (*BatchTimerWithMetadatas) GetMetadatas ¶
func (m *BatchTimerWithMetadatas) GetMetadatas() StagedMetadatas
func (*BatchTimerWithMetadatas) Marshal ¶
func (m *BatchTimerWithMetadatas) Marshal() (dAtA []byte, err error)
func (*BatchTimerWithMetadatas) MarshalTo ¶
func (m *BatchTimerWithMetadatas) MarshalTo(dAtA []byte) (int, error)
func (*BatchTimerWithMetadatas) ProtoMessage ¶
func (*BatchTimerWithMetadatas) ProtoMessage()
func (*BatchTimerWithMetadatas) Reset ¶
func (m *BatchTimerWithMetadatas) Reset()
func (*BatchTimerWithMetadatas) Size ¶
func (m *BatchTimerWithMetadatas) Size() (n int)
func (*BatchTimerWithMetadatas) String ¶
func (m *BatchTimerWithMetadatas) String() string
func (*BatchTimerWithMetadatas) Unmarshal ¶
func (m *BatchTimerWithMetadatas) Unmarshal(dAtA []byte) error
type Counter ¶
type Counter struct { Id []byte `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Value int64 `protobuf:"varint,2,opt,name=value,proto3" json:"value,omitempty"` Annotation []byte `protobuf:"bytes,3,opt,name=annotation,proto3" json:"annotation,omitempty"` ClientTimeNanos int64 `protobuf:"varint,4,opt,name=client_time_nanos,json=clientTimeNanos,proto3" json:"client_time_nanos,omitempty"` }
func (*Counter) Descriptor ¶
func (*Counter) GetAnnotation ¶ added in v1.2.0
func (*Counter) GetClientTimeNanos ¶ added in v1.2.0
func (*Counter) ProtoMessage ¶
func (*Counter) ProtoMessage()
type CounterWithMetadatas ¶
type CounterWithMetadatas struct { Counter Counter `protobuf:"bytes,1,opt,name=counter" json:"counter"` Metadatas StagedMetadatas `protobuf:"bytes,2,opt,name=metadatas" json:"metadatas"` }
func (*CounterWithMetadatas) Descriptor ¶
func (*CounterWithMetadatas) Descriptor() ([]byte, []int)
func (*CounterWithMetadatas) GetCounter ¶
func (m *CounterWithMetadatas) GetCounter() Counter
func (*CounterWithMetadatas) GetMetadatas ¶
func (m *CounterWithMetadatas) GetMetadatas() StagedMetadatas
func (*CounterWithMetadatas) Marshal ¶
func (m *CounterWithMetadatas) Marshal() (dAtA []byte, err error)
func (*CounterWithMetadatas) MarshalTo ¶
func (m *CounterWithMetadatas) MarshalTo(dAtA []byte) (int, error)
func (*CounterWithMetadatas) ProtoMessage ¶
func (*CounterWithMetadatas) ProtoMessage()
func (*CounterWithMetadatas) Reset ¶
func (m *CounterWithMetadatas) Reset()
func (*CounterWithMetadatas) Size ¶
func (m *CounterWithMetadatas) Size() (n int)
func (*CounterWithMetadatas) String ¶
func (m *CounterWithMetadatas) String() string
func (*CounterWithMetadatas) Unmarshal ¶
func (m *CounterWithMetadatas) Unmarshal(dAtA []byte) error
type ForwardMetadata ¶
type ForwardMetadata struct { AggregationId aggregationpb.AggregationID `protobuf:"bytes,1,opt,name=aggregation_id,json=aggregationId" json:"aggregation_id"` StoragePolicy policypb.StoragePolicy `protobuf:"bytes,2,opt,name=storage_policy,json=storagePolicy" json:"storage_policy"` Pipeline pipelinepb.AppliedPipeline `protobuf:"bytes,3,opt,name=pipeline" json:"pipeline"` SourceId uint32 `protobuf:"varint,4,opt,name=source_id,json=sourceId,proto3" json:"source_id,omitempty"` NumForwardedTimes int32 `protobuf:"varint,5,opt,name=num_forwarded_times,json=numForwardedTimes,proto3" json:"num_forwarded_times,omitempty"` ResendEnabled bool `protobuf:"varint,6,opt,name=resend_enabled,json=resendEnabled,proto3" json:"resend_enabled,omitempty"` }
func (*ForwardMetadata) Descriptor ¶
func (*ForwardMetadata) Descriptor() ([]byte, []int)
func (*ForwardMetadata) GetAggregationId ¶
func (m *ForwardMetadata) GetAggregationId() aggregationpb.AggregationID
func (*ForwardMetadata) GetNumForwardedTimes ¶
func (m *ForwardMetadata) GetNumForwardedTimes() int32
func (*ForwardMetadata) GetPipeline ¶
func (m *ForwardMetadata) GetPipeline() pipelinepb.AppliedPipeline
func (*ForwardMetadata) GetResendEnabled ¶ added in v1.2.0
func (m *ForwardMetadata) GetResendEnabled() bool
func (*ForwardMetadata) GetSourceId ¶
func (m *ForwardMetadata) GetSourceId() uint32
func (*ForwardMetadata) GetStoragePolicy ¶
func (m *ForwardMetadata) GetStoragePolicy() policypb.StoragePolicy
func (*ForwardMetadata) Marshal ¶
func (m *ForwardMetadata) Marshal() (dAtA []byte, err error)
func (*ForwardMetadata) ProtoMessage ¶
func (*ForwardMetadata) ProtoMessage()
func (*ForwardMetadata) Reset ¶
func (m *ForwardMetadata) Reset()
func (*ForwardMetadata) Size ¶
func (m *ForwardMetadata) Size() (n int)
func (*ForwardMetadata) String ¶
func (m *ForwardMetadata) String() string
func (*ForwardMetadata) Unmarshal ¶
func (m *ForwardMetadata) Unmarshal(dAtA []byte) error
type ForwardedMetric ¶
type ForwardedMetric struct { Type MetricType `protobuf:"varint,1,opt,name=type,proto3,enum=metricpb.MetricType" json:"type,omitempty"` Id []byte `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` TimeNanos int64 `protobuf:"varint,3,opt,name=time_nanos,json=timeNanos,proto3" json:"time_nanos,omitempty"` // values and prev_values are the same length. a given index to the arrays // gives the tuple (value, prev_value) for a given forwarded value. Values []float64 `protobuf:"fixed64,4,rep,packed,name=values" json:"values,omitempty"` PrevValues []float64 `protobuf:"fixed64,6,rep,packed,name=prev_values,json=prevValues" json:"prev_values,omitempty"` Annotation []byte `protobuf:"bytes,5,opt,name=annotation,proto3" json:"annotation,omitempty"` Version uint32 `protobuf:"varint,7,opt,name=version,proto3" json:"version,omitempty"` }
func (*ForwardedMetric) Descriptor ¶
func (*ForwardedMetric) Descriptor() ([]byte, []int)
func (*ForwardedMetric) GetAnnotation ¶ added in v1.2.0
func (m *ForwardedMetric) GetAnnotation() []byte
func (*ForwardedMetric) GetId ¶
func (m *ForwardedMetric) GetId() []byte
func (*ForwardedMetric) GetPrevValues ¶ added in v1.2.0
func (m *ForwardedMetric) GetPrevValues() []float64
func (*ForwardedMetric) GetTimeNanos ¶
func (m *ForwardedMetric) GetTimeNanos() int64
func (*ForwardedMetric) GetType ¶
func (m *ForwardedMetric) GetType() MetricType
func (*ForwardedMetric) GetValues ¶
func (m *ForwardedMetric) GetValues() []float64
func (*ForwardedMetric) GetVersion ¶ added in v1.2.0
func (m *ForwardedMetric) GetVersion() uint32
func (*ForwardedMetric) Marshal ¶
func (m *ForwardedMetric) Marshal() (dAtA []byte, err error)
func (*ForwardedMetric) ProtoMessage ¶
func (*ForwardedMetric) ProtoMessage()
func (*ForwardedMetric) Reset ¶
func (m *ForwardedMetric) Reset()
func (*ForwardedMetric) Size ¶
func (m *ForwardedMetric) Size() (n int)
func (*ForwardedMetric) String ¶
func (m *ForwardedMetric) String() string
func (*ForwardedMetric) Unmarshal ¶
func (m *ForwardedMetric) Unmarshal(dAtA []byte) error
type ForwardedMetricWithMetadata ¶
type ForwardedMetricWithMetadata struct { Metric ForwardedMetric `protobuf:"bytes,1,opt,name=metric" json:"metric"` Metadata ForwardMetadata `protobuf:"bytes,2,opt,name=metadata" json:"metadata"` }
func (*ForwardedMetricWithMetadata) Descriptor ¶
func (*ForwardedMetricWithMetadata) Descriptor() ([]byte, []int)
func (*ForwardedMetricWithMetadata) GetMetadata ¶
func (m *ForwardedMetricWithMetadata) GetMetadata() ForwardMetadata
func (*ForwardedMetricWithMetadata) GetMetric ¶
func (m *ForwardedMetricWithMetadata) GetMetric() ForwardedMetric
func (*ForwardedMetricWithMetadata) Marshal ¶
func (m *ForwardedMetricWithMetadata) Marshal() (dAtA []byte, err error)
func (*ForwardedMetricWithMetadata) MarshalTo ¶
func (m *ForwardedMetricWithMetadata) MarshalTo(dAtA []byte) (int, error)
func (*ForwardedMetricWithMetadata) ProtoMessage ¶
func (*ForwardedMetricWithMetadata) ProtoMessage()
func (*ForwardedMetricWithMetadata) Reset ¶
func (m *ForwardedMetricWithMetadata) Reset()
func (*ForwardedMetricWithMetadata) Size ¶
func (m *ForwardedMetricWithMetadata) Size() (n int)
func (*ForwardedMetricWithMetadata) String ¶
func (m *ForwardedMetricWithMetadata) String() string
func (*ForwardedMetricWithMetadata) Unmarshal ¶
func (m *ForwardedMetricWithMetadata) Unmarshal(dAtA []byte) error
type Gauge ¶
type Gauge struct { Id []byte `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Value float64 `protobuf:"fixed64,2,opt,name=value,proto3" json:"value,omitempty"` Annotation []byte `protobuf:"bytes,3,opt,name=annotation,proto3" json:"annotation,omitempty"` ClientTimeNanos int64 `protobuf:"varint,4,opt,name=client_time_nanos,json=clientTimeNanos,proto3" json:"client_time_nanos,omitempty"` }
func (*Gauge) Descriptor ¶
func (*Gauge) GetAnnotation ¶ added in v1.2.0
func (*Gauge) GetClientTimeNanos ¶ added in v1.2.0
func (*Gauge) ProtoMessage ¶
func (*Gauge) ProtoMessage()
type GaugeWithMetadatas ¶
type GaugeWithMetadatas struct { Gauge Gauge `protobuf:"bytes,1,opt,name=gauge" json:"gauge"` Metadatas StagedMetadatas `protobuf:"bytes,2,opt,name=metadatas" json:"metadatas"` }
func (*GaugeWithMetadatas) Descriptor ¶
func (*GaugeWithMetadatas) Descriptor() ([]byte, []int)
func (*GaugeWithMetadatas) GetGauge ¶
func (m *GaugeWithMetadatas) GetGauge() Gauge
func (*GaugeWithMetadatas) GetMetadatas ¶
func (m *GaugeWithMetadatas) GetMetadatas() StagedMetadatas
func (*GaugeWithMetadatas) Marshal ¶
func (m *GaugeWithMetadatas) Marshal() (dAtA []byte, err error)
func (*GaugeWithMetadatas) MarshalTo ¶
func (m *GaugeWithMetadatas) MarshalTo(dAtA []byte) (int, error)
func (*GaugeWithMetadatas) ProtoMessage ¶
func (*GaugeWithMetadatas) ProtoMessage()
func (*GaugeWithMetadatas) Reset ¶
func (m *GaugeWithMetadatas) Reset()
func (*GaugeWithMetadatas) Size ¶
func (m *GaugeWithMetadatas) Size() (n int)
func (*GaugeWithMetadatas) String ¶
func (m *GaugeWithMetadatas) String() string
func (*GaugeWithMetadatas) Unmarshal ¶
func (m *GaugeWithMetadatas) Unmarshal(dAtA []byte) error
type Metadata ¶
type Metadata struct {
Pipelines []PipelineMetadata `protobuf:"bytes,1,rep,name=pipelines" json:"pipelines"`
}
func (*Metadata) Descriptor ¶
func (*Metadata) GetPipelines ¶
func (m *Metadata) GetPipelines() []PipelineMetadata
func (*Metadata) ProtoMessage ¶
func (*Metadata) ProtoMessage()
type MetricType ¶
type MetricType int32
const ( MetricType_UNKNOWN MetricType = 0 MetricType_COUNTER MetricType = 1 MetricType_TIMER MetricType = 2 MetricType_GAUGE MetricType = 3 )
func (MetricType) EnumDescriptor ¶
func (MetricType) EnumDescriptor() ([]byte, []int)
func (MetricType) String ¶
func (x MetricType) String() string
type MetricWithMetadatas ¶
type MetricWithMetadatas struct { Type MetricWithMetadatas_Type `protobuf:"varint,1,opt,name=type,proto3,enum=metricpb.MetricWithMetadatas_Type" json:"type,omitempty"` CounterWithMetadatas *CounterWithMetadatas `protobuf:"bytes,2,opt,name=counter_with_metadatas,json=counterWithMetadatas" json:"counter_with_metadatas,omitempty"` BatchTimerWithMetadatas *BatchTimerWithMetadatas `` /* 127-byte string literal not displayed */ GaugeWithMetadatas *GaugeWithMetadatas `protobuf:"bytes,4,opt,name=gauge_with_metadatas,json=gaugeWithMetadatas" json:"gauge_with_metadatas,omitempty"` ForwardedMetricWithMetadata *ForwardedMetricWithMetadata `` /* 139-byte string literal not displayed */ TimedMetricWithMetadata *TimedMetricWithMetadata `` /* 127-byte string literal not displayed */ TimedMetricWithMetadatas *TimedMetricWithMetadatas `` /* 130-byte string literal not displayed */ TimedMetricWithStoragePolicy *TimedMetricWithStoragePolicy `` /* 144-byte string literal not displayed */ }
NB: we intentionally choose to explicitly define the message type as well as the corresponding payload as opposed to use `oneof` protobuf type here. This is because the generated `Unmarshal` method of `oneof` types doesn't permit reusing existing protobuf messages for decoding, thus incurring a significant performance hit when such message type is used for encoding and decoding high volume traffic.
func (*MetricWithMetadatas) Descriptor ¶
func (*MetricWithMetadatas) Descriptor() ([]byte, []int)
func (*MetricWithMetadatas) GetBatchTimerWithMetadatas ¶
func (m *MetricWithMetadatas) GetBatchTimerWithMetadatas() *BatchTimerWithMetadatas
func (*MetricWithMetadatas) GetCounterWithMetadatas ¶
func (m *MetricWithMetadatas) GetCounterWithMetadatas() *CounterWithMetadatas
func (*MetricWithMetadatas) GetForwardedMetricWithMetadata ¶
func (m *MetricWithMetadatas) GetForwardedMetricWithMetadata() *ForwardedMetricWithMetadata
func (*MetricWithMetadatas) GetGaugeWithMetadatas ¶
func (m *MetricWithMetadatas) GetGaugeWithMetadatas() *GaugeWithMetadatas
func (*MetricWithMetadatas) GetTimedMetricWithMetadata ¶
func (m *MetricWithMetadatas) GetTimedMetricWithMetadata() *TimedMetricWithMetadata
func (*MetricWithMetadatas) GetTimedMetricWithMetadatas ¶ added in v0.15.0
func (m *MetricWithMetadatas) GetTimedMetricWithMetadatas() *TimedMetricWithMetadatas
func (*MetricWithMetadatas) GetTimedMetricWithStoragePolicy ¶ added in v0.15.0
func (m *MetricWithMetadatas) GetTimedMetricWithStoragePolicy() *TimedMetricWithStoragePolicy
func (*MetricWithMetadatas) GetType ¶
func (m *MetricWithMetadatas) GetType() MetricWithMetadatas_Type
func (*MetricWithMetadatas) Marshal ¶
func (m *MetricWithMetadatas) Marshal() (dAtA []byte, err error)
func (*MetricWithMetadatas) MarshalTo ¶
func (m *MetricWithMetadatas) MarshalTo(dAtA []byte) (int, error)
func (*MetricWithMetadatas) ProtoMessage ¶
func (*MetricWithMetadatas) ProtoMessage()
func (*MetricWithMetadatas) Reset ¶
func (m *MetricWithMetadatas) Reset()
func (*MetricWithMetadatas) Size ¶
func (m *MetricWithMetadatas) Size() (n int)
func (*MetricWithMetadatas) String ¶
func (m *MetricWithMetadatas) String() string
func (*MetricWithMetadatas) Unmarshal ¶
func (m *MetricWithMetadatas) Unmarshal(dAtA []byte) error
type MetricWithMetadatas_Type ¶
type MetricWithMetadatas_Type int32
const ( MetricWithMetadatas_UNKNOWN MetricWithMetadatas_Type = 0 MetricWithMetadatas_COUNTER_WITH_METADATAS MetricWithMetadatas_Type = 1 MetricWithMetadatas_BATCH_TIMER_WITH_METADATAS MetricWithMetadatas_Type = 2 MetricWithMetadatas_GAUGE_WITH_METADATAS MetricWithMetadatas_Type = 3 MetricWithMetadatas_FORWARDED_METRIC_WITH_METADATA MetricWithMetadatas_Type = 4 MetricWithMetadatas_TIMED_METRIC_WITH_METADATA MetricWithMetadatas_Type = 5 MetricWithMetadatas_TIMED_METRIC_WITH_METADATAS MetricWithMetadatas_Type = 6 MetricWithMetadatas_TIMED_METRIC_WITH_STORAGE_POLICY MetricWithMetadatas_Type = 7 )
func (MetricWithMetadatas_Type) EnumDescriptor ¶
func (MetricWithMetadatas_Type) EnumDescriptor() ([]byte, []int)
func (MetricWithMetadatas_Type) String ¶
func (x MetricWithMetadatas_Type) String() string
type PipelineMetadata ¶
type PipelineMetadata struct { AggregationId aggregationpb.AggregationID `protobuf:"bytes,1,opt,name=aggregation_id,json=aggregationId" json:"aggregation_id"` StoragePolicies []policypb.StoragePolicy `protobuf:"bytes,2,rep,name=storage_policies,json=storagePolicies" json:"storage_policies"` Pipeline pipelinepb.AppliedPipeline `protobuf:"bytes,3,opt,name=pipeline" json:"pipeline"` DropPolicy policypb.DropPolicy `protobuf:"varint,4,opt,name=drop_policy,json=dropPolicy,proto3,enum=policypb.DropPolicy" json:"drop_policy,omitempty"` ResendEnabled bool `protobuf:"varint,5,opt,name=resend_enabled,json=resendEnabled,proto3" json:"resend_enabled,omitempty"` }
func (*PipelineMetadata) Descriptor ¶
func (*PipelineMetadata) Descriptor() ([]byte, []int)
func (*PipelineMetadata) GetAggregationId ¶
func (m *PipelineMetadata) GetAggregationId() aggregationpb.AggregationID
func (*PipelineMetadata) GetDropPolicy ¶
func (m *PipelineMetadata) GetDropPolicy() policypb.DropPolicy
func (*PipelineMetadata) GetPipeline ¶
func (m *PipelineMetadata) GetPipeline() pipelinepb.AppliedPipeline
func (*PipelineMetadata) GetResendEnabled ¶ added in v1.2.0
func (m *PipelineMetadata) GetResendEnabled() bool
func (*PipelineMetadata) GetStoragePolicies ¶
func (m *PipelineMetadata) GetStoragePolicies() []policypb.StoragePolicy
func (*PipelineMetadata) Marshal ¶
func (m *PipelineMetadata) Marshal() (dAtA []byte, err error)
func (*PipelineMetadata) ProtoMessage ¶
func (*PipelineMetadata) ProtoMessage()
func (*PipelineMetadata) Reset ¶
func (m *PipelineMetadata) Reset()
func (*PipelineMetadata) Size ¶
func (m *PipelineMetadata) Size() (n int)
func (*PipelineMetadata) String ¶
func (m *PipelineMetadata) String() string
func (*PipelineMetadata) Unmarshal ¶
func (m *PipelineMetadata) Unmarshal(dAtA []byte) error
Unmarshal is a manual copy of the generated Unmarshal that allows reusing slices.
type StagedMetadata ¶
type StagedMetadata struct { CutoverNanos int64 `protobuf:"varint,1,opt,name=cutover_nanos,json=cutoverNanos,proto3" json:"cutover_nanos,omitempty"` Tombstoned bool `protobuf:"varint,2,opt,name=tombstoned,proto3" json:"tombstoned,omitempty"` Metadata Metadata `protobuf:"bytes,3,opt,name=metadata" json:"metadata"` }
func (*StagedMetadata) Descriptor ¶
func (*StagedMetadata) Descriptor() ([]byte, []int)
func (*StagedMetadata) GetCutoverNanos ¶
func (m *StagedMetadata) GetCutoverNanos() int64
func (*StagedMetadata) GetMetadata ¶
func (m *StagedMetadata) GetMetadata() Metadata
func (*StagedMetadata) GetTombstoned ¶
func (m *StagedMetadata) GetTombstoned() bool
func (*StagedMetadata) Marshal ¶
func (m *StagedMetadata) Marshal() (dAtA []byte, err error)
func (*StagedMetadata) ProtoMessage ¶
func (*StagedMetadata) ProtoMessage()
func (*StagedMetadata) Reset ¶
func (m *StagedMetadata) Reset()
func (*StagedMetadata) Size ¶
func (m *StagedMetadata) Size() (n int)
func (*StagedMetadata) String ¶
func (m *StagedMetadata) String() string
func (*StagedMetadata) Unmarshal ¶
func (m *StagedMetadata) Unmarshal(dAtA []byte) error
type StagedMetadatas ¶
type StagedMetadatas struct {
Metadatas []StagedMetadata `protobuf:"bytes,1,rep,name=metadatas" json:"metadatas"`
}
func (*StagedMetadatas) Descriptor ¶
func (*StagedMetadatas) Descriptor() ([]byte, []int)
func (*StagedMetadatas) GetMetadatas ¶
func (m *StagedMetadatas) GetMetadatas() []StagedMetadata
func (*StagedMetadatas) Marshal ¶
func (m *StagedMetadatas) Marshal() (dAtA []byte, err error)
func (*StagedMetadatas) ProtoMessage ¶
func (*StagedMetadatas) ProtoMessage()
func (*StagedMetadatas) Reset ¶
func (m *StagedMetadatas) Reset()
func (*StagedMetadatas) Reuse ¶ added in v1.2.0
func (m *StagedMetadatas) Reuse()
func (*StagedMetadatas) Size ¶
func (m *StagedMetadatas) Size() (n int)
func (*StagedMetadatas) String ¶
func (m *StagedMetadatas) String() string
func (*StagedMetadatas) Unmarshal ¶
func (m *StagedMetadatas) Unmarshal(dAtA []byte) error
Unmarshal is a manual copy of the generated Unmarshal that allows reusing slices.
type Tag ¶ added in v0.15.11
type Tag struct { Name []byte `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Value []byte `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` }
func (*Tag) Descriptor ¶ added in v0.15.11
func (*Tag) ProtoMessage ¶ added in v0.15.11
func (*Tag) ProtoMessage()
type TimedMetadata ¶
type TimedMetadata struct { AggregationId aggregationpb.AggregationID `protobuf:"bytes,1,opt,name=aggregation_id,json=aggregationId" json:"aggregation_id"` StoragePolicy policypb.StoragePolicy `protobuf:"bytes,2,opt,name=storage_policy,json=storagePolicy" json:"storage_policy"` }
func (*TimedMetadata) Descriptor ¶
func (*TimedMetadata) Descriptor() ([]byte, []int)
func (*TimedMetadata) GetAggregationId ¶
func (m *TimedMetadata) GetAggregationId() aggregationpb.AggregationID
func (*TimedMetadata) GetStoragePolicy ¶
func (m *TimedMetadata) GetStoragePolicy() policypb.StoragePolicy
func (*TimedMetadata) Marshal ¶
func (m *TimedMetadata) Marshal() (dAtA []byte, err error)
func (*TimedMetadata) ProtoMessage ¶
func (*TimedMetadata) ProtoMessage()
func (*TimedMetadata) Reset ¶
func (m *TimedMetadata) Reset()
func (*TimedMetadata) Size ¶
func (m *TimedMetadata) Size() (n int)
func (*TimedMetadata) String ¶
func (m *TimedMetadata) String() string
func (*TimedMetadata) Unmarshal ¶
func (m *TimedMetadata) Unmarshal(dAtA []byte) error
type TimedMetric ¶
type TimedMetric struct { Type MetricType `protobuf:"varint,1,opt,name=type,proto3,enum=metricpb.MetricType" json:"type,omitempty"` Id []byte `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` TimeNanos int64 `protobuf:"varint,3,opt,name=time_nanos,json=timeNanos,proto3" json:"time_nanos,omitempty"` Value float64 `protobuf:"fixed64,4,opt,name=value,proto3" json:"value,omitempty"` Annotation []byte `protobuf:"bytes,5,opt,name=annotation,proto3" json:"annotation,omitempty"` }
func (*TimedMetric) Descriptor ¶
func (*TimedMetric) Descriptor() ([]byte, []int)
func (*TimedMetric) GetAnnotation ¶ added in v1.2.0
func (m *TimedMetric) GetAnnotation() []byte
func (*TimedMetric) GetId ¶
func (m *TimedMetric) GetId() []byte
func (*TimedMetric) GetTimeNanos ¶
func (m *TimedMetric) GetTimeNanos() int64
func (*TimedMetric) GetType ¶
func (m *TimedMetric) GetType() MetricType
func (*TimedMetric) GetValue ¶
func (m *TimedMetric) GetValue() float64
func (*TimedMetric) Marshal ¶
func (m *TimedMetric) Marshal() (dAtA []byte, err error)
func (*TimedMetric) ProtoMessage ¶
func (*TimedMetric) ProtoMessage()
func (*TimedMetric) Reset ¶
func (m *TimedMetric) Reset()
func (*TimedMetric) Size ¶
func (m *TimedMetric) Size() (n int)
func (*TimedMetric) String ¶
func (m *TimedMetric) String() string
func (*TimedMetric) Unmarshal ¶
func (m *TimedMetric) Unmarshal(dAtA []byte) error
type TimedMetricWithMetadata ¶
type TimedMetricWithMetadata struct { Metric TimedMetric `protobuf:"bytes,1,opt,name=metric" json:"metric"` Metadata TimedMetadata `protobuf:"bytes,2,opt,name=metadata" json:"metadata"` }
func (*TimedMetricWithMetadata) Descriptor ¶
func (*TimedMetricWithMetadata) Descriptor() ([]byte, []int)
func (*TimedMetricWithMetadata) GetMetadata ¶
func (m *TimedMetricWithMetadata) GetMetadata() TimedMetadata
func (*TimedMetricWithMetadata) GetMetric ¶
func (m *TimedMetricWithMetadata) GetMetric() TimedMetric
func (*TimedMetricWithMetadata) Marshal ¶
func (m *TimedMetricWithMetadata) Marshal() (dAtA []byte, err error)
func (*TimedMetricWithMetadata) MarshalTo ¶
func (m *TimedMetricWithMetadata) MarshalTo(dAtA []byte) (int, error)
func (*TimedMetricWithMetadata) ProtoMessage ¶
func (*TimedMetricWithMetadata) ProtoMessage()
func (*TimedMetricWithMetadata) Reset ¶
func (m *TimedMetricWithMetadata) Reset()
func (*TimedMetricWithMetadata) Size ¶
func (m *TimedMetricWithMetadata) Size() (n int)
func (*TimedMetricWithMetadata) String ¶
func (m *TimedMetricWithMetadata) String() string
func (*TimedMetricWithMetadata) Unmarshal ¶
func (m *TimedMetricWithMetadata) Unmarshal(dAtA []byte) error
type TimedMetricWithMetadatas ¶ added in v0.15.0
type TimedMetricWithMetadatas struct { Metric TimedMetric `protobuf:"bytes,1,opt,name=metric" json:"metric"` Metadatas StagedMetadatas `protobuf:"bytes,2,opt,name=metadatas" json:"metadatas"` }
func (*TimedMetricWithMetadatas) Descriptor ¶ added in v0.15.0
func (*TimedMetricWithMetadatas) Descriptor() ([]byte, []int)
func (*TimedMetricWithMetadatas) GetMetadatas ¶ added in v0.15.0
func (m *TimedMetricWithMetadatas) GetMetadatas() StagedMetadatas
func (*TimedMetricWithMetadatas) GetMetric ¶ added in v0.15.0
func (m *TimedMetricWithMetadatas) GetMetric() TimedMetric
func (*TimedMetricWithMetadatas) Marshal ¶ added in v0.15.0
func (m *TimedMetricWithMetadatas) Marshal() (dAtA []byte, err error)
func (*TimedMetricWithMetadatas) MarshalTo ¶ added in v0.15.0
func (m *TimedMetricWithMetadatas) MarshalTo(dAtA []byte) (int, error)
func (*TimedMetricWithMetadatas) ProtoMessage ¶ added in v0.15.0
func (*TimedMetricWithMetadatas) ProtoMessage()
func (*TimedMetricWithMetadatas) Reset ¶ added in v0.15.0
func (m *TimedMetricWithMetadatas) Reset()
func (*TimedMetricWithMetadatas) Size ¶ added in v0.15.0
func (m *TimedMetricWithMetadatas) Size() (n int)
func (*TimedMetricWithMetadatas) String ¶ added in v0.15.0
func (m *TimedMetricWithMetadatas) String() string
func (*TimedMetricWithMetadatas) Unmarshal ¶ added in v0.15.0
func (m *TimedMetricWithMetadatas) Unmarshal(dAtA []byte) error
type TimedMetricWithStoragePolicy ¶ added in v0.5.0
type TimedMetricWithStoragePolicy struct { TimedMetric TimedMetric `protobuf:"bytes,1,opt,name=timed_metric,json=timedMetric" json:"timed_metric"` StoragePolicy policypb.StoragePolicy `protobuf:"bytes,2,opt,name=storage_policy,json=storagePolicy" json:"storage_policy"` }
func (*TimedMetricWithStoragePolicy) Descriptor ¶ added in v0.5.0
func (*TimedMetricWithStoragePolicy) Descriptor() ([]byte, []int)
func (*TimedMetricWithStoragePolicy) GetStoragePolicy ¶ added in v0.5.0
func (m *TimedMetricWithStoragePolicy) GetStoragePolicy() policypb.StoragePolicy
func (*TimedMetricWithStoragePolicy) GetTimedMetric ¶ added in v0.5.0
func (m *TimedMetricWithStoragePolicy) GetTimedMetric() TimedMetric
func (*TimedMetricWithStoragePolicy) Marshal ¶ added in v0.5.0
func (m *TimedMetricWithStoragePolicy) Marshal() (dAtA []byte, err error)
func (*TimedMetricWithStoragePolicy) MarshalTo ¶ added in v0.5.0
func (m *TimedMetricWithStoragePolicy) MarshalTo(dAtA []byte) (int, error)
func (*TimedMetricWithStoragePolicy) ProtoMessage ¶ added in v0.5.0
func (*TimedMetricWithStoragePolicy) ProtoMessage()
func (*TimedMetricWithStoragePolicy) Reset ¶ added in v0.5.0
func (m *TimedMetricWithStoragePolicy) Reset()
func (*TimedMetricWithStoragePolicy) Size ¶ added in v0.5.0
func (m *TimedMetricWithStoragePolicy) Size() (n int)
func (*TimedMetricWithStoragePolicy) String ¶ added in v0.5.0
func (m *TimedMetricWithStoragePolicy) String() string
func (*TimedMetricWithStoragePolicy) Unmarshal ¶ added in v0.5.0
func (m *TimedMetricWithStoragePolicy) Unmarshal(dAtA []byte) error