Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- AbstractCollector<REQ extends com.google.protobuf.AbstractMessage,
RESP extends com.google.protobuf.AbstractMessage, RECORD> - Class in io.mishmash.opentelemetry.server.collector -
This class handles the OTLP protocol for gRPC and HTTP transports for a collector of a given signal type (like logs, metrics or traces).
- AbstractCollector(String, MethodDescriptor<REQ, RESP>, Instrumentation, Supplier<Parser<REQ>>, Supplier<Message.Builder>, Supplier<Parser<RESP>>, Supplier<Message.Builder>, ForkJoinPool) - Constructor for class io.mishmash.opentelemetry.server.collector.AbstractCollector
-
Create a new collector.
- add(T) - Method in class io.mishmash.opentelemetry.server.collector.Batch
-
Add a single element to this batch.
- addAll(Collection<T>) - Method in class io.mishmash.opentelemetry.server.collector.Batch
-
Add a collection of elements to this batch.
- addBuffer(Buffer) - Method in class io.mishmash.opentelemetry.server.collector.VertxInputStream
-
Queues the next input
Buffer. - addDroppedRequestItems(long, String, String) - Method in class io.mishmash.opentelemetry.server.collector.AbstractCollector
-
Update the counter of how many OTLP items (logs, spans, metrics) have been dropped so far.
- addErrorEvent(Span, String) - Method in class io.mishmash.opentelemetry.server.collector.Instrumentation
-
Add an error to a span.
- addErrorEvent(Span, Throwable) - Method in class io.mishmash.opentelemetry.server.collector.Instrumentation
-
Add an error to a span.
- addErrorEvent(Context, Throwable) - Method in class io.mishmash.opentelemetry.server.collector.Instrumentation
-
Add an error to the current span in the given context.
- addEvent(Context, String) - Method in class io.mishmash.opentelemetry.server.collector.Instrumentation
-
Add an event to the current span in the given context.
- addFailedRequests(long, String, String, boolean) - Method in class io.mishmash.opentelemetry.server.collector.AbstractCollector
-
Updates the number of failed requests counter.
- addGrpcFailedRequests(long, GrpcStatus) - Method in class io.mishmash.opentelemetry.server.collector.AbstractCollector
-
Update the number of failed requests counter for a given gRPC error code.
- addHttpFailedRequests(long, int, String) - Method in class io.mishmash.opentelemetry.server.collector.AbstractCollector
-
Update the number of failed requests counter for a given HTTP error code.
- addPartiallySucceededRequests(long, String, String) - Method in class io.mishmash.opentelemetry.server.collector.AbstractCollector
-
Updates the number of partially successful requests counter.
- addRequestItems(long, String, String) - Method in class io.mishmash.opentelemetry.server.collector.AbstractCollector
-
Update the counter of how many OTLP items (logs, spans, metrics) have been processed so far.
- addRequestsInProcess(long, String, String) - Method in class io.mishmash.opentelemetry.server.collector.AbstractCollector
-
Update the counter of number of requests currently being processed.
- addSucceededRequests(long, String, String) - Method in class io.mishmash.opentelemetry.server.collector.AbstractCollector
-
Updates the number of successful requests counter.
- available() - Method in class io.mishmash.opentelemetry.server.collector.VertxInputStream
B
- Batch<T> - Class in io.mishmash.opentelemetry.server.collector
-
Contains a number of elements that should be processed together, and in parallel, but actual processing might happen at different paces.
- Batch(Context) - Constructor for class io.mishmash.opentelemetry.server.collector.Batch
-
Create a new batch that will process elements within the given
Context. - bind(Router) - Method in class io.mishmash.opentelemetry.server.collector.AbstractCollector
-
Bind this collector to the given HTTP
Routerand start accepting requests. - bind(GrpcServer) - Method in class io.mishmash.opentelemetry.server.collector.AbstractCollector
-
Binds this collector to the gRPC server.
C
- cancel() - Method in class io.mishmash.opentelemetry.server.collector.Batch
-
Cancel this batch.
- checkBody(RoutingContext) - Method in class io.mishmash.opentelemetry.server.collector.AbstractCollector
-
Checks the body of an incoming HTTP request for validity.
- checkContentType(RoutingContext) - Method in class io.mishmash.opentelemetry.server.collector.AbstractCollector
-
Checks the Content-Type header of an incoming HTTP request for validity.
- checkSubscribers(RoutingContext) - Method in class io.mishmash.opentelemetry.server.collector.AbstractCollector
-
Fail an incoming request if we have no subscribers.
- close() - Method in class io.mishmash.opentelemetry.server.collector.AbstractCollector
- close() - Method in class io.mishmash.opentelemetry.server.collector.VertxInputStream
- closeExceptionally(Throwable) - Method in class io.mishmash.opentelemetry.server.collector.AbstractCollector
- complete(T) - Method in class io.mishmash.opentelemetry.server.collector.Batch
-
Complete a single element of this batch.
- completeExceptionally(Throwable) - Method in class io.mishmash.opentelemetry.server.collector.Batch
-
Complete this batch with an error.
- currentOtelScope() - Method in class io.mishmash.opentelemetry.server.collector.Batch
-
Make the
Contextthe current context of the current thread.
D
- DEFAULT_CLOSE_TIMETOUT_SEC - Static variable in class io.mishmash.opentelemetry.server.collector.AbstractCollector
-
Default timeout (in sec) to complete a call to close() this collector.
- DEFAULT_MAX_BODY_LEN - Static variable in class io.mishmash.opentelemetry.server.collector.AbstractCollector
-
Default maximum HTTP request body size in bytes.
- DEFAULT_SUBSCRIBER_QUEUE_SIZE - Static variable in class io.mishmash.opentelemetry.server.collector.AbstractCollector
-
Default size of a subscriber queue.
- DEFAULT_TIMEOUT_SEC - Static variable in class io.mishmash.opentelemetry.server.collector.AbstractCollector
-
Default timeout (in sec) to process a single OTLP packet.
E
- END_BUF - Static variable in class io.mishmash.opentelemetry.server.collector.VertxInputStream
-
Special constant to mark this input stream as having reached the last input.
- endCurrentSpan(Context, Throwable) - Method in class io.mishmash.opentelemetry.server.collector.Instrumentation
-
End the current span in a given context with an error.
- EXCEPTION_BUF - Static variable in class io.mishmash.opentelemetry.server.collector.VertxInputStream
-
Special constant to mark this input stream as having reached an error.
F
- future() - Method in class io.mishmash.opentelemetry.server.collector.Batch
-
Returns a future that will complete when this batch completes.
G
- getAggregationTemporality() - Method in class io.mishmash.opentelemetry.server.collector.MetricDataPoint
-
Get the aggregation temporality of this metric - DELTA, CUMULATIVE, etc...
- getBatchResponse(ExportLogsServiceRequest, Batch<Log>, String, String) - Method in class io.mishmash.opentelemetry.server.collector.LogsCollector
-
Called to compute the correct response to the client after an entire batch (or packet) of OpenTelemetry logs, metrics or spans has been processed.
- getBatchResponse(ExportMetricsServiceRequest, Batch<MetricDataPoint>, String, String) - Method in class io.mishmash.opentelemetry.server.collector.MetricsCollector
-
Called to compute the correct response to the client after an entire batch (or packet) of OpenTelemetry logs, metrics or spans has been processed.
- getBatchResponse(ExportTraceServiceRequest, Batch<Span>, String, String) - Method in class io.mishmash.opentelemetry.server.collector.TracesCollector
-
Called to compute the correct response to the client after an entire batch (or packet) of OpenTelemetry logs, metrics or spans has been processed.
- getBatchResponse(REQ, Batch<RECORD>, String, String) - Method in class io.mishmash.opentelemetry.server.collector.AbstractCollector
-
Called to compute the correct response to the client after an entire batch (or packet) of OpenTelemetry logs, metrics or spans has been processed.
- getBatchTimestamp() - Method in class io.mishmash.opentelemetry.server.collector.Log
-
Get the timestamp when the containing OTLP packet was received.
- getBatchTimestamp() - Method in class io.mishmash.opentelemetry.server.collector.MetricDataPoint
-
Get the timestamp when the containing OTLP packet was received.
- getBatchTimestamp() - Method in class io.mishmash.opentelemetry.server.collector.Span
-
Get the timestamp when the containing OTLP packet was received.
- getBatchUUID() - Method in class io.mishmash.opentelemetry.server.collector.Log
-
Get the unique id of the containing OTLP packet.
- getBatchUUID() - Method in class io.mishmash.opentelemetry.server.collector.MetricDataPoint
-
Get the unique id of the containing OTLP packet.
- getBatchUUID() - Method in class io.mishmash.opentelemetry.server.collector.Span
-
Get the unique id of the containing OTLP packet.
- getDatapointSeqNo() - Method in class io.mishmash.opentelemetry.server.collector.MetricDataPoint
-
Get the sequence number of this datapoint within the containing metric.
- getDescription() - Method in class io.mishmash.opentelemetry.server.collector.MetricDataPoint
-
Get the metric description.
- getErrorCode(RoutingContext) - Method in class io.mishmash.opentelemetry.server.collector.AbstractCollector
-
Returns the previously set error code for the given HTTP request.
- getErrorMessage() - Method in class io.mishmash.opentelemetry.server.collector.Log
-
Get the message associated with an error in the data.
- getErrorMessage() - Method in class io.mishmash.opentelemetry.server.collector.MetricDataPoint
-
Get the message associated with an error in the data.
- getErrorMessage() - Method in class io.mishmash.opentelemetry.server.collector.Span
-
Get the message associated with an error in the data.
- getExponentialHistogram() - Method in class io.mishmash.opentelemetry.server.collector.MetricDataPoint
-
Get the exponential histogram details.
- getGauge() - Method in class io.mishmash.opentelemetry.server.collector.MetricDataPoint
-
Get the gauge details.
- getGrpcStatus() - Method in exception io.mishmash.opentelemetry.server.collector.GrpcCollectorException
-
Get the gRPC status that should be returned to the client.
- getHistogram() - Method in class io.mishmash.opentelemetry.server.collector.MetricDataPoint
-
Get the histogram details.
- getInstrumentation() - Method in class io.mishmash.opentelemetry.server.collector.AbstractCollector
-
Get the OpenTelemetry instrumentation helper.
- getLog() - Method in class io.mishmash.opentelemetry.server.collector.Log
-
Get the OpenTelemetry Log record.
- getLogSchemaUrl() - Method in class io.mishmash.opentelemetry.server.collector.Log
-
Get the schema URL of the OpenTelemetry Log.
- getMetricSchemaUrl() - Method in class io.mishmash.opentelemetry.server.collector.MetricDataPoint
-
Get the schema URL of the OpenTelemetry metric.
- getName() - Method in class io.mishmash.opentelemetry.server.collector.MetricDataPoint
-
Get the metric name.
- getOtelContext() - Method in class io.mishmash.opentelemetry.server.collector.Batch
-
Get the
Contextto use when processing data in this batch. - getOtelContext(RoutingContext) - Method in class io.mishmash.opentelemetry.server.collector.AbstractCollector
-
Get the telemetry context previously associated with this HTTP routing context.
- getOtelRequest(RoutingContext) - Method in class io.mishmash.opentelemetry.server.collector.AbstractCollector
-
Get the OTLP request object from a HTTP request.
- getOtelResponse(RoutingContext) - Method in class io.mishmash.opentelemetry.server.collector.AbstractCollector
-
Get the OTLP response object from the routing context.
- getProcessedElements() - Method in class io.mishmash.opentelemetry.server.collector.Batch
-
Get the elements of this batch that were already processed.
- getResource() - Method in class io.mishmash.opentelemetry.server.collector.Log
-
Get the OpenTelemetry Resource of this log.
- getResource() - Method in class io.mishmash.opentelemetry.server.collector.MetricDataPoint
-
Get the OpenTelemetry Resource of this metric.
- getResource() - Method in class io.mishmash.opentelemetry.server.collector.Span
-
Get the OpenTelemetry Resource of this span.
- getResourceSchemaUrl() - Method in class io.mishmash.opentelemetry.server.collector.Log
-
Get the schema URL of the OpenTelemetry Resouce of this log.
- getResourceSchemaUrl() - Method in class io.mishmash.opentelemetry.server.collector.MetricDataPoint
-
Get the schema URL of the OpenTelemetry Resouce of this metric.
- getResourceSchemaUrl() - Method in class io.mishmash.opentelemetry.server.collector.Span
-
Get the schema URL of the OpenTelemetry Resouce of this span.
- getScope() - Method in class io.mishmash.opentelemetry.server.collector.Log
-
Get the OpenTelemetry Scope of this log.
- getScope() - Method in class io.mishmash.opentelemetry.server.collector.MetricDataPoint
-
Get the OpenTelemetry Scope of this metric.
- getScope() - Method in class io.mishmash.opentelemetry.server.collector.Span
-
Get the OpenTelemetry Scope of this span.
- getSeqNo() - Method in class io.mishmash.opentelemetry.server.collector.Log
-
Get the sequence number of this log within the containing OTLP packet.
- getSeqNo() - Method in class io.mishmash.opentelemetry.server.collector.MetricDataPoint
-
Get the sequence number of this metric within the containing OTLP packet.
- getSeqNo() - Method in class io.mishmash.opentelemetry.server.collector.Span
-
Get the sequence number of this span within the containing OTLP packet.
- getSpan() - Method in class io.mishmash.opentelemetry.server.collector.Span
-
Get the OpenTelemetry Span.
- getSpanSchemaUrl() - Method in class io.mishmash.opentelemetry.server.collector.Span
-
Get the schema URL of the OpenTelemetry Span.
- getSum() - Method in class io.mishmash.opentelemetry.server.collector.MetricDataPoint
-
Get the number details.
- getSummary() - Method in class io.mishmash.opentelemetry.server.collector.MetricDataPoint
-
Get the summary details.
- getType() - Method in class io.mishmash.opentelemetry.server.collector.MetricDataPoint
-
Get the metric type - GAUGE, HISTOGRAM, etc...
- getUnit() - Method in class io.mishmash.opentelemetry.server.collector.MetricDataPoint
-
Get the metric unit of measure.
- GrpcCollectorException - Exception in io.mishmash.opentelemetry.server.collector
-
An
Exceptionthat also contains theGrpcStatusthat should be returned to the client. - GrpcCollectorException(GrpcStatus) - Constructor for exception io.mishmash.opentelemetry.server.collector.GrpcCollectorException
-
Instantiate a new
GrpcCollectorException. - GrpcCollectorException(GrpcStatus, String) - Constructor for exception io.mishmash.opentelemetry.server.collector.GrpcCollectorException
-
Instantiate a new
GrpcCollectorException. - GrpcCollectorException(GrpcStatus, String, Throwable) - Constructor for exception io.mishmash.opentelemetry.server.collector.GrpcCollectorException
-
Instantiate a new
GrpcCollectorException. - GrpcCollectorException(GrpcStatus, Throwable) - Constructor for exception io.mishmash.opentelemetry.server.collector.GrpcCollectorException
-
Instantiate a new
GrpcCollectorException.
H
- handle(GrpcServerRequest<REQ, RESP>) - Method in class io.mishmash.opentelemetry.server.collector.AbstractCollector
-
Handles an incoming gRPC request.
- handleStreamEnd(Void) - Method in class io.mishmash.opentelemetry.server.collector.VertxInputStream
-
Called when there will be no more input buffers.
- handleStreamException(Throwable) - Method in class io.mishmash.opentelemetry.server.collector.VertxInputStream
-
Called upon errors.
- HTTP_BAD_GATEWAY - Static variable in class io.mishmash.opentelemetry.server.collector.AbstractCollector
-
HTTP status code 502.
- HTTP_BAD_REQUEST - Static variable in class io.mishmash.opentelemetry.server.collector.AbstractCollector
-
HTTP status code 400.
- HTTP_EXPECTATION_FAILED - Static variable in class io.mishmash.opentelemetry.server.collector.AbstractCollector
-
HTTP status code 417.
- HTTP_GATEWAY_TIMEOUT - Static variable in class io.mishmash.opentelemetry.server.collector.AbstractCollector
-
HTTP status code 504.
- HTTP_INTERNAL_ERROR - Static variable in class io.mishmash.opentelemetry.server.collector.AbstractCollector
-
HTTP status code 500.
- HTTP_OK - Static variable in class io.mishmash.opentelemetry.server.collector.AbstractCollector
-
HTTP status code 200.
- HTTP_PAYLOAD_TOO_LARGE - Static variable in class io.mishmash.opentelemetry.server.collector.AbstractCollector
-
HTTP status code 413.
- HTTP_SERVICE_UNAVAILABLE - Static variable in class io.mishmash.opentelemetry.server.collector.AbstractCollector
-
HTTP status code 503.
- HTTP_TOO_MANY_REQUESTS - Static variable in class io.mishmash.opentelemetry.server.collector.AbstractCollector
-
HTTP status code 429.
- httpEncoding(RoutingContext) - Method in class io.mishmash.opentelemetry.server.collector.AbstractCollector
-
Gets the encoding of a HTTP OTLP request.
I
- initInstrumentation() - Method in class io.mishmash.opentelemetry.server.collector.AbstractCollector
-
Create own instrumentation metrics.
- Instrumentation - Class in io.mishmash.opentelemetry.server.collector
-
A simple class with helper methods for OpenTelemetry embedded collectors own telemetry.
- Instrumentation() - Constructor for class io.mishmash.opentelemetry.server.collector.Instrumentation
- io.mishmash.opentelemetry.server.collector - package io.mishmash.opentelemetry.server.collector
-
OpenTelemetry collectors
- isCancelled() - Method in class io.mishmash.opentelemetry.server.collector.Batch
-
Check if this batch was cancelled.
- isError(RoutingContext) - Method in class io.mishmash.opentelemetry.server.collector.AbstractCollector
-
Checks if the processing of a HTTP request encountered an error.
- isJsonContent(HttpServerRequest) - Method in class io.mishmash.opentelemetry.server.collector.AbstractCollector
-
Check if the HTTP request is JSON formatted.
- isJsonRequest(RoutingContext) - Method in class io.mishmash.opentelemetry.server.collector.AbstractCollector
-
Check if the HTTP routing context was previously marked as for a JSON-encoded OTLP request.
- isLoaded() - Method in class io.mishmash.opentelemetry.server.collector.Batch
-
Check if all necessary elements of this batch have been added to it.
- isMonotonic() - Method in class io.mishmash.opentelemetry.server.collector.MetricDataPoint
-
Check if the metric is monotonic.
- isProtobufContent(HttpServerRequest) - Method in class io.mishmash.opentelemetry.server.collector.AbstractCollector
-
Check if the HTTP request is protobuf formatted.
- isRetryable(int) - Method in class io.mishmash.opentelemetry.server.collector.AbstractCollector
-
Check if a given HTTP error can be retried by the client.
- isRetryable(GrpcStatus) - Method in class io.mishmash.opentelemetry.server.collector.AbstractCollector
-
Check if a given gRPC error can be retried by the client.
- isValid() - Method in class io.mishmash.opentelemetry.server.collector.Log
-
Check if this record is valid.
- isValid() - Method in class io.mishmash.opentelemetry.server.collector.MetricDataPoint
-
Check if this record is valid.
- isValid() - Method in class io.mishmash.opentelemetry.server.collector.Span
-
Check if this record is valid.
L
- loadBatch(ExportLogsServiceRequest, String, String, Context) - Method in class io.mishmash.opentelemetry.server.collector.LogsCollector
-
Processes incoming packets (or batches) - extracts and publishes the contained OpenTelemetry LogRecords (one by one) to all
LogsSubscribers. - loadBatch(ExportMetricsServiceRequest, String, String, Context) - Method in class io.mishmash.opentelemetry.server.collector.MetricsCollector
-
Processes incoming packets (or batches) - extracts and publishes the contained OpenTelemetry metric data points (one by one) to all
MetricsSubscribers. - loadBatch(ExportTraceServiceRequest, String, String, Context) - Method in class io.mishmash.opentelemetry.server.collector.TracesCollector
-
Processes incoming packets (or batches) - extracts and publishes the contained OpenTelemetry Spans (one by one) to all
SpansSubscribers. - loadBatch(REQ, String, String, Context) - Method in class io.mishmash.opentelemetry.server.collector.AbstractCollector
-
Creates a new batch from a client's request.
- Log - Class in io.mishmash.opentelemetry.server.collector
-
Holds the details of an individual OTLP log record received from a client as a
Batchof all subscribers that are expected to process it. - Log(Batch<Log>, Context) - Constructor for class io.mishmash.opentelemetry.server.collector.Log
-
Create a new empty log.
- LogsCollector - Class in io.mishmash.opentelemetry.server.collector
-
Processes incoming OpenTelemetry logs packets - extracts individual Logs from a packet and queues them to all
LogsSubscribers. - LogsCollector(MethodDescriptor<ExportLogsServiceRequest, ExportLogsServiceResponse>, Instrumentation) - Constructor for class io.mishmash.opentelemetry.server.collector.LogsCollector
-
Creates a new logs collector to be added to a Vert.x routing context.
- LogsSubscriber - Interface in io.mishmash.opentelemetry.server.collector
-
A
Flow.Subscriberfor OpenTelemetryLogrecords.
M
- MetricDataPoint - Class in io.mishmash.opentelemetry.server.collector
-
Holds the details of an individual OTLP metric data point received from a client as a
Batchof all subscribers that are expected to process it. - MetricDataPoint(Batch<MetricDataPoint>, Context) - Constructor for class io.mishmash.opentelemetry.server.collector.MetricDataPoint
-
Create a new empty metric data point.
- MetricsCollector - Class in io.mishmash.opentelemetry.server.collector
-
Processes incoming OpenTelemetry metrics packets - extracts all data points of all metrics contained in a packet and queues them to all
MetricsSubscribers. - MetricsCollector(MethodDescriptor<ExportMetricsServiceRequest, ExportMetricsServiceResponse>, Instrumentation) - Constructor for class io.mishmash.opentelemetry.server.collector.MetricsCollector
-
Creates a new metrics collector to be added to a Vert.x routing context.
- MetricsSubscriber - Interface in io.mishmash.opentelemetry.server.collector
-
A
Flow.Subscriberfor OpenTelemetryMetricDataPointrecords.
N
- newLongCounter(String, String, String) - Method in class io.mishmash.opentelemetry.server.collector.Instrumentation
-
Create a new long counter metric.
- newLongGauge(String, String, String, Consumer<ObservableLongMeasurement>) - Method in class io.mishmash.opentelemetry.server.collector.Instrumentation
-
Create a new long gauge metric with a callback.
- newLongHistogram(String, String, String, List<Long>) - Method in class io.mishmash.opentelemetry.server.collector.Instrumentation
-
Create a new long histogram metric.
- newLongUpDownCounter(String, String, String) - Method in class io.mishmash.opentelemetry.server.collector.Instrumentation
-
Create a new long UpDown counter metric.
O
- offerDataPoint(Batch<MetricDataPoint>, MetricDataPoint, String, String, String) - Method in class io.mishmash.opentelemetry.server.collector.MetricsCollector
-
Actually sumbit a data point to all subscribers.
- onNext(Log) - Method in interface io.mishmash.opentelemetry.server.collector.LogsSubscriber
-
Method invoked for each log entry of each OTLP packet.
- onNext(MetricDataPoint) - Method in interface io.mishmash.opentelemetry.server.collector.MetricsSubscriber
-
Method invoked for each data point of each metric in an OTLP packet.
- onNext(Span) - Method in interface io.mishmash.opentelemetry.server.collector.SpansSubscriber
-
Method invoked for each span of each OTLP packet.
- otelComplete(Throwable) - Method in class io.mishmash.opentelemetry.server.collector.Batch
-
Called when the batch is completed.
- otelComplete(Throwable) - Method in class io.mishmash.opentelemetry.server.collector.SubscribersBatch
-
Called when the batch is completed.
P
- parseContentLengthHeader(HttpServerRequest) - Method in class io.mishmash.opentelemetry.server.collector.AbstractCollector
-
Parses the Content-Length header of an incoming HTTP request.
- parseHttpJson(InputStream) - Method in class io.mishmash.opentelemetry.server.collector.AbstractCollector
-
Parses an incoming HTTP json-encoded request.
- parseHttpProtobuf(InputStream) - Method in class io.mishmash.opentelemetry.server.collector.AbstractCollector
-
Parses an incoming HTTP protobuf-encoded request.
- parseHttpRequest(RoutingContext) - Method in class io.mishmash.opentelemetry.server.collector.AbstractCollector
-
Parse an incoming HTTP request.
- publish(RoutingContext, REQ) - Method in class io.mishmash.opentelemetry.server.collector.AbstractCollector
-
Publish an incoming HTTP request to subscribers.
- publish(REQ, String, String, Context) - Method in class io.mishmash.opentelemetry.server.collector.AbstractCollector
-
Publishes an OTLP packet (request) to all current subscribers.
R
- read() - Method in class io.mishmash.opentelemetry.server.collector.VertxInputStream
- respond(RoutingContext) - Method in class io.mishmash.opentelemetry.server.collector.AbstractCollector
-
Send the HTTP response back to the client.
- respond(GrpcServerRequest<REQ, RESP>, REQ, Batch<RECORD>, Throwable) - Method in class io.mishmash.opentelemetry.server.collector.AbstractCollector
-
Responds to a processed gRPC OTLP request.
- responseToJson(RESP) - Method in class io.mishmash.opentelemetry.server.collector.AbstractCollector
-
Converts a response object to JSON before sending back to client.
- responseToProtobuf(RESP) - Method in class io.mishmash.opentelemetry.server.collector.AbstractCollector
-
Converts a response object to protobuf before sending back to client.
S
- setErrorCode(RoutingContext, int) - Method in class io.mishmash.opentelemetry.server.collector.AbstractCollector
-
Sets an error in a HTTP routing context so that a proper response can be returned to the client.
- setFrom(long, String, int, ResourceLogs, ScopeLogs, LogRecord) - Method in class io.mishmash.opentelemetry.server.collector.Log
-
Set the details of this log.
- setFrom(long, String, int, ResourceMetrics, ScopeMetrics, Metric, ExponentialHistogram, int, ExponentialHistogramDataPoint) - Method in class io.mishmash.opentelemetry.server.collector.MetricDataPoint
-
Set the details of an exponential histogram data point.
- setFrom(long, String, int, ResourceMetrics, ScopeMetrics, Metric, Gauge, int, NumberDataPoint) - Method in class io.mishmash.opentelemetry.server.collector.MetricDataPoint
-
Set the details of a gauge data point.
- setFrom(long, String, int, ResourceMetrics, ScopeMetrics, Metric, Histogram, int, HistogramDataPoint) - Method in class io.mishmash.opentelemetry.server.collector.MetricDataPoint
-
Set the details of a histogram data point.
- setFrom(long, String, int, ResourceMetrics, ScopeMetrics, Metric, Summary, int, SummaryDataPoint) - Method in class io.mishmash.opentelemetry.server.collector.MetricDataPoint
-
Set the details of a summary data point.
- setFrom(long, String, int, ResourceMetrics, ScopeMetrics, Metric, Sum, int, NumberDataPoint) - Method in class io.mishmash.opentelemetry.server.collector.MetricDataPoint
-
Set the details of a number data point.
- setFrom(long, String, int, ResourceSpans, ScopeSpans, Span) - Method in class io.mishmash.opentelemetry.server.collector.Span
-
Set the details of this span.
- setJsonRequest(RoutingContext, boolean) - Method in class io.mishmash.opentelemetry.server.collector.AbstractCollector
-
Mark the HTTP routing context as handling a JSON-encoded request.
- setLoaded() - Method in class io.mishmash.opentelemetry.server.collector.Batch
-
Mark this batch as successfully loaded - all elements have been added successfully.
- setLoadFailed(Throwable) - Method in class io.mishmash.opentelemetry.server.collector.Batch
-
Mark this batch as not fully loaded because of an error.
- setOtelContext(RoutingContext, Context) - Method in class io.mishmash.opentelemetry.server.collector.AbstractCollector
-
Configure the telemetry context to be used when processing this HTTP request.
- setOtelRequest(RoutingContext, REQ) - Method in class io.mishmash.opentelemetry.server.collector.AbstractCollector
-
Sets the OTLP request object within the routing context for later use.
- setOtelResponse(RoutingContext, RESP) - Method in class io.mishmash.opentelemetry.server.collector.AbstractCollector
-
Sets the OTLP response object within the routing context for later use.
- Span - Class in io.mishmash.opentelemetry.server.collector
-
Holds the details of an individual OTLP span record received from a client as a
Batchof all subscribers that are expected to process it. - Span(Batch<Span>, Context) - Constructor for class io.mishmash.opentelemetry.server.collector.Span
-
Create a new empty span.
- SpansSubscriber - Interface in io.mishmash.opentelemetry.server.collector
-
A
Flow.Subscriberfor OpenTelemetrySpanrecords. - startNewSpan(Span, String) - Method in class io.mishmash.opentelemetry.server.collector.Instrumentation
-
Start a new child span.
- startNewSpan(String) - Method in class io.mishmash.opentelemetry.server.collector.Instrumentation
-
Start a new span.
- SubscribersBatch<T> - Class in io.mishmash.opentelemetry.server.collector
-
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. - SubscribersBatch(Batch<T>, Context) - Constructor for class io.mishmash.opentelemetry.server.collector.SubscribersBatch
-
Create a new 'batch' of subscribers.
T
- telemetrySignalType() - Method in class io.mishmash.opentelemetry.server.collector.AbstractCollector
-
Get the type of telemetry signals processed by this collector.
- telemetrySignalType() - Method in class io.mishmash.opentelemetry.server.collector.LogsCollector
-
Returns "logs" as the signal type for this collector's own telemetry.
- telemetrySignalType() - Method in class io.mishmash.opentelemetry.server.collector.MetricsCollector
-
Returns "metrics" as the signal type for this collector's own telemetry.
- telemetrySignalType() - Method in class io.mishmash.opentelemetry.server.collector.TracesCollector
-
Returns "traces" as the signal type for this collector's own telemetry.
- TracesCollector - Class in io.mishmash.opentelemetry.server.collector
-
Processes incoming OpenTelemetry traces packets - extracts individual Spans from a packet and queues them to all
SpansSubscribers. - TracesCollector(MethodDescriptor<ExportTraceServiceRequest, ExportTraceServiceResponse>, Instrumentation) - Constructor for class io.mishmash.opentelemetry.server.collector.TracesCollector
-
Creates a new traces collector to be added to a Vert.x routing context.
V
- VertxInputStream - Class in io.mishmash.opentelemetry.server.collector
-
An
InputStreamthat takes a Vert.xReadStreamand reads it up to a given number of bytes. - VertxInputStream(ReadStream<Buffer>, long) - Constructor for class io.mishmash.opentelemetry.server.collector.VertxInputStream
-
Create a new stream.
W
- withSpan(Span) - Method in class io.mishmash.opentelemetry.server.collector.Instrumentation
-
Set the given span as current.
- wrapInSpan(CompletableFuture<T>, Supplier<Span>) - Method in class io.mishmash.opentelemetry.server.collector.Instrumentation
-
Wraps a
CompletableFutureso that when it completes a span will be ended accordingly.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form