octraceprotobuf

package
v0.0.0-...-c8bf5b5 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2023 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var MetricDescriptor_Type_name = map[int32]string{
	0: "UNSPECIFIED",
	1: "GAUGE_INT64",
	2: "GAUGE_DOUBLE",
	3: "GAUGE_DISTRIBUTION",
	4: "CUMULATIVE_INT64",
	5: "CUMULATIVE_DOUBLE",
	6: "CUMULATIVE_DISTRIBUTION",
	7: "SUMMARY",
}
View Source
var MetricDescriptor_Type_value = map[string]int32{
	"UNSPECIFIED":             0,
	"GAUGE_INT64":             1,
	"GAUGE_DOUBLE":            2,
	"GAUGE_DISTRIBUTION":      3,
	"CUMULATIVE_INT64":        4,
	"CUMULATIVE_DOUBLE":       5,
	"CUMULATIVE_DISTRIBUTION": 6,
	"SUMMARY":                 7,
}
View Source
var Span_Link_Type_name = map[int32]string{
	0: "TYPE_UNSPECIFIED",
	1: "CHILD_LINKED_SPAN",
	2: "PARENT_LINKED_SPAN",
}
View Source
var Span_Link_Type_value = map[string]int32{
	"TYPE_UNSPECIFIED":   0,
	"CHILD_LINKED_SPAN":  1,
	"PARENT_LINKED_SPAN": 2,
}
View Source
var Span_SpanKind_name = map[int32]string{
	0: "SPAN_KIND_UNSPECIFIED",
	1: "SERVER",
	2: "CLIENT",
}
View Source
var Span_SpanKind_value = map[string]int32{
	"SPAN_KIND_UNSPECIFIED": 0,
	"SERVER":                1,
	"CLIENT":                2,
}
View Source
var Span_TimeEvent_MessageEvent_Type_name = map[int32]string{
	0: "TYPE_UNSPECIFIED",
	1: "SENT",
	2: "RECEIVED",
}
View Source
var Span_TimeEvent_MessageEvent_Type_value = map[string]int32{
	"TYPE_UNSPECIFIED": 0,
	"SENT":             1,
	"RECEIVED":         2,
}

Functions

func RegisterOCStreamTracerServer

func RegisterOCStreamTracerServer(s *grpc.Server, srv OCStreamTracerServer)

Types

type AttributeValue

type AttributeValue struct {
	// The type of the value.
	//
	// Types that are valid to be assigned to Value:
	//	*AttributeValue_StringValue
	//	*AttributeValue_IntValue
	//	*AttributeValue_BoolValue
	//	*AttributeValue_DoubleValue
	Value                isAttributeValue_Value `protobuf_oneof:"value"`
	XXX_NoUnkeyedLiteral struct{}               `json:"-"`
	XXX_unrecognized     []byte                 `json:"-"`
	XXX_sizecache        int32                  `json:"-"`
}

The value of an Attribute.

func (*AttributeValue) Descriptor

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

func (*AttributeValue) GetBoolValue

func (m *AttributeValue) GetBoolValue() bool

func (*AttributeValue) GetDoubleValue

func (m *AttributeValue) GetDoubleValue() float64

func (*AttributeValue) GetIntValue

func (m *AttributeValue) GetIntValue() int64

func (*AttributeValue) GetStringValue

func (m *AttributeValue) GetStringValue() *TruncatableString

func (*AttributeValue) GetValue

func (m *AttributeValue) GetValue() isAttributeValue_Value

func (*AttributeValue) ProtoMessage

func (*AttributeValue) ProtoMessage()

func (*AttributeValue) Reset

func (m *AttributeValue) Reset()

func (*AttributeValue) String

func (m *AttributeValue) String() string

func (*AttributeValue) XXX_DiscardUnknown

func (m *AttributeValue) XXX_DiscardUnknown()

func (*AttributeValue) XXX_Marshal

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

func (*AttributeValue) XXX_Merge

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

func (*AttributeValue) XXX_OneofWrappers

func (*AttributeValue) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*AttributeValue) XXX_Size

func (m *AttributeValue) XXX_Size() int

func (*AttributeValue) XXX_Unmarshal

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

type AttributeValue_BoolValue

type AttributeValue_BoolValue struct {
	BoolValue bool `protobuf:"varint,3,opt,name=bool_value,json=boolValue,proto3,oneof"`
}

type AttributeValue_DoubleValue

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

type AttributeValue_IntValue

type AttributeValue_IntValue struct {
	IntValue int64 `protobuf:"varint,2,opt,name=int_value,json=intValue,proto3,oneof"`
}

type AttributeValue_StringValue

type AttributeValue_StringValue struct {
	StringValue *TruncatableString `protobuf:"bytes,1,opt,name=string_value,json=stringValue,proto3,oneof"`
}

type DistributionValue

type DistributionValue struct {
	// The number of values in the population. Must be non-negative. This value
	// must equal the sum of the values in bucket_counts if a histogram is
	// provided.
	Count int64 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"`
	// The sum of the values in the population. If count is zero then this field
	// must be zero.
	Sum float64 `protobuf:"fixed64,2,opt,name=sum,proto3" json:"sum,omitempty"`
	// The sum of squared deviations from the mean of the values in the
	// population. For values x_i this is:
	//
	//     Sum[i=1..n]((x_i - mean)^2)
	//
	// Knuth, "The Art of Computer Programming", Vol. 2, page 323, 3rd edition
	// describes Welford's method for accumulating this sum in one pass.
	//
	// If count is zero then this field must be zero.
	SumOfSquaredDeviation float64 `` /* 130-byte string literal not displayed */
	// Don't change bucket boundaries within a TimeSeries if your backend doesn't
	// support this.
	// TODO(issue #152): consider not required to send bucket options for
	// optimization.
	BucketOptions *DistributionValue_BucketOptions `protobuf:"bytes,4,opt,name=bucket_options,json=bucketOptions,proto3" json:"bucket_options,omitempty"`
	// If the distribution does not have a histogram, then omit this field.
	// If there is a histogram, then the sum of the values in the Bucket counts
	// must equal the value in the count field of the distribution.
	Buckets              []*DistributionValue_Bucket `protobuf:"bytes,5,rep,name=buckets,proto3" json:"buckets,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                    `json:"-"`
	XXX_unrecognized     []byte                      `json:"-"`
	XXX_sizecache        int32                       `json:"-"`
}

Distribution contains summary statistics for a population of values. It optionally contains a histogram representing the distribution of those values across a set of buckets.

func (*DistributionValue) Descriptor

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

func (*DistributionValue) GetBucketOptions

func (m *DistributionValue) GetBucketOptions() *DistributionValue_BucketOptions

func (*DistributionValue) GetBuckets

func (m *DistributionValue) GetBuckets() []*DistributionValue_Bucket

func (*DistributionValue) GetCount

func (m *DistributionValue) GetCount() int64

func (*DistributionValue) GetSum

func (m *DistributionValue) GetSum() float64

func (*DistributionValue) GetSumOfSquaredDeviation

func (m *DistributionValue) GetSumOfSquaredDeviation() float64

func (*DistributionValue) ProtoMessage

func (*DistributionValue) ProtoMessage()

func (*DistributionValue) Reset

func (m *DistributionValue) Reset()

func (*DistributionValue) String

func (m *DistributionValue) String() string

func (*DistributionValue) XXX_DiscardUnknown

func (m *DistributionValue) XXX_DiscardUnknown()

func (*DistributionValue) XXX_Marshal

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

func (*DistributionValue) XXX_Merge

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

func (*DistributionValue) XXX_Size

func (m *DistributionValue) XXX_Size() int

func (*DistributionValue) XXX_Unmarshal

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

type DistributionValue_Bucket

type DistributionValue_Bucket struct {
	// The number of values in each bucket of the histogram, as described in
	// bucket_bounds.
	Count int64 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"`
	// If the distribution does not have a histogram, then omit this field.
	Exemplar             *DistributionValue_Exemplar `protobuf:"bytes,2,opt,name=exemplar,proto3" json:"exemplar,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                    `json:"-"`
	XXX_unrecognized     []byte                      `json:"-"`
	XXX_sizecache        int32                       `json:"-"`
}

func (*DistributionValue_Bucket) Descriptor

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

func (*DistributionValue_Bucket) GetCount

func (m *DistributionValue_Bucket) GetCount() int64

func (*DistributionValue_Bucket) GetExemplar

func (*DistributionValue_Bucket) ProtoMessage

func (*DistributionValue_Bucket) ProtoMessage()

func (*DistributionValue_Bucket) Reset

func (m *DistributionValue_Bucket) Reset()

func (*DistributionValue_Bucket) String

func (m *DistributionValue_Bucket) String() string

func (*DistributionValue_Bucket) XXX_DiscardUnknown

func (m *DistributionValue_Bucket) XXX_DiscardUnknown()

func (*DistributionValue_Bucket) XXX_Marshal

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

func (*DistributionValue_Bucket) XXX_Merge

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

func (*DistributionValue_Bucket) XXX_Size

func (m *DistributionValue_Bucket) XXX_Size() int

func (*DistributionValue_Bucket) XXX_Unmarshal

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

type DistributionValue_BucketOptions

type DistributionValue_BucketOptions struct {
	// Types that are valid to be assigned to Type:
	//	*DistributionValue_BucketOptions_Explicit_
	Type                 isDistributionValue_BucketOptions_Type `protobuf_oneof:"type"`
	XXX_NoUnkeyedLiteral struct{}                               `json:"-"`
	XXX_unrecognized     []byte                                 `json:"-"`
	XXX_sizecache        int32                                  `json:"-"`
}

A Distribution may optionally contain a histogram of the values in the population. The bucket boundaries for that histogram are described by BucketOptions.

If bucket_options has no type, then there is no histogram associated with the Distribution.

func (*DistributionValue_BucketOptions) Descriptor

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

func (*DistributionValue_BucketOptions) GetExplicit

func (*DistributionValue_BucketOptions) GetType

func (m *DistributionValue_BucketOptions) GetType() isDistributionValue_BucketOptions_Type

func (*DistributionValue_BucketOptions) ProtoMessage

func (*DistributionValue_BucketOptions) ProtoMessage()

func (*DistributionValue_BucketOptions) Reset

func (*DistributionValue_BucketOptions) String

func (*DistributionValue_BucketOptions) XXX_DiscardUnknown

func (m *DistributionValue_BucketOptions) XXX_DiscardUnknown()

func (*DistributionValue_BucketOptions) XXX_Marshal

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

func (*DistributionValue_BucketOptions) XXX_Merge

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

func (*DistributionValue_BucketOptions) XXX_OneofWrappers

func (*DistributionValue_BucketOptions) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*DistributionValue_BucketOptions) XXX_Size

func (m *DistributionValue_BucketOptions) XXX_Size() int

func (*DistributionValue_BucketOptions) XXX_Unmarshal

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

type DistributionValue_BucketOptions_Explicit

type DistributionValue_BucketOptions_Explicit struct {
	// The values must be strictly increasing and > 0.
	Bounds               []float64 `protobuf:"fixed64,1,rep,packed,name=bounds,proto3" json:"bounds,omitempty"`
	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
	XXX_unrecognized     []byte    `json:"-"`
	XXX_sizecache        int32     `json:"-"`
}

Specifies a set of buckets with arbitrary upper-bounds. This defines size(bounds) + 1 (= N) buckets. The boundaries for bucket index i are:

[0, bucket_bounds[i]) for i == 0 [bucket_bounds[i-1], bucket_bounds[i]) for 0 < i < N-1 [bucket_bounds[i], +infinity) for i == N-1

func (*DistributionValue_BucketOptions_Explicit) Descriptor

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

func (*DistributionValue_BucketOptions_Explicit) GetBounds

func (*DistributionValue_BucketOptions_Explicit) ProtoMessage

func (*DistributionValue_BucketOptions_Explicit) Reset

func (*DistributionValue_BucketOptions_Explicit) String

func (*DistributionValue_BucketOptions_Explicit) XXX_DiscardUnknown

func (m *DistributionValue_BucketOptions_Explicit) XXX_DiscardUnknown()

func (*DistributionValue_BucketOptions_Explicit) XXX_Marshal

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

func (*DistributionValue_BucketOptions_Explicit) XXX_Merge

func (*DistributionValue_BucketOptions_Explicit) XXX_Size

func (*DistributionValue_BucketOptions_Explicit) XXX_Unmarshal

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

type DistributionValue_BucketOptions_Explicit_

type DistributionValue_BucketOptions_Explicit_ struct {
	Explicit *DistributionValue_BucketOptions_Explicit `protobuf:"bytes,1,opt,name=explicit,proto3,oneof"`
}

type DistributionValue_Exemplar

type DistributionValue_Exemplar struct {
	// Value of the exemplar point. It determines which bucket the exemplar
	// belongs to.
	Value float64 `protobuf:"fixed64,1,opt,name=value,proto3" json:"value,omitempty"`
	// The observation (sampling) time of the above value.
	Timestamp *timestamp.Timestamp `protobuf:"bytes,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	// Contextual information about the example value.
	Attachments          map[string]string `` /* 163-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

Exemplars are example points that may be used to annotate aggregated Distribution values. They are metadata that gives information about a particular value added to a Distribution bucket.

func (*DistributionValue_Exemplar) Descriptor

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

func (*DistributionValue_Exemplar) GetAttachments

func (m *DistributionValue_Exemplar) GetAttachments() map[string]string

func (*DistributionValue_Exemplar) GetTimestamp

func (m *DistributionValue_Exemplar) GetTimestamp() *timestamp.Timestamp

func (*DistributionValue_Exemplar) GetValue

func (m *DistributionValue_Exemplar) GetValue() float64

func (*DistributionValue_Exemplar) ProtoMessage

func (*DistributionValue_Exemplar) ProtoMessage()

func (*DistributionValue_Exemplar) Reset

func (m *DistributionValue_Exemplar) Reset()

func (*DistributionValue_Exemplar) String

func (m *DistributionValue_Exemplar) String() string

func (*DistributionValue_Exemplar) XXX_DiscardUnknown

func (m *DistributionValue_Exemplar) XXX_DiscardUnknown()

func (*DistributionValue_Exemplar) XXX_Marshal

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

func (*DistributionValue_Exemplar) XXX_Merge

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

func (*DistributionValue_Exemplar) XXX_Size

func (m *DistributionValue_Exemplar) XXX_Size() int

func (*DistributionValue_Exemplar) XXX_Unmarshal

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

type ExportMetricsServiceRequest

type ExportMetricsServiceRequest struct {
	// A list of metrics that belong to the last received Node.
	Metrics              []*Metric `protobuf:"bytes,2,rep,name=metrics,proto3" json:"metrics,omitempty"`
	Resource             *Resource `protobuf:"bytes,3,opt,name=resource,proto3" json:"resource,omitempty"`
	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
	XXX_unrecognized     []byte    `json:"-"`
	XXX_sizecache        int32     `json:"-"`
}

func (*ExportMetricsServiceRequest) Descriptor

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

func (*ExportMetricsServiceRequest) GetMetrics

func (m *ExportMetricsServiceRequest) GetMetrics() []*Metric

func (*ExportMetricsServiceRequest) GetResource

func (m *ExportMetricsServiceRequest) GetResource() *Resource

func (*ExportMetricsServiceRequest) ProtoMessage

func (*ExportMetricsServiceRequest) ProtoMessage()

func (*ExportMetricsServiceRequest) Reset

func (m *ExportMetricsServiceRequest) Reset()

func (*ExportMetricsServiceRequest) String

func (m *ExportMetricsServiceRequest) String() string

func (*ExportMetricsServiceRequest) XXX_DiscardUnknown

func (m *ExportMetricsServiceRequest) XXX_DiscardUnknown()

func (*ExportMetricsServiceRequest) XXX_Marshal

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

func (*ExportMetricsServiceRequest) XXX_Merge

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

func (*ExportMetricsServiceRequest) XXX_Size

func (m *ExportMetricsServiceRequest) XXX_Size() int

func (*ExportMetricsServiceRequest) XXX_Unmarshal

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

type ExportRequest

type ExportRequest struct {
	Spans                []*Span   `protobuf:"bytes,2,rep,name=spans,proto3" json:"spans,omitempty"`
	Resource             *Resource `protobuf:"bytes,3,opt,name=resource,proto3" json:"resource,omitempty"`
	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
	XXX_unrecognized     []byte    `json:"-"`
	XXX_sizecache        int32     `json:"-"`
}

The request message containing the user's name.

func (*ExportRequest) Descriptor

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

func (*ExportRequest) GetResource

func (m *ExportRequest) GetResource() *Resource

func (*ExportRequest) GetSpans

func (m *ExportRequest) GetSpans() []*Span

func (*ExportRequest) ProtoMessage

func (*ExportRequest) ProtoMessage()

func (*ExportRequest) Reset

func (m *ExportRequest) Reset()

func (*ExportRequest) String

func (m *ExportRequest) String() string

func (*ExportRequest) XXX_DiscardUnknown

func (m *ExportRequest) XXX_DiscardUnknown()

func (*ExportRequest) XXX_Marshal

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

func (*ExportRequest) XXX_Merge

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

func (*ExportRequest) XXX_Size

func (m *ExportRequest) XXX_Size() int

func (*ExportRequest) XXX_Unmarshal

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

type ExportResponse

type ExportResponse struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

The response message containing the greetings

func (*ExportResponse) Descriptor

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

func (*ExportResponse) ProtoMessage

func (*ExportResponse) ProtoMessage()

func (*ExportResponse) Reset

func (m *ExportResponse) Reset()

func (*ExportResponse) String

func (m *ExportResponse) String() string

func (*ExportResponse) XXX_DiscardUnknown

func (m *ExportResponse) XXX_DiscardUnknown()

func (*ExportResponse) XXX_Marshal

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

func (*ExportResponse) XXX_Merge

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

func (*ExportResponse) XXX_Size

func (m *ExportResponse) XXX_Size() int

func (*ExportResponse) XXX_Unmarshal

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

type Generator

type Generator struct {
	// contains filtered or unexported fields
}

Generator allows to generate a ExportRequest.

func NewGenerator

func NewGenerator() *Generator

func (*Generator) GenerateLogBatch

func (g *Generator) GenerateLogBatch(logsPerBatch int, attrsPerLog int) core.ExportRequest

func (*Generator) GenerateMetricBatch

func (g *Generator) GenerateMetricBatch(
	metricsPerBatch int,
	valuesPerTimeseries int,
	int64 bool,
	histogram bool,
	summary bool,
) core.ExportRequest

func (*Generator) GenerateSpanBatch

func (g *Generator) GenerateSpanBatch(spansPerBatch int, attrsPerSpan int, timedEventsPerSpan int) core.ExportRequest

type LabelKey

type LabelKey struct {
	// The key for the label.
	Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	// A human-readable description of what this label key represents.
	Description          string   `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Defines a label key associated with a metric descriptor.

func (*LabelKey) Descriptor

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

func (*LabelKey) GetDescription

func (m *LabelKey) GetDescription() string

func (*LabelKey) GetKey

func (m *LabelKey) GetKey() string

func (*LabelKey) ProtoMessage

func (*LabelKey) ProtoMessage()

func (*LabelKey) Reset

func (m *LabelKey) Reset()

func (*LabelKey) String

func (m *LabelKey) String() string

func (*LabelKey) XXX_DiscardUnknown

func (m *LabelKey) XXX_DiscardUnknown()

func (*LabelKey) XXX_Marshal

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

func (*LabelKey) XXX_Merge

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

func (*LabelKey) XXX_Size

func (m *LabelKey) XXX_Size() int

func (*LabelKey) XXX_Unmarshal

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

type LabelValue

type LabelValue struct {
	// The value for the label.
	Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
	// If false the value field is ignored and considered not set.
	// This is used to differentiate a missing label from an empty string.
	HasValue             bool     `protobuf:"varint,2,opt,name=has_value,json=hasValue,proto3" json:"has_value,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*LabelValue) Descriptor

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

func (*LabelValue) GetHasValue

func (m *LabelValue) GetHasValue() bool

func (*LabelValue) GetValue

func (m *LabelValue) GetValue() string

func (*LabelValue) ProtoMessage

func (*LabelValue) ProtoMessage()

func (*LabelValue) Reset

func (m *LabelValue) Reset()

func (*LabelValue) String

func (m *LabelValue) String() string

func (*LabelValue) XXX_DiscardUnknown

func (m *LabelValue) XXX_DiscardUnknown()

func (*LabelValue) XXX_Marshal

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

func (*LabelValue) XXX_Merge

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

func (*LabelValue) XXX_Size

func (m *LabelValue) XXX_Size() int

func (*LabelValue) XXX_Unmarshal

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

type Metric

type Metric struct {
	// The descriptor of the Metric.
	// TODO(issue #152): consider only sending the name of descriptor for
	// optimization.
	MetricDescriptor *MetricDescriptor `protobuf:"bytes,1,opt,name=metric_descriptor,json=metricDescriptor,proto3" json:"metric_descriptor,omitempty"`
	// One or more timeseries for a single metric, where each timeseries has
	// one or more points.
	Timeseries []*TimeSeries `protobuf:"bytes,2,rep,name=timeseries,proto3" json:"timeseries,omitempty"`
	// The resource for the metric. If unset, it may be set to a default value
	// provided for a sequence of messages in an RPC stream.
	Resource             *Resource `protobuf:"bytes,3,opt,name=resource,proto3" json:"resource,omitempty"`
	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
	XXX_unrecognized     []byte    `json:"-"`
	XXX_sizecache        int32     `json:"-"`
}

Defines a Metric which has one or more timeseries.

func (*Metric) Descriptor

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

func (*Metric) GetMetricDescriptor

func (m *Metric) GetMetricDescriptor() *MetricDescriptor

func (*Metric) GetResource

func (m *Metric) GetResource() *Resource

func (*Metric) GetTimeseries

func (m *Metric) GetTimeseries() []*TimeSeries

func (*Metric) ProtoMessage

func (*Metric) ProtoMessage()

func (*Metric) Reset

func (m *Metric) Reset()

func (*Metric) String

func (m *Metric) String() string

func (*Metric) XXX_DiscardUnknown

func (m *Metric) XXX_DiscardUnknown()

func (*Metric) XXX_Marshal

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

func (*Metric) XXX_Merge

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

func (*Metric) XXX_Size

func (m *Metric) XXX_Size() int

func (*Metric) XXX_Unmarshal

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

type MetricDescriptor

type MetricDescriptor struct {
	// The metric type, including its DNS name prefix. It must be unique.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// A detailed description of the metric, which can be used in documentation.
	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	// The unit in which the metric value is reported. Follows the format
	// described by http://unitsofmeasure.org/ucum.html.
	Unit string                `protobuf:"bytes,3,opt,name=unit,proto3" json:"unit,omitempty"`
	Type MetricDescriptor_Type `protobuf:"varint,4,opt,name=type,proto3,enum=octraceprotobuf.MetricDescriptor_Type" json:"type,omitempty"`
	// The label keys associated with the metric descriptor.
	LabelKeys            []*LabelKey `protobuf:"bytes,5,rep,name=label_keys,json=labelKeys,proto3" json:"label_keys,omitempty"`
	XXX_NoUnkeyedLiteral struct{}    `json:"-"`
	XXX_unrecognized     []byte      `json:"-"`
	XXX_sizecache        int32       `json:"-"`
}

Defines a metric type and its schema.

func (*MetricDescriptor) Descriptor

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

func (*MetricDescriptor) GetDescription

func (m *MetricDescriptor) GetDescription() string

func (*MetricDescriptor) GetLabelKeys

func (m *MetricDescriptor) GetLabelKeys() []*LabelKey

func (*MetricDescriptor) GetName

func (m *MetricDescriptor) GetName() string

func (*MetricDescriptor) GetType

func (*MetricDescriptor) GetUnit

func (m *MetricDescriptor) GetUnit() string

func (*MetricDescriptor) ProtoMessage

func (*MetricDescriptor) ProtoMessage()

func (*MetricDescriptor) Reset

func (m *MetricDescriptor) Reset()

func (*MetricDescriptor) String

func (m *MetricDescriptor) String() string

func (*MetricDescriptor) XXX_DiscardUnknown

func (m *MetricDescriptor) XXX_DiscardUnknown()

func (*MetricDescriptor) XXX_Marshal

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

func (*MetricDescriptor) XXX_Merge

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

func (*MetricDescriptor) XXX_Size

func (m *MetricDescriptor) XXX_Size() int

func (*MetricDescriptor) XXX_Unmarshal

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

type MetricDescriptor_Type

type MetricDescriptor_Type int32

The kind of metric. It describes how the data is reported.

A gauge is an instantaneous measurement of a value.

A cumulative measurement is a value accumulated over a time interval. In a time series, cumulative measurements should have the same start time, increasing values and increasing end times, until an event resets the cumulative value to zero and sets a new start time for the following points.

const (
	// Do not use this default value.
	MetricDescriptor_UNSPECIFIED MetricDescriptor_Type = 0
	// Integer gauge. The value can go both up and down.
	MetricDescriptor_GAUGE_INT64 MetricDescriptor_Type = 1
	// Floating point gauge. The value can go both up and down.
	MetricDescriptor_GAUGE_DOUBLE MetricDescriptor_Type = 2
	// Distribution gauge measurement. The count and sum can go both up and
	// down. Recorded values are always >= 0.
	// Used in scenarios like a snapshot of time the current items in a queue
	// have spent there.
	MetricDescriptor_GAUGE_DISTRIBUTION MetricDescriptor_Type = 3
	// Integer cumulative measurement. The value cannot decrease, if resets
	// then the start_time should also be reset.
	MetricDescriptor_CUMULATIVE_INT64 MetricDescriptor_Type = 4
	// Floating point cumulative measurement. The value cannot decrease, if
	// resets then the start_time should also be reset. Recorded values are
	// always >= 0.
	MetricDescriptor_CUMULATIVE_DOUBLE MetricDescriptor_Type = 5
	// Distribution cumulative measurement. The count and sum cannot decrease,
	// if resets then the start_time should also be reset.
	MetricDescriptor_CUMULATIVE_DISTRIBUTION MetricDescriptor_Type = 6
	// Some frameworks implemented Histograms as a summary of observations
	// (usually things like request durations and response sizes). While it
	// also provides a total count of observations and a sum of all observed
	// values, it calculates configurable percentiles over a sliding time
	// window. This is not recommended, since it cannot be aggregated.
	MetricDescriptor_SUMMARY MetricDescriptor_Type = 7
)

func (MetricDescriptor_Type) EnumDescriptor

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

func (MetricDescriptor_Type) String

func (x MetricDescriptor_Type) String() string

type Module

type Module struct {
	// TODO: document the meaning of this field.
	// For example: main binary, kernel modules, and dynamic libraries
	// such as libc.so, sharedlib.so.
	Module *TruncatableString `protobuf:"bytes,1,opt,name=module,proto3" json:"module,omitempty"`
	// A unique identifier for the module, usually a hash of its
	// contents.
	BuildId              *TruncatableString `protobuf:"bytes,2,opt,name=build_id,json=buildId,proto3" json:"build_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{}           `json:"-"`
	XXX_unrecognized     []byte             `json:"-"`
	XXX_sizecache        int32              `json:"-"`
}

A description of a binary module.

func (*Module) Descriptor

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

func (*Module) GetBuildId

func (m *Module) GetBuildId() *TruncatableString

func (*Module) GetModule

func (m *Module) GetModule() *TruncatableString

func (*Module) ProtoMessage

func (*Module) ProtoMessage()

func (*Module) Reset

func (m *Module) Reset()

func (*Module) String

func (m *Module) String() string

func (*Module) XXX_DiscardUnknown

func (m *Module) XXX_DiscardUnknown()

func (*Module) XXX_Marshal

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

func (*Module) XXX_Merge

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

func (*Module) XXX_Size

func (m *Module) XXX_Size() int

func (*Module) XXX_Unmarshal

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

type OCStreamTracerClient

type OCStreamTracerClient interface {
	// Sends a batch
	Export(ctx context.Context, opts ...grpc.CallOption) (OCStreamTracer_ExportClient, error)
}

OCStreamTracerClient is the client API for OCStreamTracer service.

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

func NewOCStreamTracerClient

func NewOCStreamTracerClient(cc *grpc.ClientConn) OCStreamTracerClient

type OCStreamTracerServer

type OCStreamTracerServer interface {
	// Sends a batch
	Export(OCStreamTracer_ExportServer) error
}

OCStreamTracerServer is the server API for OCStreamTracer service.

type OCStreamTracer_ExportClient

type OCStreamTracer_ExportClient interface {
	Send(*ExportRequest) error
	Recv() (*ExportResponse, error)
	grpc.ClientStream
}

type OCStreamTracer_ExportServer

type OCStreamTracer_ExportServer interface {
	Send(*ExportResponse) error
	Recv() (*ExportRequest, error)
	grpc.ServerStream
}

type Point

type Point struct {
	// The moment when this point was recorded. Inclusive.
	// If not specified, the timestamp will be decided by the backend.
	Timestamp *timestamp.Timestamp `protobuf:"bytes,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	// The actual point value.
	//
	// Types that are valid to be assigned to Value:
	//	*Point_Int64Value
	//	*Point_DoubleValue
	//	*Point_DistributionValue
	//	*Point_SummaryValue
	Value                isPoint_Value `protobuf_oneof:"value"`
	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
	XXX_unrecognized     []byte        `json:"-"`
	XXX_sizecache        int32         `json:"-"`
}

A timestamped measurement.

func (*Point) Descriptor

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

func (*Point) GetDistributionValue

func (m *Point) GetDistributionValue() *DistributionValue

func (*Point) GetDoubleValue

func (m *Point) GetDoubleValue() float64

func (*Point) GetInt64Value

func (m *Point) GetInt64Value() int64

func (*Point) GetSummaryValue

func (m *Point) GetSummaryValue() *SummaryValue

func (*Point) GetTimestamp

func (m *Point) GetTimestamp() *timestamp.Timestamp

func (*Point) GetValue

func (m *Point) GetValue() isPoint_Value

func (*Point) ProtoMessage

func (*Point) ProtoMessage()

func (*Point) Reset

func (m *Point) Reset()

func (*Point) String

func (m *Point) String() string

func (*Point) XXX_DiscardUnknown

func (m *Point) XXX_DiscardUnknown()

func (*Point) XXX_Marshal

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

func (*Point) XXX_Merge

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

func (*Point) XXX_OneofWrappers

func (*Point) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*Point) XXX_Size

func (m *Point) XXX_Size() int

func (*Point) XXX_Unmarshal

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

type Point_DistributionValue

type Point_DistributionValue struct {
	DistributionValue *DistributionValue `protobuf:"bytes,4,opt,name=distribution_value,json=distributionValue,proto3,oneof"`
}

type Point_DoubleValue

type Point_DoubleValue struct {
	DoubleValue float64 `protobuf:"fixed64,3,opt,name=double_value,json=doubleValue,proto3,oneof"`
}

type Point_Int64Value

type Point_Int64Value struct {
	Int64Value int64 `protobuf:"varint,2,opt,name=int64_value,json=int64Value,proto3,oneof"`
}

type Point_SummaryValue

type Point_SummaryValue struct {
	SummaryValue *SummaryValue `protobuf:"bytes,5,opt,name=summary_value,json=summaryValue,proto3,oneof"`
}

type Resource

type Resource struct {
	// Type identifier for the resource.
	Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
	// Set of labels that describe the resource.
	Labels               map[string]string `` /* 153-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

Resource information.

func (*Resource) Descriptor

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

func (*Resource) GetLabels

func (m *Resource) GetLabels() map[string]string

func (*Resource) GetType

func (m *Resource) GetType() string

func (*Resource) ProtoMessage

func (*Resource) ProtoMessage()

func (*Resource) Reset

func (m *Resource) Reset()

func (*Resource) String

func (m *Resource) String() string

func (*Resource) XXX_DiscardUnknown

func (m *Resource) XXX_DiscardUnknown()

func (*Resource) XXX_Marshal

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

func (*Resource) XXX_Merge

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

func (*Resource) XXX_Size

func (m *Resource) XXX_Size() int

func (*Resource) XXX_Unmarshal

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

type Span

type Span struct {
	// A unique identifier for a trace. All spans from the same trace share
	// the same `trace_id`. The ID is a 16-byte array. An ID with all zeroes
	// is considered invalid.
	//
	// This field is semantically required. Receiver should generate new
	// random trace_id if empty or invalid trace_id was received.
	//
	// This field is required.
	TraceId []byte `protobuf:"bytes,1,opt,name=trace_id,json=traceId,proto3" json:"trace_id,omitempty"`
	// A unique identifier for a span within a trace, assigned when the span
	// is created. The ID is an 8-byte array. An ID with all zeroes is considered
	// invalid.
	//
	// This field is semantically required. Receiver should generate new
	// random span_id if empty or invalid span_id was received.
	//
	// This field is required.
	SpanId []byte `protobuf:"bytes,2,opt,name=span_id,json=spanId,proto3" json:"span_id,omitempty"`
	// The Tracestate on the span.
	Tracestate *Span_Tracestate `protobuf:"bytes,15,opt,name=tracestate,proto3" json:"tracestate,omitempty"`
	// The `span_id` of this span's parent span. If this is a root span, then this
	// field must be empty. The ID is an 8-byte array.
	ParentSpanId []byte `protobuf:"bytes,3,opt,name=parent_span_id,json=parentSpanId,proto3" json:"parent_span_id,omitempty"`
	// A description of the span's operation.
	//
	// For example, the name can be a qualified method name or a file name
	// and a line number where the operation is called. A best practice is to use
	// the same display name at the same call point in an application.
	// This makes it easier to correlate spans in different traces.
	//
	// This field is semantically required to be set to non-empty string.
	// When null or empty string received - receiver may use string "name"
	// as a replacement. There might be smarted algorithms implemented by
	// receiver to fix the empty span name.
	//
	// This field is required.
	Name *TruncatableString `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
	// Distinguishes between spans generated in a particular context. For example,
	// two spans with the same name may be distinguished using `CLIENT` (caller)
	// and `SERVER` (callee) to identify queueing latency associated with the span.
	Kind Span_SpanKind `protobuf:"varint,14,opt,name=kind,proto3,enum=octraceprotobuf.Span_SpanKind" json:"kind,omitempty"`
	// The start time of the span. On the client side, this is the time kept by
	// the local machine where the span execution starts. On the server side, this
	// is the time when the server's application handler starts running.
	//
	// This field is semantically required. When not set on receive -
	// receiver should set it to the value of end_time field if it was
	// set. Or to the current time if neither was set. It is important to
	// keep end_time > start_time for consistency.
	//
	// This field is required.
	StartTime *timestamp.Timestamp `protobuf:"bytes,5,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
	// The end time of the span. On the client side, this is the time kept by
	// the local machine where the span execution ends. On the server side, this
	// is the time when the server application handler stops running.
	//
	// This field is semantically required. When not set on receive -
	// receiver should set it to start_time value. It is important to
	// keep end_time > start_time for consistency.
	//
	// This field is required.
	EndTime *timestamp.Timestamp `protobuf:"bytes,6,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
	// A set of attributes on the span.
	Attributes *Span_Attributes `protobuf:"bytes,7,opt,name=attributes,proto3" json:"attributes,omitempty"`
	// A stack trace captured at the start of the span.
	StackTrace *StackTrace `protobuf:"bytes,8,opt,name=stack_trace,json=stackTrace,proto3" json:"stack_trace,omitempty"`
	// The included time events.
	TimeEvents *Span_TimeEvents `protobuf:"bytes,9,opt,name=time_events,json=timeEvents,proto3" json:"time_events,omitempty"`
	// The included links.
	Links *Span_Links `protobuf:"bytes,10,opt,name=links,proto3" json:"links,omitempty"`
	// An optional final status for this span. Semantically when Status
	// wasn't set it is means span ended without errors and assume
	// Status.Ok (code = 0).
	Status *Status `protobuf:"bytes,11,opt,name=status,proto3" json:"status,omitempty"`
	// An optional resource that is associated with this span. If not set, this span
	// should be part of a batch that does include the resource information, unless resource
	// information is unknown.
	Resource *Resource `protobuf:"bytes,16,opt,name=resource,proto3" json:"resource,omitempty"`
	// A highly recommended but not required flag that identifies when a
	// trace crosses a process boundary. True when the parent_span belongs
	// to the same process as the current span. This flag is most commonly
	// used to indicate the need to adjust time as clocks in different
	// processes may not be synchronized.
	SameProcessAsParentSpan *wrappers.BoolValue `` /* 137-byte string literal not displayed */
	// An optional number of child spans that were generated while this span
	// was active. If set, allows an implementation to detect missing child spans.
	ChildSpanCount       *wrappers.UInt32Value `protobuf:"bytes,13,opt,name=child_span_count,json=childSpanCount,proto3" json:"child_span_count,omitempty"`
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
}

A span represents a single operation within a trace. Spans can be nested to form a trace tree. Spans may also be linked to other spans from the same or different trace. And form graphs. Often, a trace contains a root span that describes the end-to-end latency, and one or more subspans for its sub-operations. A trace can also contain multiple root spans, or none at all. Spans do not need to be contiguous - there may be gaps or overlaps between spans in a trace.

The next id is 17. TODO(bdrutu): Add an example.

func (*Span) Descriptor

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

func (*Span) GetAttributes

func (m *Span) GetAttributes() *Span_Attributes

func (*Span) GetChildSpanCount

func (m *Span) GetChildSpanCount() *wrappers.UInt32Value

func (*Span) GetEndTime

func (m *Span) GetEndTime() *timestamp.Timestamp

func (*Span) GetKind

func (m *Span) GetKind() Span_SpanKind
func (m *Span) GetLinks() *Span_Links

func (*Span) GetName

func (m *Span) GetName() *TruncatableString

func (*Span) GetParentSpanId

func (m *Span) GetParentSpanId() []byte

func (*Span) GetResource

func (m *Span) GetResource() *Resource

func (*Span) GetSameProcessAsParentSpan

func (m *Span) GetSameProcessAsParentSpan() *wrappers.BoolValue

func (*Span) GetSpanId

func (m *Span) GetSpanId() []byte

func (*Span) GetStackTrace

func (m *Span) GetStackTrace() *StackTrace

func (*Span) GetStartTime

func (m *Span) GetStartTime() *timestamp.Timestamp

func (*Span) GetStatus

func (m *Span) GetStatus() *Status

func (*Span) GetTimeEvents

func (m *Span) GetTimeEvents() *Span_TimeEvents

func (*Span) GetTraceId

func (m *Span) GetTraceId() []byte

func (*Span) GetTracestate

func (m *Span) GetTracestate() *Span_Tracestate

func (*Span) ProtoMessage

func (*Span) ProtoMessage()

func (*Span) Reset

func (m *Span) Reset()

func (*Span) String

func (m *Span) String() string

func (*Span) XXX_DiscardUnknown

func (m *Span) XXX_DiscardUnknown()

func (*Span) XXX_Marshal

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

func (*Span) XXX_Merge

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

func (*Span) XXX_Size

func (m *Span) XXX_Size() int

func (*Span) XXX_Unmarshal

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

type Span_Attributes

type Span_Attributes struct {
	// The set of attributes. The value can be a string, an integer, a double
	// or the Boolean values `true` or `false`. Note, global attributes like
	// server name can be set as tags using resource API. Examples of attributes:
	//
	//     "/http/user_agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36"
	//     "/http/server_latency": 300
	//     "abc.com/myattribute": true
	//     "abc.com/score": 10.239
	AttributeMap map[string]*AttributeValue `` /* 185-byte string literal not displayed */
	// The number of attributes that were discarded. Attributes can be discarded
	// because their keys are too long or because there are too many attributes.
	// If this value is 0, then no attributes were dropped.
	DroppedAttributesCount int32    `` /* 130-byte string literal not displayed */
	XXX_NoUnkeyedLiteral   struct{} `json:"-"`
	XXX_unrecognized       []byte   `json:"-"`
	XXX_sizecache          int32    `json:"-"`
}

A set of attributes, each with a key and a value.

func (*Span_Attributes) Descriptor

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

func (*Span_Attributes) GetAttributeMap

func (m *Span_Attributes) GetAttributeMap() map[string]*AttributeValue

func (*Span_Attributes) GetDroppedAttributesCount

func (m *Span_Attributes) GetDroppedAttributesCount() int32

func (*Span_Attributes) ProtoMessage

func (*Span_Attributes) ProtoMessage()

func (*Span_Attributes) Reset

func (m *Span_Attributes) Reset()

func (*Span_Attributes) String

func (m *Span_Attributes) String() string

func (*Span_Attributes) XXX_DiscardUnknown

func (m *Span_Attributes) XXX_DiscardUnknown()

func (*Span_Attributes) XXX_Marshal

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

func (*Span_Attributes) XXX_Merge

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

func (*Span_Attributes) XXX_Size

func (m *Span_Attributes) XXX_Size() int

func (*Span_Attributes) XXX_Unmarshal

func (m *Span_Attributes) XXX_Unmarshal(b []byte) error
type Span_Link struct {
	// A unique identifier of a trace that this linked span is part of. The ID is a
	// 16-byte array.
	TraceId []byte `protobuf:"bytes,1,opt,name=trace_id,json=traceId,proto3" json:"trace_id,omitempty"`
	// A unique identifier for the linked span. The ID is an 8-byte array.
	SpanId []byte `protobuf:"bytes,2,opt,name=span_id,json=spanId,proto3" json:"span_id,omitempty"`
	// The relationship of the current span relative to the linked span.
	Type Span_Link_Type `protobuf:"varint,3,opt,name=type,proto3,enum=octraceprotobuf.Span_Link_Type" json:"type,omitempty"`
	// A set of attributes on the link.
	Attributes *Span_Attributes `protobuf:"bytes,4,opt,name=attributes,proto3" json:"attributes,omitempty"`
	// The Tracestate associated with the link.
	Tracestate           *Span_Tracestate `protobuf:"bytes,5,opt,name=tracestate,proto3" json:"tracestate,omitempty"`
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

A pointer from the current span to another span in the same trace or in a different trace. For example, this can be used in batching operations, where a single batch handler processes multiple requests from different traces or when the handler receives a request from a different project.

func (*Span_Link) Descriptor

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

func (*Span_Link) GetAttributes

func (m *Span_Link) GetAttributes() *Span_Attributes

func (*Span_Link) GetSpanId

func (m *Span_Link) GetSpanId() []byte

func (*Span_Link) GetTraceId

func (m *Span_Link) GetTraceId() []byte

func (*Span_Link) GetTracestate

func (m *Span_Link) GetTracestate() *Span_Tracestate

func (*Span_Link) GetType

func (m *Span_Link) GetType() Span_Link_Type

func (*Span_Link) ProtoMessage

func (*Span_Link) ProtoMessage()

func (*Span_Link) Reset

func (m *Span_Link) Reset()

func (*Span_Link) String

func (m *Span_Link) String() string

func (*Span_Link) XXX_DiscardUnknown

func (m *Span_Link) XXX_DiscardUnknown()

func (*Span_Link) XXX_Marshal

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

func (*Span_Link) XXX_Merge

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

func (*Span_Link) XXX_Size

func (m *Span_Link) XXX_Size() int

func (*Span_Link) XXX_Unmarshal

func (m *Span_Link) XXX_Unmarshal(b []byte) error
type Span_Link_Type int32

The relationship of the current span relative to the linked span: child, parent, or unspecified.

const (
	// The relationship of the two spans is unknown, or known but other
	// than parent-child.
	Span_Link_TYPE_UNSPECIFIED Span_Link_Type = 0
	// The linked span is a child of the current span.
	Span_Link_CHILD_LINKED_SPAN Span_Link_Type = 1
	// The linked span is a parent of the current span.
	Span_Link_PARENT_LINKED_SPAN Span_Link_Type = 2
)
func (Span_Link_Type) EnumDescriptor() ([]byte, []int)
func (x Span_Link_Type) String() string
type Span_Links struct {
	// A collection of links.
	Link []*Span_Link `protobuf:"bytes,1,rep,name=link,proto3" json:"link,omitempty"`
	// The number of dropped links after the maximum size was enforced. If
	// this value is 0, then no links were dropped.
	DroppedLinksCount    int32    `protobuf:"varint,2,opt,name=dropped_links_count,json=droppedLinksCount,proto3" json:"dropped_links_count,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

A collection of links, which are references from this span to a span in the same or different trace.

func (*Span_Links) Descriptor

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

func (*Span_Links) GetDroppedLinksCount

func (m *Span_Links) GetDroppedLinksCount() int32
func (m *Span_Links) GetLink() []*Span_Link

func (*Span_Links) ProtoMessage

func (*Span_Links) ProtoMessage()

func (*Span_Links) Reset

func (m *Span_Links) Reset()

func (*Span_Links) String

func (m *Span_Links) String() string

func (*Span_Links) XXX_DiscardUnknown

func (m *Span_Links) XXX_DiscardUnknown()

func (*Span_Links) XXX_Marshal

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

func (*Span_Links) XXX_Merge

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

func (*Span_Links) XXX_Size

func (m *Span_Links) XXX_Size() int

func (*Span_Links) XXX_Unmarshal

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

type Span_SpanKind

type Span_SpanKind int32

Type of span. Can be used to specify additional relationships between spans in addition to a parent/child relationship.

const (
	// Unspecified.
	Span_SPAN_KIND_UNSPECIFIED Span_SpanKind = 0
	// Indicates that the span covers server-side handling of an RPC or other
	// remote network request.
	Span_SERVER Span_SpanKind = 1
	// Indicates that the span covers the client-side wrapper around an RPC or
	// other remote request.
	Span_CLIENT Span_SpanKind = 2
)

func (Span_SpanKind) EnumDescriptor

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

func (Span_SpanKind) String

func (x Span_SpanKind) String() string

type Span_TimeEvent

type Span_TimeEvent struct {
	// The time the event occurred.
	Time *timestamp.Timestamp `protobuf:"bytes,1,opt,name=time,proto3" json:"time,omitempty"`
	// A `TimeEvent` can contain either an `Annotation` object or a
	// `MessageEvent` object, but not both.
	//
	// Types that are valid to be assigned to Value:
	//	*Span_TimeEvent_Annotation_
	//	*Span_TimeEvent_MessageEvent_
	Value                isSpan_TimeEvent_Value `protobuf_oneof:"value"`
	XXX_NoUnkeyedLiteral struct{}               `json:"-"`
	XXX_unrecognized     []byte                 `json:"-"`
	XXX_sizecache        int32                  `json:"-"`
}

A time-stamped annotation or message event in the Span.

func (*Span_TimeEvent) Descriptor

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

func (*Span_TimeEvent) GetAnnotation

func (m *Span_TimeEvent) GetAnnotation() *Span_TimeEvent_Annotation

func (*Span_TimeEvent) GetMessageEvent

func (m *Span_TimeEvent) GetMessageEvent() *Span_TimeEvent_MessageEvent

func (*Span_TimeEvent) GetTime

func (m *Span_TimeEvent) GetTime() *timestamp.Timestamp

func (*Span_TimeEvent) GetValue

func (m *Span_TimeEvent) GetValue() isSpan_TimeEvent_Value

func (*Span_TimeEvent) ProtoMessage

func (*Span_TimeEvent) ProtoMessage()

func (*Span_TimeEvent) Reset

func (m *Span_TimeEvent) Reset()

func (*Span_TimeEvent) String

func (m *Span_TimeEvent) String() string

func (*Span_TimeEvent) XXX_DiscardUnknown

func (m *Span_TimeEvent) XXX_DiscardUnknown()

func (*Span_TimeEvent) XXX_Marshal

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

func (*Span_TimeEvent) XXX_Merge

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

func (*Span_TimeEvent) XXX_OneofWrappers

func (*Span_TimeEvent) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*Span_TimeEvent) XXX_Size

func (m *Span_TimeEvent) XXX_Size() int

func (*Span_TimeEvent) XXX_Unmarshal

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

type Span_TimeEvent_Annotation

type Span_TimeEvent_Annotation struct {
	// A user-supplied message describing the event.
	Description *TruncatableString `protobuf:"bytes,1,opt,name=description,proto3" json:"description,omitempty"`
	// A set of attributes on the annotation.
	Attributes           *Span_Attributes `protobuf:"bytes,2,opt,name=attributes,proto3" json:"attributes,omitempty"`
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

A text annotation with a set of attributes.

func (*Span_TimeEvent_Annotation) Descriptor

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

func (*Span_TimeEvent_Annotation) GetAttributes

func (m *Span_TimeEvent_Annotation) GetAttributes() *Span_Attributes

func (*Span_TimeEvent_Annotation) GetDescription

func (m *Span_TimeEvent_Annotation) GetDescription() *TruncatableString

func (*Span_TimeEvent_Annotation) ProtoMessage

func (*Span_TimeEvent_Annotation) ProtoMessage()

func (*Span_TimeEvent_Annotation) Reset

func (m *Span_TimeEvent_Annotation) Reset()

func (*Span_TimeEvent_Annotation) String

func (m *Span_TimeEvent_Annotation) String() string

func (*Span_TimeEvent_Annotation) XXX_DiscardUnknown

func (m *Span_TimeEvent_Annotation) XXX_DiscardUnknown()

func (*Span_TimeEvent_Annotation) XXX_Marshal

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

func (*Span_TimeEvent_Annotation) XXX_Merge

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

func (*Span_TimeEvent_Annotation) XXX_Size

func (m *Span_TimeEvent_Annotation) XXX_Size() int

func (*Span_TimeEvent_Annotation) XXX_Unmarshal

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

type Span_TimeEvent_Annotation_

type Span_TimeEvent_Annotation_ struct {
	Annotation *Span_TimeEvent_Annotation `protobuf:"bytes,2,opt,name=annotation,proto3,oneof"`
}

type Span_TimeEvent_MessageEvent

type Span_TimeEvent_MessageEvent struct {
	// The type of MessageEvent. Indicates whether the message was sent or
	// received.
	Type Span_TimeEvent_MessageEvent_Type `protobuf:"varint,1,opt,name=type,proto3,enum=octraceprotobuf.Span_TimeEvent_MessageEvent_Type" json:"type,omitempty"`
	// An identifier for the MessageEvent's message that can be used to match
	// SENT and RECEIVED MessageEvents. For example, this field could
	// represent a sequence ID for a streaming RPC. It is recommended to be
	// unique within a Span.
	Id uint64 `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"`
	// The number of uncompressed bytes sent or received.
	UncompressedSize uint64 `protobuf:"varint,3,opt,name=uncompressed_size,json=uncompressedSize,proto3" json:"uncompressed_size,omitempty"`
	// The number of compressed bytes sent or received. If zero, assumed to
	// be the same size as uncompressed.
	CompressedSize       uint64   `protobuf:"varint,4,opt,name=compressed_size,json=compressedSize,proto3" json:"compressed_size,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

An event describing a message sent/received between Spans.

func (*Span_TimeEvent_MessageEvent) Descriptor

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

func (*Span_TimeEvent_MessageEvent) GetCompressedSize

func (m *Span_TimeEvent_MessageEvent) GetCompressedSize() uint64

func (*Span_TimeEvent_MessageEvent) GetId

func (*Span_TimeEvent_MessageEvent) GetType

func (*Span_TimeEvent_MessageEvent) GetUncompressedSize

func (m *Span_TimeEvent_MessageEvent) GetUncompressedSize() uint64

func (*Span_TimeEvent_MessageEvent) ProtoMessage

func (*Span_TimeEvent_MessageEvent) ProtoMessage()

func (*Span_TimeEvent_MessageEvent) Reset

func (m *Span_TimeEvent_MessageEvent) Reset()

func (*Span_TimeEvent_MessageEvent) String

func (m *Span_TimeEvent_MessageEvent) String() string

func (*Span_TimeEvent_MessageEvent) XXX_DiscardUnknown

func (m *Span_TimeEvent_MessageEvent) XXX_DiscardUnknown()

func (*Span_TimeEvent_MessageEvent) XXX_Marshal

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

func (*Span_TimeEvent_MessageEvent) XXX_Merge

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

func (*Span_TimeEvent_MessageEvent) XXX_Size

func (m *Span_TimeEvent_MessageEvent) XXX_Size() int

func (*Span_TimeEvent_MessageEvent) XXX_Unmarshal

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

type Span_TimeEvent_MessageEvent_

type Span_TimeEvent_MessageEvent_ struct {
	MessageEvent *Span_TimeEvent_MessageEvent `protobuf:"bytes,3,opt,name=message_event,json=messageEvent,proto3,oneof"`
}

type Span_TimeEvent_MessageEvent_Type

type Span_TimeEvent_MessageEvent_Type int32

Indicates whether the message was sent or received.

const (
	// Unknown event type.
	Span_TimeEvent_MessageEvent_TYPE_UNSPECIFIED Span_TimeEvent_MessageEvent_Type = 0
	// Indicates a sent message.
	Span_TimeEvent_MessageEvent_SENT Span_TimeEvent_MessageEvent_Type = 1
	// Indicates a received message.
	Span_TimeEvent_MessageEvent_RECEIVED Span_TimeEvent_MessageEvent_Type = 2
)

func (Span_TimeEvent_MessageEvent_Type) EnumDescriptor

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

func (Span_TimeEvent_MessageEvent_Type) String

type Span_TimeEvents

type Span_TimeEvents struct {
	// A collection of `TimeEvent`s.
	TimeEvent []*Span_TimeEvent `protobuf:"bytes,1,rep,name=time_event,json=timeEvent,proto3" json:"time_event,omitempty"`
	// The number of dropped annotations in all the included time events.
	// If the value is 0, then no annotations were dropped.
	DroppedAnnotationsCount int32 `` /* 133-byte string literal not displayed */
	// The number of dropped message events in all the included time events.
	// If the value is 0, then no message events were dropped.
	DroppedMessageEventsCount int32    `` /* 141-byte string literal not displayed */
	XXX_NoUnkeyedLiteral      struct{} `json:"-"`
	XXX_unrecognized          []byte   `json:"-"`
	XXX_sizecache             int32    `json:"-"`
}

A collection of `TimeEvent`s. A `TimeEvent` is a time-stamped annotation on the span, consisting of either user-supplied key-value pairs, or details of a message sent/received between Spans.

func (*Span_TimeEvents) Descriptor

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

func (*Span_TimeEvents) GetDroppedAnnotationsCount

func (m *Span_TimeEvents) GetDroppedAnnotationsCount() int32

func (*Span_TimeEvents) GetDroppedMessageEventsCount

func (m *Span_TimeEvents) GetDroppedMessageEventsCount() int32

func (*Span_TimeEvents) GetTimeEvent

func (m *Span_TimeEvents) GetTimeEvent() []*Span_TimeEvent

func (*Span_TimeEvents) ProtoMessage

func (*Span_TimeEvents) ProtoMessage()

func (*Span_TimeEvents) Reset

func (m *Span_TimeEvents) Reset()

func (*Span_TimeEvents) String

func (m *Span_TimeEvents) String() string

func (*Span_TimeEvents) XXX_DiscardUnknown

func (m *Span_TimeEvents) XXX_DiscardUnknown()

func (*Span_TimeEvents) XXX_Marshal

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

func (*Span_TimeEvents) XXX_Merge

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

func (*Span_TimeEvents) XXX_Size

func (m *Span_TimeEvents) XXX_Size() int

func (*Span_TimeEvents) XXX_Unmarshal

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

type Span_Tracestate

type Span_Tracestate struct {
	// A list of entries that represent the Tracestate.
	Entries              []*Span_Tracestate_Entry `protobuf:"bytes,1,rep,name=entries,proto3" json:"entries,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                 `json:"-"`
	XXX_unrecognized     []byte                   `json:"-"`
	XXX_sizecache        int32                    `json:"-"`
}

This field conveys information about request position in multiple distributed tracing graphs. It is a list of Tracestate.Entry with a maximum of 32 members in the list.

See the https://github.com/w3c/distributed-tracing for more details about this field.

func (*Span_Tracestate) Descriptor

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

func (*Span_Tracestate) GetEntries

func (m *Span_Tracestate) GetEntries() []*Span_Tracestate_Entry

func (*Span_Tracestate) ProtoMessage

func (*Span_Tracestate) ProtoMessage()

func (*Span_Tracestate) Reset

func (m *Span_Tracestate) Reset()

func (*Span_Tracestate) String

func (m *Span_Tracestate) String() string

func (*Span_Tracestate) XXX_DiscardUnknown

func (m *Span_Tracestate) XXX_DiscardUnknown()

func (*Span_Tracestate) XXX_Marshal

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

func (*Span_Tracestate) XXX_Merge

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

func (*Span_Tracestate) XXX_Size

func (m *Span_Tracestate) XXX_Size() int

func (*Span_Tracestate) XXX_Unmarshal

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

type Span_Tracestate_Entry

type Span_Tracestate_Entry struct {
	// The key must begin with a lowercase letter, and can only contain
	// lowercase letters 'a'-'z', digits '0'-'9', underscores '_', dashes
	// '-', asterisks '*', and forward slashes '/'.
	Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	// The value is opaque string up to 256 characters printable ASCII
	// RFC0020 characters (i.e., the range 0x20 to 0x7E) except ',' and '='.
	// Note that this also excludes tabs, newlines, carriage returns, etc.
	Value                string   `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Span_Tracestate_Entry) Descriptor

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

func (*Span_Tracestate_Entry) GetKey

func (m *Span_Tracestate_Entry) GetKey() string

func (*Span_Tracestate_Entry) GetValue

func (m *Span_Tracestate_Entry) GetValue() string

func (*Span_Tracestate_Entry) ProtoMessage

func (*Span_Tracestate_Entry) ProtoMessage()

func (*Span_Tracestate_Entry) Reset

func (m *Span_Tracestate_Entry) Reset()

func (*Span_Tracestate_Entry) String

func (m *Span_Tracestate_Entry) String() string

func (*Span_Tracestate_Entry) XXX_DiscardUnknown

func (m *Span_Tracestate_Entry) XXX_DiscardUnknown()

func (*Span_Tracestate_Entry) XXX_Marshal

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

func (*Span_Tracestate_Entry) XXX_Merge

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

func (*Span_Tracestate_Entry) XXX_Size

func (m *Span_Tracestate_Entry) XXX_Size() int

func (*Span_Tracestate_Entry) XXX_Unmarshal

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

type StackTrace

type StackTrace struct {
	// Stack frames in this stack trace.
	StackFrames *StackTrace_StackFrames `protobuf:"bytes,1,opt,name=stack_frames,json=stackFrames,proto3" json:"stack_frames,omitempty"`
	// The hash ID is used to conserve network bandwidth for duplicate
	// stack traces within a single trace.
	//
	// Often multiple spans will have identical stack traces.
	// The first occurrence of a stack trace should contain both
	// `stack_frames` and a value in `stack_trace_hash_id`.
	//
	// Subsequent spans within the same request can refer
	// to that stack trace by setting only `stack_trace_hash_id`.
	//
	// TODO: describe how to deal with the case where stack_trace_hash_id is
	// zero because it was not set.
	StackTraceHashId     uint64   `protobuf:"varint,2,opt,name=stack_trace_hash_id,json=stackTraceHashId,proto3" json:"stack_trace_hash_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

The call stack which originated this span.

func (*StackTrace) Descriptor

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

func (*StackTrace) GetStackFrames

func (m *StackTrace) GetStackFrames() *StackTrace_StackFrames

func (*StackTrace) GetStackTraceHashId

func (m *StackTrace) GetStackTraceHashId() uint64

func (*StackTrace) ProtoMessage

func (*StackTrace) ProtoMessage()

func (*StackTrace) Reset

func (m *StackTrace) Reset()

func (*StackTrace) String

func (m *StackTrace) String() string

func (*StackTrace) XXX_DiscardUnknown

func (m *StackTrace) XXX_DiscardUnknown()

func (*StackTrace) XXX_Marshal

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

func (*StackTrace) XXX_Merge

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

func (*StackTrace) XXX_Size

func (m *StackTrace) XXX_Size() int

func (*StackTrace) XXX_Unmarshal

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

type StackTrace_StackFrame

type StackTrace_StackFrame struct {
	// The fully-qualified name that uniquely identifies the function or
	// method that is active in this frame.
	FunctionName *TruncatableString `protobuf:"bytes,1,opt,name=function_name,json=functionName,proto3" json:"function_name,omitempty"`
	// An un-mangled function name, if `function_name` is
	// [mangled](http://www.avabodh.com/cxxin/namemangling.html). The name can
	// be fully qualified.
	OriginalFunctionName *TruncatableString `protobuf:"bytes,2,opt,name=original_function_name,json=originalFunctionName,proto3" json:"original_function_name,omitempty"`
	// The name of the source file where the function call appears.
	FileName *TruncatableString `protobuf:"bytes,3,opt,name=file_name,json=fileName,proto3" json:"file_name,omitempty"`
	// The line number in `file_name` where the function call appears.
	LineNumber int64 `protobuf:"varint,4,opt,name=line_number,json=lineNumber,proto3" json:"line_number,omitempty"`
	// The column number where the function call appears, if available.
	// This is important in JavaScript because of its anonymous functions.
	ColumnNumber int64 `protobuf:"varint,5,opt,name=column_number,json=columnNumber,proto3" json:"column_number,omitempty"`
	// The binary module from where the code was loaded.
	LoadModule *Module `protobuf:"bytes,6,opt,name=load_module,json=loadModule,proto3" json:"load_module,omitempty"`
	// The version of the deployed source code.
	SourceVersion        *TruncatableString `protobuf:"bytes,7,opt,name=source_version,json=sourceVersion,proto3" json:"source_version,omitempty"`
	XXX_NoUnkeyedLiteral struct{}           `json:"-"`
	XXX_unrecognized     []byte             `json:"-"`
	XXX_sizecache        int32              `json:"-"`
}

A single stack frame in a stack trace.

func (*StackTrace_StackFrame) Descriptor

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

func (*StackTrace_StackFrame) GetColumnNumber

func (m *StackTrace_StackFrame) GetColumnNumber() int64

func (*StackTrace_StackFrame) GetFileName

func (m *StackTrace_StackFrame) GetFileName() *TruncatableString

func (*StackTrace_StackFrame) GetFunctionName

func (m *StackTrace_StackFrame) GetFunctionName() *TruncatableString

func (*StackTrace_StackFrame) GetLineNumber

func (m *StackTrace_StackFrame) GetLineNumber() int64

func (*StackTrace_StackFrame) GetLoadModule

func (m *StackTrace_StackFrame) GetLoadModule() *Module

func (*StackTrace_StackFrame) GetOriginalFunctionName

func (m *StackTrace_StackFrame) GetOriginalFunctionName() *TruncatableString

func (*StackTrace_StackFrame) GetSourceVersion

func (m *StackTrace_StackFrame) GetSourceVersion() *TruncatableString

func (*StackTrace_StackFrame) ProtoMessage

func (*StackTrace_StackFrame) ProtoMessage()

func (*StackTrace_StackFrame) Reset

func (m *StackTrace_StackFrame) Reset()

func (*StackTrace_StackFrame) String

func (m *StackTrace_StackFrame) String() string

func (*StackTrace_StackFrame) XXX_DiscardUnknown

func (m *StackTrace_StackFrame) XXX_DiscardUnknown()

func (*StackTrace_StackFrame) XXX_Marshal

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

func (*StackTrace_StackFrame) XXX_Merge

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

func (*StackTrace_StackFrame) XXX_Size

func (m *StackTrace_StackFrame) XXX_Size() int

func (*StackTrace_StackFrame) XXX_Unmarshal

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

type StackTrace_StackFrames

type StackTrace_StackFrames struct {
	// Stack frames in this call stack.
	Frame []*StackTrace_StackFrame `protobuf:"bytes,1,rep,name=frame,proto3" json:"frame,omitempty"`
	// The number of stack frames that were dropped because there
	// were too many stack frames.
	// If this value is 0, then no stack frames were dropped.
	DroppedFramesCount   int32    `protobuf:"varint,2,opt,name=dropped_frames_count,json=droppedFramesCount,proto3" json:"dropped_frames_count,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

A collection of stack frames, which can be truncated.

func (*StackTrace_StackFrames) Descriptor

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

func (*StackTrace_StackFrames) GetDroppedFramesCount

func (m *StackTrace_StackFrames) GetDroppedFramesCount() int32

func (*StackTrace_StackFrames) GetFrame

func (*StackTrace_StackFrames) ProtoMessage

func (*StackTrace_StackFrames) ProtoMessage()

func (*StackTrace_StackFrames) Reset

func (m *StackTrace_StackFrames) Reset()

func (*StackTrace_StackFrames) String

func (m *StackTrace_StackFrames) String() string

func (*StackTrace_StackFrames) XXX_DiscardUnknown

func (m *StackTrace_StackFrames) XXX_DiscardUnknown()

func (*StackTrace_StackFrames) XXX_Marshal

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

func (*StackTrace_StackFrames) XXX_Merge

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

func (*StackTrace_StackFrames) XXX_Size

func (m *StackTrace_StackFrames) XXX_Size() int

func (*StackTrace_StackFrames) XXX_Unmarshal

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

type Status

type Status struct {
	// The status code. This is optional field. It is safe to assume 0 (OK)
	// when not set.
	Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
	// A developer-facing error message, which should be in English.
	Message              string   `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. This proto's fields are a subset of those of [google.rpc.Status](https://github.com/googleapis/googleapis/blob/master/google/rpc/status.proto), which is used by [gRPC](https://github.com/grpc).

func (*Status) Descriptor

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

func (*Status) GetCode

func (m *Status) GetCode() int32

func (*Status) GetMessage

func (m *Status) GetMessage() string

func (*Status) ProtoMessage

func (*Status) ProtoMessage()

func (*Status) Reset

func (m *Status) Reset()

func (*Status) String

func (m *Status) String() string

func (*Status) XXX_DiscardUnknown

func (m *Status) XXX_DiscardUnknown()

func (*Status) XXX_Marshal

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

func (*Status) XXX_Merge

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

func (*Status) XXX_Size

func (m *Status) XXX_Size() int

func (*Status) XXX_Unmarshal

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

type SummaryValue

type SummaryValue struct {
	// The total number of recorded values since start_time. Optional since
	// some systems don't expose this.
	Count *wrappers.Int64Value `protobuf:"bytes,1,opt,name=count,proto3" json:"count,omitempty"`
	// The total sum of recorded values since start_time. Optional since some
	// systems don't expose this. If count is zero then this field must be zero.
	// This field must be unset if the sum is not available.
	Sum *wrappers.DoubleValue `protobuf:"bytes,2,opt,name=sum,proto3" json:"sum,omitempty"`
	// Values calculated over an arbitrary time window.
	Snapshot             *SummaryValue_Snapshot `protobuf:"bytes,3,opt,name=snapshot,proto3" json:"snapshot,omitempty"`
	XXX_NoUnkeyedLiteral struct{}               `json:"-"`
	XXX_unrecognized     []byte                 `json:"-"`
	XXX_sizecache        int32                  `json:"-"`
}

The start_timestamp only applies to the count and sum in the SummaryValue.

func (*SummaryValue) Descriptor

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

func (*SummaryValue) GetCount

func (m *SummaryValue) GetCount() *wrappers.Int64Value

func (*SummaryValue) GetSnapshot

func (m *SummaryValue) GetSnapshot() *SummaryValue_Snapshot

func (*SummaryValue) GetSum

func (m *SummaryValue) GetSum() *wrappers.DoubleValue

func (*SummaryValue) ProtoMessage

func (*SummaryValue) ProtoMessage()

func (*SummaryValue) Reset

func (m *SummaryValue) Reset()

func (*SummaryValue) String

func (m *SummaryValue) String() string

func (*SummaryValue) XXX_DiscardUnknown

func (m *SummaryValue) XXX_DiscardUnknown()

func (*SummaryValue) XXX_Marshal

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

func (*SummaryValue) XXX_Merge

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

func (*SummaryValue) XXX_Size

func (m *SummaryValue) XXX_Size() int

func (*SummaryValue) XXX_Unmarshal

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

type SummaryValue_Snapshot

type SummaryValue_Snapshot struct {
	// The number of values in the snapshot. Optional since some systems don't
	// expose this.
	Count *wrappers.Int64Value `protobuf:"bytes,1,opt,name=count,proto3" json:"count,omitempty"`
	// The sum of values in the snapshot. Optional since some systems don't
	// expose this. If count is zero then this field must be zero or not set
	// (if not supported).
	Sum *wrappers.DoubleValue `protobuf:"bytes,2,opt,name=sum,proto3" json:"sum,omitempty"`
	// A list of values at different percentiles of the distribution calculated
	// from the current snapshot. The percentiles must be strictly increasing.
	PercentileValues     []*SummaryValue_Snapshot_ValueAtPercentile `protobuf:"bytes,3,rep,name=percentile_values,json=percentileValues,proto3" json:"percentile_values,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                                   `json:"-"`
	XXX_unrecognized     []byte                                     `json:"-"`
	XXX_sizecache        int32                                      `json:"-"`
}

The values in this message can be reset at arbitrary unknown times, with the requirement that all of them are reset at the same time.

func (*SummaryValue_Snapshot) Descriptor

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

func (*SummaryValue_Snapshot) GetCount

func (m *SummaryValue_Snapshot) GetCount() *wrappers.Int64Value

func (*SummaryValue_Snapshot) GetPercentileValues

func (*SummaryValue_Snapshot) GetSum

func (*SummaryValue_Snapshot) ProtoMessage

func (*SummaryValue_Snapshot) ProtoMessage()

func (*SummaryValue_Snapshot) Reset

func (m *SummaryValue_Snapshot) Reset()

func (*SummaryValue_Snapshot) String

func (m *SummaryValue_Snapshot) String() string

func (*SummaryValue_Snapshot) XXX_DiscardUnknown

func (m *SummaryValue_Snapshot) XXX_DiscardUnknown()

func (*SummaryValue_Snapshot) XXX_Marshal

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

func (*SummaryValue_Snapshot) XXX_Merge

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

func (*SummaryValue_Snapshot) XXX_Size

func (m *SummaryValue_Snapshot) XXX_Size() int

func (*SummaryValue_Snapshot) XXX_Unmarshal

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

type SummaryValue_Snapshot_ValueAtPercentile

type SummaryValue_Snapshot_ValueAtPercentile struct {
	// The percentile of a distribution. Must be in the interval
	// (0.0, 100.0].
	Percentile float64 `protobuf:"fixed64,1,opt,name=percentile,proto3" json:"percentile,omitempty"`
	// The value at the given percentile of a distribution.
	Value                float64  `protobuf:"fixed64,2,opt,name=value,proto3" json:"value,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Represents the value at a given percentile of a distribution.

func (*SummaryValue_Snapshot_ValueAtPercentile) Descriptor

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

func (*SummaryValue_Snapshot_ValueAtPercentile) GetPercentile

func (*SummaryValue_Snapshot_ValueAtPercentile) GetValue

func (*SummaryValue_Snapshot_ValueAtPercentile) ProtoMessage

func (*SummaryValue_Snapshot_ValueAtPercentile) Reset

func (*SummaryValue_Snapshot_ValueAtPercentile) String

func (*SummaryValue_Snapshot_ValueAtPercentile) XXX_DiscardUnknown

func (m *SummaryValue_Snapshot_ValueAtPercentile) XXX_DiscardUnknown()

func (*SummaryValue_Snapshot_ValueAtPercentile) XXX_Marshal

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

func (*SummaryValue_Snapshot_ValueAtPercentile) XXX_Merge

func (*SummaryValue_Snapshot_ValueAtPercentile) XXX_Size

func (*SummaryValue_Snapshot_ValueAtPercentile) XXX_Unmarshal

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

type TimeSeries

type TimeSeries struct {
	// Must be present for cumulative metrics. The time when the cumulative value
	// was reset to zero. Exclusive. The cumulative value is over the time interval
	// (start_timestamp, timestamp]. If not specified, the backend can use the
	// previous recorded value.
	StartTimestamp *timestamp.Timestamp `protobuf:"bytes,1,opt,name=start_timestamp,json=startTimestamp,proto3" json:"start_timestamp,omitempty"`
	// The set of label values that uniquely identify this timeseries. Applies to
	// all points. The order of label values must match that of label keys in the
	// metric descriptor.
	LabelValues []*LabelValue `protobuf:"bytes,2,rep,name=label_values,json=labelValues,proto3" json:"label_values,omitempty"`
	// The data points of this timeseries. Point.value type MUST match the
	// MetricDescriptor.type.
	Points               []*Point `protobuf:"bytes,3,rep,name=points,proto3" json:"points,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

A collection of data points that describes the time-varying values of a metric.

func (*TimeSeries) Descriptor

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

func (*TimeSeries) GetLabelValues

func (m *TimeSeries) GetLabelValues() []*LabelValue

func (*TimeSeries) GetPoints

func (m *TimeSeries) GetPoints() []*Point

func (*TimeSeries) GetStartTimestamp

func (m *TimeSeries) GetStartTimestamp() *timestamp.Timestamp

func (*TimeSeries) ProtoMessage

func (*TimeSeries) ProtoMessage()

func (*TimeSeries) Reset

func (m *TimeSeries) Reset()

func (*TimeSeries) String

func (m *TimeSeries) String() string

func (*TimeSeries) XXX_DiscardUnknown

func (m *TimeSeries) XXX_DiscardUnknown()

func (*TimeSeries) XXX_Marshal

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

func (*TimeSeries) XXX_Merge

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

func (*TimeSeries) XXX_Size

func (m *TimeSeries) XXX_Size() int

func (*TimeSeries) XXX_Unmarshal

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

type TruncatableString

type TruncatableString struct {
	// The shortened string. For example, if the original string was 500 bytes long and
	// the limit of the string was 128 bytes, then this value contains the first 128
	// bytes of the 500-byte string. Note that truncation always happens on a
	// character boundary, to ensure that a truncated string is still valid UTF-8.
	// Because it may contain multi-byte characters, the size of the truncated string
	// may be less than the truncation limit.
	Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
	// The number of bytes removed from the original string. If this
	// value is 0, then the string was not shortened.
	TruncatedByteCount   int32    `protobuf:"varint,2,opt,name=truncated_byte_count,json=truncatedByteCount,proto3" json:"truncated_byte_count,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

A string that might be shortened to a specified length.

func (*TruncatableString) Descriptor

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

func (*TruncatableString) GetTruncatedByteCount

func (m *TruncatableString) GetTruncatedByteCount() int32

func (*TruncatableString) GetValue

func (m *TruncatableString) GetValue() string

func (*TruncatableString) ProtoMessage

func (*TruncatableString) ProtoMessage()

func (*TruncatableString) Reset

func (m *TruncatableString) Reset()

func (*TruncatableString) String

func (m *TruncatableString) String() string

func (*TruncatableString) XXX_DiscardUnknown

func (m *TruncatableString) XXX_DiscardUnknown()

func (*TruncatableString) XXX_Marshal

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

func (*TruncatableString) XXX_Merge

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

func (*TruncatableString) XXX_Size

func (m *TruncatableString) XXX_Size() int

func (*TruncatableString) XXX_Unmarshal

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

type UnimplementedOCStreamTracerServer

type UnimplementedOCStreamTracerServer struct {
}

UnimplementedOCStreamTracerServer can be embedded to have forward compatible implementations.

func (*UnimplementedOCStreamTracerServer) Export

Jump to

Keyboard shortcuts

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