logsv1

package
v1.33.0-20240209200904... Latest Latest
Warning

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

Go to latest
Published: unknown License: Apache-2.0 Imports: 5 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_opentelemetry_proto_collector_logs_v1_logs_service_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type ExportLogsPartialSuccess

type ExportLogsPartialSuccess struct {

	// The number of rejected log records.
	//
	// A `rejected_<signal>` field holding a `0` value indicates that the
	// request was fully accepted.
	RejectedLogRecords int64 `protobuf:"varint,1,opt,name=rejected_log_records,json=rejectedLogRecords,proto3" json:"rejected_log_records,omitempty"`
	// A developer-facing human-readable message in English. It should be used
	// either to explain why the server rejected parts of the data during a partial
	// success or to convey warnings/suggestions during a full success. The message
	// should offer guidance on how users can address such issues.
	//
	// error_message is an optional field. An error_message with an empty value
	// is equivalent to it not being set.
	ErrorMessage string `protobuf:"bytes,2,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"`
	// contains filtered or unexported fields
}

func (*ExportLogsPartialSuccess) Descriptor deprecated

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

Deprecated: Use ExportLogsPartialSuccess.ProtoReflect.Descriptor instead.

func (*ExportLogsPartialSuccess) GetErrorMessage

func (x *ExportLogsPartialSuccess) GetErrorMessage() string

func (*ExportLogsPartialSuccess) GetRejectedLogRecords

func (x *ExportLogsPartialSuccess) GetRejectedLogRecords() int64

func (*ExportLogsPartialSuccess) ProtoMessage

func (*ExportLogsPartialSuccess) ProtoMessage()

func (*ExportLogsPartialSuccess) ProtoReflect

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

func (*ExportLogsPartialSuccess) Reset

func (x *ExportLogsPartialSuccess) Reset()

func (*ExportLogsPartialSuccess) String

func (x *ExportLogsPartialSuccess) String() string

type ExportLogsServiceRequest

type ExportLogsServiceRequest struct {

	// An array of ResourceLogs.
	// For data coming from a single resource this array will typically contain one
	// element. Intermediary nodes (such as OpenTelemetry Collector) that receive
	// data from multiple origins typically batch the data before forwarding further and
	// in that case this array will contain multiple elements.
	ResourceLogs []*v1.ResourceLogs `protobuf:"bytes,1,rep,name=resource_logs,json=resourceLogs,proto3" json:"resource_logs,omitempty"`
	// contains filtered or unexported fields
}

func (*ExportLogsServiceRequest) Descriptor deprecated

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

Deprecated: Use ExportLogsServiceRequest.ProtoReflect.Descriptor instead.

func (*ExportLogsServiceRequest) GetResourceLogs

func (x *ExportLogsServiceRequest) GetResourceLogs() []*v1.ResourceLogs

func (*ExportLogsServiceRequest) ProtoMessage

func (*ExportLogsServiceRequest) ProtoMessage()

func (*ExportLogsServiceRequest) ProtoReflect

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

func (*ExportLogsServiceRequest) Reset

func (x *ExportLogsServiceRequest) Reset()

func (*ExportLogsServiceRequest) String

func (x *ExportLogsServiceRequest) String() string

type ExportLogsServiceResponse

type ExportLogsServiceResponse struct {

	// The details of a partially successful export request.
	//
	// If the request is only partially accepted
	// (i.e. when the server accepts only parts of the data and rejects the rest)
	// the server MUST initialize the `partial_success` field and MUST
	// set the `rejected_<signal>` with the number of items it rejected.
	//
	// Servers MAY also make use of the `partial_success` field to convey
	// warnings/suggestions to senders even when the request was fully accepted.
	// In such cases, the `rejected_<signal>` MUST have a value of `0` and
	// the `error_message` MUST be non-empty.
	//
	// A `partial_success` message with an empty value (rejected_<signal> = 0 and
	// `error_message` = "") is equivalent to it not being set/present. Senders
	// SHOULD interpret it the same way as in the full success case.
	PartialSuccess *ExportLogsPartialSuccess `protobuf:"bytes,1,opt,name=partial_success,json=partialSuccess,proto3" json:"partial_success,omitempty"`
	// contains filtered or unexported fields
}

func (*ExportLogsServiceResponse) Descriptor deprecated

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

Deprecated: Use ExportLogsServiceResponse.ProtoReflect.Descriptor instead.

func (*ExportLogsServiceResponse) GetPartialSuccess

func (x *ExportLogsServiceResponse) GetPartialSuccess() *ExportLogsPartialSuccess

func (*ExportLogsServiceResponse) ProtoMessage

func (*ExportLogsServiceResponse) ProtoMessage()

func (*ExportLogsServiceResponse) ProtoReflect

func (*ExportLogsServiceResponse) Reset

func (x *ExportLogsServiceResponse) Reset()

func (*ExportLogsServiceResponse) String

func (x *ExportLogsServiceResponse) String() string

Jump to

Keyboard shortcuts

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