Class GrpcTraceExporter
Implements a trace exporter that forwards trace batches to the neon-desktop-service which then handles the transmission to the headend.
Namespace: Neon.Kube
Assembly: Neon.Kube.GrpcProto.dll
Syntax
public class GrpcTraceExporter : BaseExporter<Activity>
Constructors
GrpcTraceExporter(IGrpcDesktopService)
Constructor.
Declaration
public GrpcTraceExporter(IGrpcDesktopService desktopService)
Parameters
| Type | Name | Description |
|---|---|---|
| IGrpcDesktopService | desktopService | Specifies the gRPC client for the neon-desktop-service. |
Methods
Export(in Batch<Activity>)
Exports a batch of telemetry objects.
Declaration
public override ExportResult Export(in Batch<Activity> batch)
Parameters
| Type | Name | Description |
|---|---|---|
| Batch<Activity> | batch | Batch of telemetry objects to export. |
Returns
| Type | Description |
|---|---|
| ExportResult | Result of the export operation. |