otlptimewrapped

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: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AttributeKeyValue_ValueType_name = map[int32]string{
	0: "STRING",
	1: "BOOL",
	2: "INT64",
	3: "FLOAT64",
	4: "BINARY",
}
View Source
var AttributeKeyValue_ValueType_value = map[string]int32{
	"STRING":  0,
	"BOOL":    1,
	"INT64":   2,
	"FLOAT64": 3,
	"BINARY":  4,
}
View Source
var Capabilities_name = map[int32]string{
	0: "SKIP",
	1: "ZLIB_COMPRESSION",
	2: "LZ4_COMPRESSION",
}
View Source
var Capabilities_value = map[string]int32{
	"SKIP":             0,
	"ZLIB_COMPRESSION": 1,
	"LZ4_COMPRESSION":  2,
}
View Source
var CompressionMethod_name = map[int32]string{
	0: "NONE",
	1: "LZ4",
	2: "ZLIB",
}
View Source
var CompressionMethod_value = map[string]int32{
	"NONE": 0,
	"LZ4":  1,
	"ZLIB": 2,
}
View Source
var ExportResponse_ResultCode_name = map[int32]string{
	0: "Success",
	1: "FailedNoneRetryable",
	2: "FailedRetryable",
}
View Source
var ExportResponse_ResultCode_value = map[string]int32{
	"Success":             0,
	"FailedNoneRetryable": 1,
	"FailedRetryable":     2,
}
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 Point_ValueType_name = map[int32]string{
	0: "INT64",
	1: "DOUBLE",
	2: "DISTRIBUTION",
	3: "SUMMARY",
}
View Source
var Point_ValueType_value = map[string]int32{
	"INT64":        0,
	"DOUBLE":       1,
	"DISTRIBUTION": 2,
	"SUMMARY":      3,
}
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,
}

Functions

This section is empty.

Types

type AttributeKeyValue

type AttributeKeyValue struct {
	Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	// The type of the value.
	Type AttributeKeyValue_ValueType `protobuf:"varint,2,opt,name=type,proto3,enum=otlptimewrapped.AttributeKeyValue_ValueType" json:"type,omitempty"`
	// A string up to 256 bytes long.
	StringValue string `protobuf:"bytes,3,opt,name=string_value,json=stringValue,proto3" json:"string_value,omitempty"`
	// A 64-bit signed integer.
	IntValue int64 `protobuf:"varint,4,opt,name=int_value,json=intValue,proto3" json:"int_value,omitempty"`
	// A Boolean value represented by `true` or `false`.
	BoolValue bool `protobuf:"varint,5,opt,name=bool_value,json=boolValue,proto3" json:"bool_value,omitempty"`
	// A double value.
	DoubleValue float64 `protobuf:"fixed64,6,opt,name=double_value,json=doubleValue,proto3" json:"double_value,omitempty"`
	// A binary value of bytes.
	BunaryValue          []byte   `protobuf:"bytes,7,opt,name=bunary_value,json=bunaryValue,proto3" json:"bunary_value,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*AttributeKeyValue) Descriptor

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

func (*AttributeKeyValue) GetBoolValue

func (m *AttributeKeyValue) GetBoolValue() bool

func (*AttributeKeyValue) GetBunaryValue

func (m *AttributeKeyValue) GetBunaryValue() []byte

func (*AttributeKeyValue) GetDoubleValue

func (m *AttributeKeyValue) GetDoubleValue() float64

func (*AttributeKeyValue) GetIntValue

func (m *AttributeKeyValue) GetIntValue() int64

func (*AttributeKeyValue) GetKey

func (m *AttributeKeyValue) GetKey() string

func (*AttributeKeyValue) GetStringValue

func (m *AttributeKeyValue) GetStringValue() string

func (*AttributeKeyValue) GetType

func (*AttributeKeyValue) ProtoMessage

func (*AttributeKeyValue) ProtoMessage()

func (*AttributeKeyValue) Reset

func (m *AttributeKeyValue) Reset()

func (*AttributeKeyValue) String

func (m *AttributeKeyValue) String() string

func (*AttributeKeyValue) XXX_DiscardUnknown

func (m *AttributeKeyValue) XXX_DiscardUnknown()

func (*AttributeKeyValue) XXX_Marshal

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

func (*AttributeKeyValue) XXX_Merge

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

func (*AttributeKeyValue) XXX_Size

func (m *AttributeKeyValue) XXX_Size() int

func (*AttributeKeyValue) XXX_Unmarshal

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

type AttributeKeyValue_ValueType

type AttributeKeyValue_ValueType int32
const (
	AttributeKeyValue_STRING  AttributeKeyValue_ValueType = 0
	AttributeKeyValue_BOOL    AttributeKeyValue_ValueType = 1
	AttributeKeyValue_INT64   AttributeKeyValue_ValueType = 2
	AttributeKeyValue_FLOAT64 AttributeKeyValue_ValueType = 3
	AttributeKeyValue_BINARY  AttributeKeyValue_ValueType = 4
)

func (AttributeKeyValue_ValueType) EnumDescriptor

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

func (AttributeKeyValue_ValueType) String

type Capabilities

type Capabilities int32
const (
	Capabilities_SKIP             Capabilities = 0
	Capabilities_ZLIB_COMPRESSION Capabilities = 1
	Capabilities_LZ4_COMPRESSION  Capabilities = 2
)

func (Capabilities) EnumDescriptor

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

func (Capabilities) String

func (x Capabilities) String() string

type CompressionMethod

type CompressionMethod int32
const (
	CompressionMethod_NONE CompressionMethod = 0
	CompressionMethod_LZ4  CompressionMethod = 1
	CompressionMethod_ZLIB CompressionMethod = 2
)

func (CompressionMethod) EnumDescriptor

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

func (CompressionMethod) String

func (x CompressionMethod) String() string

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.
	TimeUnixnano *timestamp.Timestamp `protobuf:"bytes,2,opt,name=time_unixnano,json=timeUnixnano,proto3" json:"time_unixnano,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) GetTimeUnixnano

func (m *DistributionValue_Exemplar) GetTimeUnixnano() *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 ExportResponse

type ExportResponse struct {
	// ID of a response that the server acknowledges.
	Id                   uint64                    `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	ResultCode           ExportResponse_ResultCode `` /* 139-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}                  `json:"-"`
	XXX_unrecognized     []byte                    `json:"-"`
	XXX_sizecache        int32                     `json:"-"`
}

A response to ExportRequest.

func (*ExportResponse) Descriptor

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

func (*ExportResponse) GetId

func (m *ExportResponse) GetId() uint64

func (*ExportResponse) GetResultCode

func (m *ExportResponse) GetResultCode() ExportResponse_ResultCode

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 ExportResponse_ResultCode

type ExportResponse_ResultCode int32
const (
	// Telemetry data is successfully processed by the server.
	ExportResponse_Success ExportResponse_ResultCode = 0
	// processing of telemetry data failed. The client MUST NOT retry
	// sending the same telemetry data. The telemetry data MUST be dropped.
	// This for example can happen when the request contains bad data and
	// cannot be deserialized or otherwise processed by the server.
	ExportResponse_FailedNoneRetryable ExportResponse_ResultCode = 1
	// Processing of telemetry data failed. The client SHOULD record the
	// error and MAY retry exporting the same data after some time. This
	// for example can happen when the server is overloaded.
	ExportResponse_FailedRetryable ExportResponse_ResultCode = 2
)

func (ExportResponse_ResultCode) EnumDescriptor

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

func (ExportResponse_ResultCode) String

func (x ExportResponse_ResultCode) String() string

type Generator

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

Generator allows to generate a ExportRequest.

func NewGenerator

func NewGenerator() *Generator

func (*Generator) GenerateMetricBatch

func (g *Generator) GenerateMetricBatch(metricsPerBatch int) core.ExportRequest

func (*Generator) GenerateSpanBatch

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

type HelloRequest

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

Hello is the first request from client to server.

func (*HelloRequest) Descriptor

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

func (*HelloRequest) ProtoMessage

func (*HelloRequest) ProtoMessage()

func (*HelloRequest) Reset

func (m *HelloRequest) Reset()

func (*HelloRequest) String

func (m *HelloRequest) String() string

func (*HelloRequest) XXX_DiscardUnknown

func (m *HelloRequest) XXX_DiscardUnknown()

func (*HelloRequest) XXX_Marshal

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

func (*HelloRequest) XXX_Merge

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

func (*HelloRequest) XXX_Size

func (m *HelloRequest) XXX_Size() int

func (*HelloRequest) XXX_Unmarshal

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

type HelloResponse

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

Response to Hello request.

func (*HelloResponse) Descriptor

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

func (*HelloResponse) ProtoMessage

func (*HelloResponse) ProtoMessage()

func (*HelloResponse) Reset

func (m *HelloResponse) Reset()

func (*HelloResponse) String

func (m *HelloResponse) String() string

func (*HelloResponse) XXX_DiscardUnknown

func (m *HelloResponse) XXX_DiscardUnknown()

func (*HelloResponse) XXX_Marshal

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

func (*HelloResponse) XXX_Merge

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

func (*HelloResponse) XXX_Size

func (m *HelloResponse) XXX_Size() int

func (*HelloResponse) XXX_Unmarshal

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

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=otlptimewrapped.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 MetricExportRequest

type MetricExportRequest struct {
	// Unique sequential ID generated by the client.
	Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// Telemetry data. An array of ResourceMetrics.
	ResourceMetrics      []*ResourceMetrics `protobuf:"bytes,2,rep,name=resourceMetrics,proto3" json:"resourceMetrics,omitempty"`
	XXX_NoUnkeyedLiteral struct{}           `json:"-"`
	XXX_unrecognized     []byte             `json:"-"`
	XXX_sizecache        int32              `json:"-"`
}

A request from client to server containing metric data to export.

func (*MetricExportRequest) Descriptor

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

func (*MetricExportRequest) GetId

func (m *MetricExportRequest) GetId() uint64

func (*MetricExportRequest) GetResourceMetrics

func (m *MetricExportRequest) GetResourceMetrics() []*ResourceMetrics

func (*MetricExportRequest) ProtoMessage

func (*MetricExportRequest) ProtoMessage()

func (*MetricExportRequest) Reset

func (m *MetricExportRequest) Reset()

func (*MetricExportRequest) String

func (m *MetricExportRequest) String() string

func (*MetricExportRequest) XXX_DiscardUnknown

func (m *MetricExportRequest) XXX_DiscardUnknown()

func (*MetricExportRequest) XXX_Marshal

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

func (*MetricExportRequest) XXX_Merge

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

func (*MetricExportRequest) XXX_Size

func (m *MetricExportRequest) XXX_Size() int

func (*MetricExportRequest) XXX_Unmarshal

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

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 string `protobuf:"bytes,1,opt,name=module,proto3" json:"module,omitempty"`
	// A unique identifier for the module, usually a hash of its
	// contents.
	BuildId              string   `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() string

func (*Module) GetModule

func (m *Module) GetModule() string

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 Point

type Point struct {
	// The moment when this point was recorded. Inclusive.
	// If not specified, the timestamp will be decided by the backend.
	TimeUnixnano *timestamp.Timestamp `protobuf:"bytes,1,opt,name=time_unixnano,json=timeUnixnano,proto3" json:"time_unixnano,omitempty"`
	// Defines which of the value fields is set.
	ValueType Point_ValueType `` /* 126-byte string literal not displayed */
	// A 64-bit integer.
	Int64Value int64 `protobuf:"varint,3,opt,name=int64_value,json=int64Value,proto3" json:"int64_value,omitempty"`
	// A 64-bit double-precision floating-point number.
	DoubleValue float64 `protobuf:"fixed64,4,opt,name=double_value,json=doubleValue,proto3" json:"double_value,omitempty"`
	// A distribution value.
	DistributionValue *DistributionValue `protobuf:"bytes,5,opt,name=distribution_value,json=distributionValue,proto3" json:"distribution_value,omitempty"`
	// A summary value. This is not recommended, since it cannot be aggregated.
	SummaryValue         *SummaryValue `protobuf:"bytes,6,opt,name=summary_value,json=summaryValue,proto3" json:"summary_value,omitempty"`
	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) GetTimeUnixnano

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

func (*Point) GetValueType

func (m *Point) GetValueType() Point_ValueType

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_Size

func (m *Point) XXX_Size() int

func (*Point) XXX_Unmarshal

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

type Point_ValueType

type Point_ValueType int32
const (
	Point_INT64        Point_ValueType = 0
	Point_DOUBLE       Point_ValueType = 1
	Point_DISTRIBUTION Point_ValueType = 2
	Point_SUMMARY      Point_ValueType = 3
)

func (Point_ValueType) EnumDescriptor

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

func (Point_ValueType) String

func (x Point_ValueType) String() string

type Process

type Process struct {
	// The host name. Usually refers to the machine/container name.
	// For example: os.Hostname() in Go, socket.gethostname() in Python.
	HostName string `protobuf:"bytes,1,opt,name=host_name,json=hostName,proto3" json:"host_name,omitempty"`
	// Process id.
	Pid uint32 `protobuf:"varint,2,opt,name=pid,proto3" json:"pid,omitempty"`
	// Start time of this process. Represented in epoch time.
	StartTimeUnixnano    *timestamp.Timestamp `protobuf:"bytes,3,opt,name=start_time_unixnano,json=startTimeUnixnano,proto3" json:"start_time_unixnano,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

Identifies a process within a VM/container.

func (*Process) Descriptor

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

func (*Process) GetHostName

func (m *Process) GetHostName() string

func (*Process) GetPid

func (m *Process) GetPid() uint32

func (*Process) GetStartTimeUnixnano

func (m *Process) GetStartTimeUnixnano() *timestamp.Timestamp

func (*Process) ProtoMessage

func (*Process) ProtoMessage()

func (*Process) Reset

func (m *Process) Reset()

func (*Process) String

func (m *Process) String() string

func (*Process) XXX_DiscardUnknown

func (m *Process) XXX_DiscardUnknown()

func (*Process) XXX_Marshal

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

func (*Process) XXX_Merge

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

func (*Process) XXX_Size

func (m *Process) XXX_Size() int

func (*Process) XXX_Unmarshal

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

type RequestBody

type RequestBody struct {
	// Types that are valid to be assigned to Body:
	//	*RequestBody_Hello
	//	*RequestBody_Export
	Body                 isRequestBody_Body `protobuf_oneof:"body"`
	XXX_NoUnkeyedLiteral struct{}           `json:"-"`
	XXX_unrecognized     []byte             `json:"-"`
	XXX_sizecache        int32              `json:"-"`
}

RequestBody is used by transports that unlike gRPC don't have built-in message type multiplexing such as WebSocket.

func (*RequestBody) Descriptor

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

func (*RequestBody) GetBody

func (m *RequestBody) GetBody() isRequestBody_Body

func (*RequestBody) GetExport

func (m *RequestBody) GetExport() *TraceExportRequest

func (*RequestBody) GetHello

func (m *RequestBody) GetHello() *HelloRequest

func (*RequestBody) ProtoMessage

func (*RequestBody) ProtoMessage()

func (*RequestBody) Reset

func (m *RequestBody) Reset()

func (*RequestBody) String

func (m *RequestBody) String() string

func (*RequestBody) XXX_DiscardUnknown

func (m *RequestBody) XXX_DiscardUnknown()

func (*RequestBody) XXX_Marshal

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

func (*RequestBody) XXX_Merge

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

func (*RequestBody) XXX_OneofWrappers

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

XXX_OneofWrappers is for the internal use of the proto package.

func (*RequestBody) XXX_Size

func (m *RequestBody) XXX_Size() int

func (*RequestBody) XXX_Unmarshal

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

type RequestBody_Export

type RequestBody_Export struct {
	Export *TraceExportRequest `protobuf:"bytes,2,opt,name=export,proto3,oneof"`
}

type RequestBody_Hello

type RequestBody_Hello struct {
	Hello *HelloRequest `protobuf:"bytes,1,opt,name=hello,proto3,oneof"`
}

type RequestHeader

type RequestHeader struct {
	// Compression method used for body.
	Compression CompressionMethod `protobuf:"varint,1,opt,name=compression,proto3,enum=otlptimewrapped.CompressionMethod" json:"compression,omitempty"`
	// Compression level as defined by the compression method.
	CompressionLevel     int32    `protobuf:"varint,2,opt,name=compression_level,json=compressionLevel,proto3" json:"compression_level,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

RequestHeader is used by transports that unlike gRPC don't have built-in request compression such as WebSocket. Request body typically follows the header.

func (*RequestHeader) Descriptor

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

func (*RequestHeader) GetCompression

func (m *RequestHeader) GetCompression() CompressionMethod

func (*RequestHeader) GetCompressionLevel

func (m *RequestHeader) GetCompressionLevel() int32

func (*RequestHeader) ProtoMessage

func (*RequestHeader) ProtoMessage()

func (*RequestHeader) Reset

func (m *RequestHeader) Reset()

func (*RequestHeader) String

func (m *RequestHeader) String() string

func (*RequestHeader) XXX_DiscardUnknown

func (m *RequestHeader) XXX_DiscardUnknown()

func (*RequestHeader) XXX_Marshal

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

func (*RequestHeader) XXX_Merge

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

func (*RequestHeader) XXX_Size

func (m *RequestHeader) XXX_Size() int

func (*RequestHeader) XXX_Unmarshal

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

type Resource

type Resource struct {
	// Identifier that uniquely identifies a process within a VM/container.
	Process *Process `protobuf:"bytes,1,opt,name=process,proto3" json:"process,omitempty"`
	// Name of the service.
	ServiceName string `protobuf:"bytes,3,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"`
	// Set of labels that describe the resource.
	Attributes           []*AttributeKeyValue `protobuf:"bytes,2,rep,name=attributes,proto3" json:"attributes,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

Resource information. This describes the source of telemetry data.

func (*Resource) Descriptor

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

func (*Resource) GetAttributes

func (m *Resource) GetAttributes() []*AttributeKeyValue

func (*Resource) GetProcess

func (m *Resource) GetProcess() *Process

func (*Resource) GetServiceName

func (m *Resource) GetServiceName() 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 ResourceMetrics

type ResourceMetrics struct {
	Resource             *Resource `protobuf:"bytes,1,opt,name=resource,proto3" json:"resource,omitempty"`
	Metrics              []*Metric `protobuf:"bytes,2,rep,name=metrics,proto3" json:"metrics,omitempty"`
	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
	XXX_unrecognized     []byte    `json:"-"`
	XXX_sizecache        int32     `json:"-"`
}

A list of metrics from a Resource.

func (*ResourceMetrics) Descriptor

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

func (*ResourceMetrics) GetMetrics

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

func (*ResourceMetrics) GetResource

func (m *ResourceMetrics) GetResource() *Resource

func (*ResourceMetrics) ProtoMessage

func (*ResourceMetrics) ProtoMessage()

func (*ResourceMetrics) Reset

func (m *ResourceMetrics) Reset()

func (*ResourceMetrics) String

func (m *ResourceMetrics) String() string

func (*ResourceMetrics) XXX_DiscardUnknown

func (m *ResourceMetrics) XXX_DiscardUnknown()

func (*ResourceMetrics) XXX_Marshal

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

func (*ResourceMetrics) XXX_Merge

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

func (*ResourceMetrics) XXX_Size

func (m *ResourceMetrics) XXX_Size() int

func (*ResourceMetrics) XXX_Unmarshal

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

type ResourceSpans

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

A list of spans from a Resource.

func (*ResourceSpans) Descriptor

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

func (*ResourceSpans) GetResource

func (m *ResourceSpans) GetResource() *Resource

func (*ResourceSpans) GetSpans

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

func (*ResourceSpans) ProtoMessage

func (*ResourceSpans) ProtoMessage()

func (*ResourceSpans) Reset

func (m *ResourceSpans) Reset()

func (*ResourceSpans) String

func (m *ResourceSpans) String() string

func (*ResourceSpans) XXX_DiscardUnknown

func (m *ResourceSpans) XXX_DiscardUnknown()

func (*ResourceSpans) XXX_Marshal

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

func (*ResourceSpans) XXX_Merge

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

func (*ResourceSpans) XXX_Size

func (m *ResourceSpans) XXX_Size() int

func (*ResourceSpans) XXX_Unmarshal

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

type Response

type Response struct {
	// Types that are valid to be assigned to Body:
	//	*Response_Hello
	//	*Response_Export
	Body                 isResponse_Body `protobuf_oneof:"body"`
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_unrecognized     []byte          `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

Response is used by transports that unlike gRPC don't have built-in message type multiplexing such as WebSocket.

func (*Response) Descriptor

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

func (*Response) GetBody

func (m *Response) GetBody() isResponse_Body

func (*Response) GetExport

func (m *Response) GetExport() *ExportResponse

func (*Response) GetHello

func (m *Response) GetHello() *HelloResponse

func (*Response) ProtoMessage

func (*Response) ProtoMessage()

func (*Response) Reset

func (m *Response) Reset()

func (*Response) String

func (m *Response) String() string

func (*Response) XXX_DiscardUnknown

func (m *Response) XXX_DiscardUnknown()

func (*Response) XXX_Marshal

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

func (*Response) XXX_Merge

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

func (*Response) XXX_OneofWrappers

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

XXX_OneofWrappers is for the internal use of the proto package.

func (*Response) XXX_Size

func (m *Response) XXX_Size() int

func (*Response) XXX_Unmarshal

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

type Response_Export

type Response_Export struct {
	Export *ExportResponse `protobuf:"bytes,2,opt,name=export,proto3,oneof"`
}

type Response_Hello

type Response_Hello struct {
	Hello *HelloResponse `protobuf:"bytes,1,opt,name=hello,proto3,oneof"`
}

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,3,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,4,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 string `protobuf:"bytes,5,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,6,opt,name=kind,proto3,enum=otlptimewrapped.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.
	StartTimeUnixnano *timestamp.Timestamp `protobuf:"bytes,7,opt,name=start_time_unixnano,json=startTimeUnixnano,proto3" json:"start_time_unixnano,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.
	EndTimeUnixnano *timestamp.Timestamp `protobuf:"bytes,8,opt,name=end_time_unixnano,json=endTimeUnixnano,proto3" json:"end_time_unixnano,omitempty"`
	// 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
	Attributes []*AttributeKeyValue `protobuf:"bytes,9,rep,name=attributes,proto3" json:"attributes,omitempty"`
	// A stack trace captured at the start of the span.
	StackTrace *StackTrace `protobuf:"bytes,10,opt,name=stack_trace,json=stackTrace,proto3" json:"stack_trace,omitempty"`
	// The included time events.
	TimeEvents *Span_TimeEvents `protobuf:"bytes,11,opt,name=time_events,json=timeEvents,proto3" json:"time_events,omitempty"`
	// The included links.
	Links *Span_Links `protobuf:"bytes,12,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,13,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 ResourceSpan that does include the resource information, unless resource
	// information is unknown.
	Resource *Resource `protobuf:"bytes,14,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,16,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.

func (*Span) Descriptor

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

func (*Span) GetAttributes

func (m *Span) GetAttributes() []*AttributeKeyValue

func (*Span) GetChildSpanCount

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

func (*Span) GetEndTimeUnixnano

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

func (*Span) GetKind

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

func (*Span) GetName

func (m *Span) GetName() string

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

func (m *Span) GetStartTimeUnixnano() *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_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=otlptimewrapped.Span_Link_Type" json:"type,omitempty"`
	// A set of attributes on the link.
	Attributes []*AttributeKeyValue `protobuf:"bytes,4,rep,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() []*AttributeKeyValue

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.
	TimeUnixnano *timestamp.Timestamp `protobuf:"bytes,1,opt,name=time_unixnano,json=timeUnixnano,proto3" json:"time_unixnano,omitempty"`
	// A user-supplied name describing the event.
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// A set of attributes on the event.
	Attributes           []*AttributeKeyValue `protobuf:"bytes,3,rep,name=attributes,proto3" json:"attributes,omitempty"`
	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) GetAttributes

func (m *Span_TimeEvent) GetAttributes() []*AttributeKeyValue

func (*Span_TimeEvent) GetName

func (m *Span_TimeEvent) GetName() string

func (*Span_TimeEvent) GetTimeUnixnano

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

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_Size

func (m *Span_TimeEvent) XXX_Size() int

func (*Span_TimeEvent) XXX_Unmarshal

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

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 string `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 string `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 string `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        string   `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() string

func (*StackTrace_StackFrame) GetFunctionName

func (m *StackTrace_StackFrame) GetFunctionName() string

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() string

func (*StackTrace_StackFrame) GetSourceVersion

func (m *StackTrace_StackFrame) GetSourceVersion() string

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.
	StartTimeUnixnano *timestamp.Timestamp `protobuf:"bytes,1,opt,name=start_time_unixnano,json=startTimeUnixnano,proto3" json:"start_time_unixnano,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) GetStartTimeUnixnano

func (m *TimeSeries) GetStartTimeUnixnano() *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 TraceExportRequest

type TraceExportRequest struct {
	// Unique sequential ID generated by the client.
	Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// Telemetry data. An array of ResourceSpans.
	ResourceSpans        []*ResourceSpans `protobuf:"bytes,2,rep,name=resourceSpans,proto3" json:"resourceSpans,omitempty"`
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

A request from client to server containing trace data to export.

func (*TraceExportRequest) Descriptor

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

func (*TraceExportRequest) GetId

func (m *TraceExportRequest) GetId() uint64

func (*TraceExportRequest) GetResourceSpans

func (m *TraceExportRequest) GetResourceSpans() []*ResourceSpans

func (*TraceExportRequest) ProtoMessage

func (*TraceExportRequest) ProtoMessage()

func (*TraceExportRequest) Reset

func (m *TraceExportRequest) Reset()

func (*TraceExportRequest) String

func (m *TraceExportRequest) String() string

func (*TraceExportRequest) XXX_DiscardUnknown

func (m *TraceExportRequest) XXX_DiscardUnknown()

func (*TraceExportRequest) XXX_Marshal

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

func (*TraceExportRequest) XXX_Merge

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

func (*TraceExportRequest) XXX_Size

func (m *TraceExportRequest) XXX_Size() int

func (*TraceExportRequest) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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