io.opentelemetry.proto.collector.logs.v1.logs_service

Members list

Type members

Classlikes

final case class ExportLogsPartialSuccess(rejectedLogRecords: Long, errorMessage: String, unknownFields: UnknownFieldSet) extends GeneratedMessage, Updatable[ExportLogsPartialSuccess]

Value parameters

errorMessage

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.

rejectedLogRecords

The number of rejected log records. A rejected_<signal> field holding a 0 value indicates that the request was fully accepted.

Attributes

Companion
object
Source
ExportLogsPartialSuccess.scala
Supertypes
trait Updatable[ExportLogsPartialSuccess]
trait GeneratedMessage
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object ExportLogsPartialSuccess extends GeneratedMessageCompanion[ExportLogsPartialSuccess]

Attributes

Companion
class
Source
ExportLogsPartialSuccess.scala
Supertypes
trait Product
trait Mirror
trait GeneratedMessageCompanion[ExportLogsPartialSuccess]
trait Serializable
class Object
trait Matchable
class Any
Show all
Self type
final case class ExportLogsServiceRequest(resourceLogs: Seq[ResourceLogs], unknownFields: UnknownFieldSet) extends GeneratedMessage, Updatable[ExportLogsServiceRequest]

Value parameters

resourceLogs

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.

Attributes

Companion
object
Source
ExportLogsServiceRequest.scala
Supertypes
trait Updatable[ExportLogsServiceRequest]
trait GeneratedMessage
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object ExportLogsServiceRequest extends GeneratedMessageCompanion[ExportLogsServiceRequest]

Attributes

Companion
class
Source
ExportLogsServiceRequest.scala
Supertypes
trait Product
trait Mirror
trait GeneratedMessageCompanion[ExportLogsServiceRequest]
trait Serializable
class Object
trait Matchable
class Any
Show all
Self type
final case class ExportLogsServiceResponse(partialSuccess: Option[ExportLogsPartialSuccess], unknownFields: UnknownFieldSet) extends GeneratedMessage, Updatable[ExportLogsServiceResponse]

Value parameters

partialSuccess

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.

Attributes

Companion
object
Source
ExportLogsServiceResponse.scala
Supertypes
trait Updatable[ExportLogsServiceResponse]
trait GeneratedMessage
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object ExportLogsServiceResponse extends GeneratedMessageCompanion[ExportLogsServiceResponse]

Attributes

Companion
class
Source
ExportLogsServiceResponse.scala
Supertypes
trait Product
trait Mirror
trait GeneratedMessageCompanion[ExportLogsServiceResponse]
trait Serializable
class Object
trait Matchable
class Any
Show all
Self type
object LogsServiceProto extends GeneratedFileObject

Attributes

Source
LogsServiceProto.scala
Supertypes
class GeneratedFileObject
class Object
trait Matchable
class Any
Self type