mirror of
https://github.com/hanzoai/telemetry.git
synced 2026-10-30 20:01:49 +00:00
No changelog since this is not released yet. Signed-off-by: Bogdan Drutu <[email protected]>
26 lines
873 B
Protocol Buffer
26 lines
873 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
package opentelemetry.collector.exporter.exporterhelper.internal.queue;
|
|
|
|
option go_package = "go.opentelemetry.io/collector/exporter/exporterhelper/internal/queue";
|
|
|
|
// PersistentMetadata holds all persistent metadata for the queue.
|
|
// The items and bytes sizes are recorded explicitly,
|
|
// the requests size can be calculated as (write_index - read_index + len(currently_dispatched_items)).
|
|
message PersistentMetadata{
|
|
// Current total items size of the queue.
|
|
sfixed64 items_size = 1;
|
|
|
|
// Current total bytes size of the queue.
|
|
sfixed64 bytes_size = 2;
|
|
|
|
// Index of the next item to be read from the queue.
|
|
fixed64 read_index = 3;
|
|
|
|
// Index where the next item will be written to the queue.
|
|
fixed64 write_index = 4;
|
|
|
|
// List of item indices currently being processed by consumers.
|
|
repeated fixed64 currently_dispatched_items = 5;
|
|
}
|