Class GrpcRelayLogBatchRequest
Used to submit a batch of telemetry logs from neon-desktop and neon-cli to the neon-desktop-service which will then forward them to the headend.
note
The batch is actually serialized as a JSON string so that we won't have to define protobufs for this, keeping things simple.
Namespace: Neon.Kube.GrpcProto.Desktop
Assembly: Neon.Kube.GrpcProto.dll
Syntax
[DataContract]
public class GrpcRelayLogBatchRequest
Constructors
GrpcRelayLogBatchRequest()
Default constructor.
Declaration
public GrpcRelayLogBatchRequest()
GrpcRelayLogBatchRequest(string)
Constructor.
Declaration
public GrpcRelayLogBatchRequest(string batchJson)
Parameters
Type | Name | Description |
---|---|---|
string | batchJson | The batched log records serialized as JSON. |
Properties
BatchJson
The log record batch serialized as JSON.
Declaration
[DataMember(Order = 1)]
public string? BatchJson { get; set; }
Property Value
Type | Description |
---|---|
string |