Uses of Class
io.mishmash.opentelemetry.server.collector.Batch

  • Uses of Batch in io.mishmash.opentelemetry.server.collector

    Modifier and Type
    Class
    Description
    class 
    Holds the details of an individual OTLP log record received from a client as a Batch of all subscribers that are expected to process it.
    class 
    Holds the details of an individual OTLP metric data point received from a client as a Batch of all subscribers that are expected to process it.
    class 
    Holds the details of an individual OTLP span record received from a client as a Batch of all subscribers that are expected to process it.
    class 
    A 'batch' of all LogsSubscribers, MetricsSubscribers or @{link SpansSubscribers} that were given the task to process an OpenTelemetry log record, metric data point or trace span.
    Modifier and Type
    Method
    Description
    protected abstract Batch<RECORD>
    AbstractCollector.loadBatch(REQ request, String transport, String encoding, io.opentelemetry.context.Context otelContext)
    Creates a new batch from a client's request.
    LogsCollector.loadBatch(io.opentelemetry.proto.collector.logs.v1.ExportLogsServiceRequest request, String transport, String encoding, io.opentelemetry.context.Context otelContext)
    Processes incoming packets (or batches) - extracts and publishes the contained OpenTelemetry LogRecords (one by one) to all LogsSubscribers.
    MetricsCollector.loadBatch(io.opentelemetry.proto.collector.metrics.v1.ExportMetricsServiceRequest request, String transport, String encoding, io.opentelemetry.context.Context otelContext)
    Processes incoming packets (or batches) - extracts and publishes the contained OpenTelemetry metric data points (one by one) to all MetricsSubscribers.
    TracesCollector.loadBatch(io.opentelemetry.proto.collector.trace.v1.ExportTraceServiceRequest request, String transport, String encoding, io.opentelemetry.context.Context otelContext)
    Processes incoming packets (or batches) - extracts and publishes the contained OpenTelemetry Spans (one by one) to all SpansSubscribers.
    protected Batch<RECORD>
    AbstractCollector.publish(REQ request, String transport, String encoding, io.opentelemetry.context.Context otelContext)
    Publishes an OTLP packet (request) to all current subscribers.
    Methods in io.mishmash.opentelemetry.server.collector with parameters of type Batch
    Modifier and Type
    Method
    Description
    protected abstract RESP
    AbstractCollector.getBatchResponse(REQ request, Batch<RECORD> completedBatch, String transport, String encoding)
    Called to compute the correct response to the client after an entire batch (or packet) of OpenTelemetry logs, metrics or spans has been processed.
    io.opentelemetry.proto.collector.logs.v1.ExportLogsServiceResponse
    LogsCollector.getBatchResponse(io.opentelemetry.proto.collector.logs.v1.ExportLogsServiceRequest request, Batch<Log> completedBatch, String transport, String encoding)
    Called to compute the correct response to the client after an entire batch (or packet) of OpenTelemetry logs, metrics or spans has been processed.
    io.opentelemetry.proto.collector.metrics.v1.ExportMetricsServiceResponse
    MetricsCollector.getBatchResponse(io.opentelemetry.proto.collector.metrics.v1.ExportMetricsServiceRequest request, Batch<MetricDataPoint> completedBatch, String transport, String encoding)
    Called to compute the correct response to the client after an entire batch (or packet) of OpenTelemetry logs, metrics or spans has been processed.
    io.opentelemetry.proto.collector.trace.v1.ExportTraceServiceResponse
    TracesCollector.getBatchResponse(io.opentelemetry.proto.collector.trace.v1.ExportTraceServiceRequest request, Batch<Span> completedBatch, String transport, String encoding)
    Called to compute the correct response to the client after an entire batch (or packet) of OpenTelemetry logs, metrics or spans has been processed.
    protected boolean
    MetricsCollector.offerDataPoint(Batch<MetricDataPoint> batch, MetricDataPoint m, String uuid, String transport, String encoding)
    Actually sumbit a data point to all subscribers.
    protected void
    AbstractCollector.respond(io.vertx.grpc.server.GrpcServerRequest<REQ,RESP> grpcRequest, REQ request, Batch<RECORD> batch, Throwable err)
    Responds to a processed gRPC OTLP request.
    Constructors in io.mishmash.opentelemetry.server.collector with parameters of type Batch
    Modifier
    Constructor
    Description
     
    Log(Batch<Log> parent, io.opentelemetry.context.Context otelContext)
    Create a new empty log.
     
    MetricDataPoint(Batch<MetricDataPoint> parent, io.opentelemetry.context.Context otelContext)
    Create a new empty metric data point.
     
    Span(Batch<Span> parent, io.opentelemetry.context.Context otelContext)
    Create a new empty span.
     
    SubscribersBatch(Batch<T> parent, io.opentelemetry.context.Context otelContext)
    Create a new 'batch' of subscribers.