Open table of contents
Separate reasons for change, not just overlapping features
Vector and OpenTelemetry Collector can both receive telemetry, transform it and deliver it to another backend. A feature comparison alone leaves room to assign the same responsibility to both.
When using them together, decide who collects each input, where its meaning is standardized, where sensitive information is removed and where failures are absorbed. This article uses Vector for existing container logs and Collector for application-generated OTLP. It is a design example, not a universal rule that every log must pass through Vector.
Following monitoring-to-observability design and Thanos retention, HA and query design, we now examine the collection paths leading to storage. The configuration bundle includes component configuration, VRL, fixtures and review procedures. It does not provision Kubernetes resources, certificates or backends.
The configurations and checks are authored examples. Vector/Collector validation, VRL tests, fixture generation, deployment, delivery, load and failure exercises were not executed for publication. They are not operational results or proof of lossless delivery.
1. Start with the source and interface
A JSON event written to stdout and a LogRecord sent by an SDK use different collection interfaces, even when both represent application logs.
| Source and interface | Owner in this design | Main reason for changes |
|---|---|---|
| Container stdout/stderr files | Vector Agent | Log format, parsing and collection scope |
| Journald, syslog and existing files | Vector or an established log path | Host permissions, rotation and legacy formats |
| SDK OTLP traces | Collector | Resources, sampling and trace backend |
| SDK OTLP metrics | Collector | Producer identity, temporality and backend support |
| SDK OTLP logs | Collector | LogRecord/resource semantics and destination |
Collector Contrib’s filelog receiver can also read files; its log support is Beta in the referenced version. This boundary does not mean only Vector can collect container logs. Compare the value of existing VRL and log operations with the cost of another binary, configuration surface and on-call responsibility. [1][2]
Vector OTLP behavior depends on mode and version
The reference versions are Vector v0.58.0 and Collector Contrib v0.160.0, released August 26 and September 2, 2026 UTC respectively. Pin image digests and the execution environment when adopting them. [3]
In the Vector v0.58.0 source, use_otlp_decoding.metrics: false is the default and converts OTLP metrics into the native metric format. With true, OTLP representation is preserved in log events. OTLP metrics are therefore not always represented as logs. Metrics and traces also have Experimental support constraints; review required types, attributes and transformation semantics. [1]
Connectivity and ownership of telemetry policy are separate decisions. This example puts OTLP resources, signal-specific processing and trace sampling in Collector.
2. Draw both paths through to their backends
Scroll horizontally to view the complete diagram.
Read the diagram as text
Vector projects container logs and forwards through aggregators to Loki. Collector receives SDK OTLP. Traces use trace-ID routing and tail samplers before Tempo; metrics and OTLP logs use a separate gateway and compatible backends. Thanos Query is not an OTLP destination.
Vector Agent reads node logs and applies required projection before forwarding to an aggregator. The aggregator owns backend credentials and a disk buffer for Loki delivery. Adding S3 or SIEM fan-out requires separate decisions about each sink’s retention, acknowledgement and outage effects.
Collector Agent sends traces to a trace-ID router and metrics/OTLP logs to a signal gateway. Tail sampling runs in a dedicated tier after the router. Increasing gateway replicas alone does not collect every span of a trace in one place.
The metrics destination in this diagram is an OTLP-capable backend. It is not an example of sending OTLP directly to Thanos Query or an ordinary Prometheus scrape endpoint. Explicitly choose a Prometheus OTLP receiver, scrape exporter, remote-write bridge or another supported path, then review attribute mapping, temporality and ordering. Thanos long-term retention is a subsequent storage design.
Give each collection path one owner
Vector and Collector filelog reading the same Pod files creates duplicate ingestion. An application emitting the same log through stdout and OTLP can do the same. During migration, define ownership by namespace, workload, file path or event class and check gaps and duplicates at cutover. Deferring everything to eventual deduplication leaves delivery responsibility unresolved.
3. Separate the log schema from metadata provenance
Merging parsed application JSON into the event root can overwrite collector-supplied kubernetes or service_name metadata. Deleting a root-level password also leaves the same value inside an original JSON .message string or nested fields.
This example rebuilds the event from approved fields. Service and namespace come from Kubernetes collection metadata before root replacement. The original message, arbitrary nested objects and application-supplied Kubernetes metadata are not forwarded.
Scroll horizontally to view the complete diagram.
Read the diagram as text
Parse node-file JSON and check approved event names and trace/span IDs. Use collection metadata to project allowed fields only. Observe rejected schemas or parse failures without forwarding raw fallback events. This is a narrow schema example, not automatic sanitization of every input.
# Narrow synthetic JSON contract: project approved fields, never merge the raw object.
raw = string(.message) ?? ""
parsed, err = parse_json(raw)
if err != null || !is_object(parsed) { abort }
event = object!(parsed)
name = string(event.event_name) ?? ""
if !includes(["request.completed", "request.failed", "pipeline.canary"], name) { abort }
# Read trusted collection metadata BEFORE replacing the event root.
service = string(.kubernetes.pod_labels."app.kubernetes.io/name") ?? string(.kubernetes.container_name) ?? "unknown"
namespace = string(.kubernetes.pod_namespace) ?? "unknown"
time = if is_timestamp(.timestamp) { .timestamp } else { now() }
level = if name == "request.failed" { "error" } else { "info" }
trace = downcase(string(event.trace_id) ?? "")
span = downcase(string(event.span_id) ?? "")
if !match(trace, r'^[0-9a-f]{32}$') || trace == "00000000000000000000000000000000" { abort }
if !match(span, r'^[0-9a-f]{16}$') || span == "0000000000000000" { abort }
. = {
"timestamp": time,
"environment": "staging",
"namespace": namespace,
"service_name": service,
"event_name": name,
"message": name,
"level": level,
"trace_id": trace,
"span_id": span
}
This is a narrow JSON contract for request.completed, request.failed and pipeline.canary. Replacing the message with an approved event name also removes free-text diagnostic detail. It is not a general parser for every Nginx, journald or business log. Define needed information and an approved output schema per source. [4]
Trace IDs are checked as 32 hexadecimal digits and span IDs as 16, excluding zero values. Correct format does not prove that a trace exists or authenticate its sender. Kubernetes labels are only as trustworthy as the authority allowed to change them; they are not automatically tenant authorization.
4. Apply required privacy controls before crossing the boundary
Keeping node agents lightweight does not justify sending secrets across an unauthorized network and removing them later. Put necessary parsing and projection before that boundary; centralize heavier processing and destination management. Avoid writing passwords to stdout in the first place: by the time Vector reads them, they have already reached node files.
The agent’s source and transform are configured as follows. Code is excerpted from the bundle; its README describes full connections and deployment prerequisites.
data_dir: /var/lib/vector
sources:
kubernetes:
type: kubernetes_logs
self_node_name: '${VECTOR_SELF_NODE_NAME}'
internal:
type: internal_metrics
transforms:
sanitize:
type: remap
inputs: [kubernetes]
file: ./vector/sanitize.vrl
drop_on_error: true
drop_on_abort: true
reroute_dropped: false
Parse failures, aborts and runtime errors do not continue downstream. With reroute_dropped: true, the original event can enter a separate output path. Do not archive failed raw events without defining that destination’s access and retention. Count intentional schema rejection too, so a filter does not silently discard operationally necessary logs. [4]
On Kubernetes, supply the node name through the downward API and mount /var/log/pods read-only. Kubernetes API read permissions, checkpoint storage and per-node placement are also required. One kubernetes_logs configuration entry does not create those permissions or volumes. [5]
Forward to aggregators
sinks:
aggregator:
type: vector
inputs: [sanitize]
routing:
strategy: load_balance
endpoints:
- vector-0.vector.telemetry-lab.svc.cluster.local:6000
- vector-1.vector.telemetry-lab.svc.cluster.local:6000
compression: zstd
tls:
enabled: true
ca_file: /etc/telemetry-tls/ca.crt
crt_file: /etc/telemetry-tls/tls.crt
key_file: /etc/telemetry-tls/tls.key
verify_certificate: true
verify_hostname: true
buffer:
type: memory
max_events: 1000
when_full: block
The example balances across individual endpoints and authenticates peers with mTLS. Matching DNS and certificate SANs, approved issuers, credential rotation and network policy must be implemented separately. A valid client certificate does not grant arbitrary tenant access. The configuration uses routing.endpoints, available in the referenced version, instead of the deprecated address. [6]
5. Give aggregators destination and downstream-buffer ownership
The complete aggregator receives through a Vector source and sends through this Loki sink. Agent-facing and backend certificate mounts are separate; backend credentials stay off the nodes.
sinks:
loki:
type: loki
inputs: [agents]
endpoint: https://loki-gateway.telemetry-lab.svc.cluster.local:3100
acknowledgements:
enabled: true
tls:
ca_file: /etc/backend-tls/ca.crt
crt_file: /etc/backend-tls/tls.crt
key_file: /etc/backend-tls/tls.key
verify_certificate: true
verify_hostname: true
encoding:
codec: json
labels:
environment: '{{ environment }}'
namespace: '{{ namespace }}'
service: '{{ service_name }}'
level: '{{ level }}'
buffer:
type: disk
max_size: 10737418240
when_full: block
Putting request_id, trace_id or user_id into Loki labels increases stream cardinality. This example labels only environment, namespace, service and the fixed severity vocabulary, leaving trace/span IDs in the log body. Service names and namespaces still need bounded cardinality. [7]
Extracting a trace ID in Loki does not automatically create a working Grafana-to-Tempo link. Data-source correlation settings, trace retention/sampling and access permissions must also agree. A log may survive while its trace was sampled out.
6. Locate buffers and the limits of acknowledgement
Scroll horizontally to view the complete diagram.
Read the diagram as text
Vector reads node files through checkpoints, agent memory and aggregator disk before Loki; Kubernetes collection has no end-to-end acknowledgement. Collector reception, in-memory batches/pending sampling, persistent exporter queue and backend acceptance are distinct stages. A queue does not protect earlier memory or replicate another Pod’s volume.
The referenced Vector kubernetes_logs source is Best effort and does not support end-to-end acknowledgements. A checkpoint records file-reading position, not Loki persistence. Agent crashes with memory-buffered data and file rotation/deletion during backpressure still expose data. [5][8]
Aggregator disk buffers and Loki acknowledgements do not change that source behavior. Distinguish synchronized disk data from data still in memory. Vector’s disk buffer does not synchronize every write; the documentation describes a default 500 ms synchronization interval. That is not a loss bound for the entire pipeline. [7][8]
when_full: block applies upstream backpressure; drop_newest discards new events. Pausing file collection does not necessarily stop an application’s log writes. Node capacity and rotation constrain how long the path can wait.
Approximate buffer time ≈ usable capacity / incoming bytes per second
10 GiB / (10,000 events/s × 2,000 bytes/event) ≈ 537 seconds
Roughly nine minutes is an arithmetic example, not measured capacity. Serialization, disk overhead, event size, compression location, continuing arrivals and recovery drain rate change the result. Measure peaks and headroom as well as averages.
Two aggregators do not replicate their disk buffers. B may accept new traffic when A stops, but cannot read A’s stranded PVC backlog. Drain or migrate queued data before scaling in or deleting a volume.
7. Declare Collector pipelines per signal
Collector Agent receives OTLP/gRPC and OTLP/HTTP. The example requires mTLS. A DaemonSet does not automatically appear as localhost inside an application Pod: choose an actual sidecar, node-local Service, host-port or other reachable path.
receivers:
otlp:
protocols:
grpc:
endpoint: 0.0.0.0:4317
tls:
cert_file: /etc/telemetry-tls/tls.crt
key_file: /etc/telemetry-tls/tls.key
client_ca_file: /etc/telemetry-tls/ca.crt
http:
endpoint: 0.0.0.0:4318
tls:
cert_file: /etc/telemetry-tls/tls.crt
key_file: /etc/telemetry-tls/tls.key
client_ca_file: /etc/telemetry-tls/ca.crt
The example memory limiter and batch settings are:
processors:
memory_limiter:
check_interval: 1s
limit_mib: 384
spike_limit_mib: 96
batch:
timeout: 1s
send_batch_size: 512
send_batch_max_size: 1024
memory_limiter refuses data under pressure and depends on upstream retry or backpressure. It does not select a universally safe discard policy or guarantee prevention of OOM. The 384 MiB value is illustrative; measure container limits, receiver allocations, batches and queues together. [9]
service:
pipelines:
traces:
receivers: [otlp]
processors: [memory_limiter, batch]
exporters: [otlp_grpc/traces]
metrics:
receivers: [otlp]
processors: [memory_limiter, batch]
exporters: [otlp_grpc/signals]
logs:
receivers: [otlp]
processors: [memory_limiter, batch]
exporters: [otlp_grpc/signals]
Defining a component does not activate it. Connect receivers, processors and exporters through service.pipelines. The complete agent uses separate trace and metric/log destinations with queues and retries on each exporter. [2]
Processor order is contextual. The memory limiter generally belongs early, but Kubernetes enrichment that depends on connection context must precede processing that may lose that context, including batching or tail sampling. Establish the resource information required by sampling before evaluating policies and forming delivery batches. [9][10]
Read OTTL attribute removal within its actual scope
# Targeted attribute removal only; NOT a complete privacy policy or a full config.
# Merge into the Agent processors and reference it in each applicable pipeline.
processors:
transform/remove_selected_attributes:
error_mode: propagate
trace_statements:
- delete_key(span.attributes, "enduser.email")
- delete_key(span.attributes, "http.request.header.authorization")
log_statements:
- delete_key(log.attributes, "enduser.email")
- delete_key(log.attributes, "http.request.header.authorization")
# Does not sanitize bodies, span names/events/links, resource attributes or metric labels.
This fragment removes only the selected attributes. It does not sanitize log bodies, span names, events/links, resources or metric labels, and must be connected to the applicable pipelines. The bundled OTLP path is for synthetic canary data; it is not a complete application privacy policy. Review every signal field and error path before exporting real data across a security boundary. [11]
8. Tail sampling needs trace-ID-aware placement
“Keep ERROR traces and sample the rest at 5%” operates on received spans. Tail sampling cannot recover spans discarded by SDK head sampling. Errors not recorded as status.code = ERROR, late spans and missing data can also defeat the intended selection. [10]
Scroll horizontally to view the complete diagram.
Read the diagram as text
Routers share sampler membership and hash trace IDs to individual endpoints. Samplers collect spans in memory and apply policies. Do not add a load-balanced VIP after affinity routing. Membership changes, restart, late spans and exhausted capacity can still reduce completeness.
Configure the router exporter as follows. load_balancing is the component name in the referenced version.
exporters:
load_balancing/traces:
routing_key: traceID
resolver:
static:
hostnames:
- otel-tail-0.otel-tail.telemetry-lab.svc.cluster.local:4317
- otel-tail-1.otel-tail.telemetry-lab.svc.cluster.local:4317
protocol:
otlp:
tls:
ca_file: /etc/telemetry-tls/ca.crt
cert_file: /etc/telemetry-tls/tls.crt
key_file: /etc/telemetry-tls/tls.key
sending_queue:
enabled: true
sizer: requests
queue_size: 1000
retry_on_failure:
enabled: true
initial_interval: 1s
max_interval: 10s
max_elapsed_time: 5m
A single load-balanced Service as the sampler destination can split spans again after the router has selected a trace route. This example explicitly names two stable individual endpoints and uses identical membership at every router. [12]
The sampler policy is:
processors:
tail_sampling:
decision_wait: 15s
num_traces: 20000
expected_new_traces_per_sec: 500
policies:
- name: observed-errors
type: status_code
status_code:
status_codes: [ERROR]
- name: baseline
type: probabilistic
probabilistic:
sampling_percentage: 5
Derive num_traces and decision_wait from arrival rate, maximum duration, late arrivals, spans per trace and memory. At 500 new traces/s over 15 seconds, arrival count alone is approximately 7,500 traces. That is not a memory estimate and contains no headroom or skew allowance.
Pending decisions are held in memory in this sample. A downstream persistent exporter queue does not save spans awaiting a sampling decision. Restarts, endpoint changes and inconsistent membership rollouts can split data. Static endpoints also leave routes assigned to a failed sampler, potentially losing data after retry expiry. This is not transparent failover with guaranteed completeness. [10][12]
9. Preserve metric producer identity and transformation state
Multiple gateway replicas do not automatically create duplicate metrics. The problems are independent producers generating the same stream, collapsing identity, or splitting stateful transformation state across replicas. [13]
Define service.name, service.instance.id, k8s.pod.uid and their mappings so necessary distinctions survive in the backend. Review metric name/type, resource, attributes, timestamps, cumulative start time and resets. Adding a Collector Pod label to every series can hide collisions while changing the original producer’s meaning.
The sample signal gateway forwards data without temporality conversion or aggregation. Adding cumulative-to-delta conversion requires stream-affine processing state. Multiple scrapers observing the same target are a separate Prometheus/Thanos HA deduplication design.
Align meaning even when representations differ
| Meaning | Vector output | OpenTelemetry |
|---|---|---|
| Service | service_name | Resource service.name |
| Environment | environment | Resource deployment.environment.name |
| Namespace | namespace | Resource k8s.namespace.name |
| Trace | trace_id | Trace ID / LogRecord trace ID |
| Span | span_id | Span ID / LogRecord span ID |
Include which application values are trusted and which are collector-derived. Overwriting every incoming environment with production misclassifies a gateway serving multiple environments. The sample’s staging upsert assumes a staging-only ingress.
Connecting a metric point directly to a trace requires something such as a supported exemplar path. A shared service name does not identify the request associated with one metric point.
10. A persistent queue does not persist the whole pipeline
Collector can attach file_storage to exporter sending queues. Activate the extension in service.extensions as well as defining it. [14]
extensions:
file_storage:
directory: /var/lib/otelcol/queue
create_directory: true
fsync: true
exporters:
otlp_grpc/tempo:
endpoint: tempo-distributor.telemetry-lab.svc.cluster.local:4317
tls:
ca_file: /etc/backend-tls/ca.crt
cert_file: /etc/backend-tls/tls.crt
key_file: /etc/backend-tls/tls.key
sending_queue:
enabled: true
sizer: requests
queue_size: 1000
storage: file_storage
retry_on_failure:
enabled: true
initial_interval: 1s
max_interval: 10s
max_elapsed_time: 5m
service:
extensions: [file_storage]
# Full pipeline wiring is included in otel/tail-sampler.yaml.
Here queue_size: 1000 is measured in requests because sizer: requests is explicit. It is not 1,000 spans or bytes. Account for batch size and traffic. Enabling fsync has I/O cost and cannot survive destruction of the underlying volume.
Retries are bounded at five minutes in the example. Permanent errors, enqueue failure, disk exhaustion and retry expiry can lose data. Data rejected before entering the queue never reaches exporter retry logic. Acceptance into an earlier batch or sampler is also different from completed backend persistence. [14]
Security audit events may need a different discard and durability policy from ordinary logs. An unauthenticated .event_type == "security" is not enough to establish audit authority. Define source authentication, independent paths, retention, tamper protection, retries and duplicate handling.
11. Observe data movement, not only live processes
The Vector sample exports internal metrics on port 9598; Collector exposes internal telemetry on 8888. These are internal monitoring endpoints, not newly authenticated public APIs. [15]
| Observation point | Question to answer |
|---|---|
| Source | Are expected nodes/workloads discovered and readable? |
| Transform | Are schema rejection, parse errors or intentional filters changing? |
| Buffer/queue | What are utilization, oldest data age, enqueue failures and disk headroom? |
| Exporter | Are retries, permanent errors, credential/TLS failures or backend rejections growing? |
| Tail sampling | What is pending, late, capacity-dropped or selected by each policy? |
| Backend | Can a known canary ID be retrieved with expected fields? |
Collector metrics include otelcol_exporter_queue_size, otelcol_exporter_queue_capacity and otelcol_exporter_enqueue_failed_spans. Match actual versions, exporters, labels and queue units before building alerts. [14][15]
Received minus sent is not a loss count when filtering, sampling, retry duplicates, fan-out and different units intervene. Define what is counted over which interval. An independent probe and notification path must detect failure of the collection platform itself; see monitoring the observability platform.
12. Move from configuration checks to correlation evidence
Vector supplies configuration validation and transform unit tests. Use the pinned Collector distribution’s validate command; do not present --dry-run as a version-independent method. [2][16]
#!/usr/bin/env bash
set -euo pipefail
cd "$(dirname "$0")/.."
# Use the reference binaries. Provide a node name and readable certificate files first.
: "${VECTOR_SELF_NODE_NAME:?Set a test node name}"
vector validate --no-environment vector/agent.yaml
vector validate --no-environment vector/aggregator.yaml
vector test vector/agent.yaml vector/tests.yaml
for config in otel/agent.yaml otel/trace-router.yaml otel/tail-sampler.yaml otel/signal-gateway.yaml; do
otelcol-contrib validate --config="$config"
done
# attribute-removal.fragment.yaml is a partial illustration, not a standalone pipeline.
Passing --no-environment does not establish Kubernetes permissions, a TLS handshake, backend connectivity or delivery. Supply required certificate paths and environment variables in the validation environment too.
The authored VRL tests cover nested-secret/raw-message removal, retained metadata and trace ID, and rejection of unknown schemas or malformed JSON. For example, require these output conditions:
assert_eq!(.service_name, "api")
assert_eq!(.namespace, "canary")
assert_eq!(.level, "error")
assert_eq!(.message, "request.failed")
assert_eq!(.trace_id, "0123456789abcdef0123456789abcdef")
assert!(!contains(encode_json(.), "fixture-secret"))
assert!(!exists(.password) && !exists(.nested))
Match one request across backends
The synthetic fixture helper writes trace/span IDs, a two-span trace, stdout log, distinct OTLP log event, gauge point and manifest. It does not send them.
python3 scripts/make-canary.py generated/run-unique
Emit the stdout JSON from an actual test Pod on a node Vector collects. Printing it in an operator terminal does not exercise container-log ingestion. Send OTLP through the real Agent path.
curl --fail-with-body --cacert "$CA_FILE" --cert "$CLIENT_CERT" --key "$CLIENT_KEY" \
-H 'Content-Type: application/json' \
--data-binary @generated/run-unique/trace.json \
"$OTLP_AGENT_HTTPS_URL/v1/traces"
Inspect the OTLP response body for partialSuccess and rejected counts as well as HTTP status. Allow sampling and measured backend indexing delay, then retrieve the following data:
| Backend | Required evidence |
|---|---|
| Loki | Manifest trace/span IDs and event exist; the complete response contains no fixture-secret |
| Tempo | Matching trace ID, both expected span IDs and parent relationship |
| Metrics | Gauge value 1 and timestamp with the intended resource mapping |
| OTLP log backend | The distinct event correlates with the same trace/span |
A 200 or empty search is not a pass. Record duplicates that can arise from at-least-once retries. The synthetic ERROR trace exercises that policy, not the statistical 5% rate for normal traces. A single gauge point also does not prove single-writer or temporality behavior. The fixture has no exemplar.
Exercise backend outage, agent crash, aggregator restart, sampler restart and membership changes separately. Measure queue growth, gaps, duplicates and recovery drain. During telemetry failures, confirm SDK queues/retries do not block business requests indefinitely. The included procedure is an unexecuted exercise plan.
13. Define when one tool is enough
| Situation | Possible starting configuration |
|---|---|
| Logs dominate, Prometheus scrapes metrics, little OTLP | Vector and the existing metrics path |
| SDK OTLP dominates and Collector can own required file processing | Collector-centered collection |
| Legacy formats/VRL operations coexist with instrumented applications | Split Vector and Collector by input and reason for change |
If one tool can adequately own parsing, privacy, buffers and delivery, a second is unnecessary. When using both, evaluate whether clearer ownership repays their added operational cost.
Migration can proceed from legacy logs in Vector to application OTLP traces and then metrics/OTLP logs. At each stage define old/new ownership, when duplicate delivery stops and what rollback means for checkpoints and queues. Converting every existing interface to OTLP is not the goal by itself.
The observability platform modernization case provides attributed design context. It does not establish execution or measurement of these versions, mTLS topology, VRL contract, sampling values or canary exercises in that engagement.
Give the components different reasons to change. Vector owns log inputs and schema; Collector owns OTLP semantics and telemetry policy. Share the contract for data and failure behavior across that boundary. With that ownership established, two tools can be operated as one collection system.
Managing Kubernetes updates with Nix connects this observability foundation to upgrade verification. It separates host generations, etcd, application data and PKI recovery while examining version skew and rollout order.
References
- Vector OpenTelemetry source — Modes and signal support; also v0.58.0 source.
- Collector Configuration — Pipelines and validate; also Filelog Receiver.
- Vector v0.58.0 — Release baseline; also Collector Contrib v0.160.0.
- Vector Remap — Errors, aborts and routing original dropped events.
- Vector Kubernetes Logs — Nodes, metadata, checkpoints and delivery limits.
- Vector Sink — Routing and TLS; also v0.58.0 source and Vector Source.
- Vector Loki Sink — Labels, disk buffers and acknowledgements.
- Vector Buffering Model — Synchronization and backpressure; also End-to-end Acknowledgements.
- Collector Memory Limiter — Memory refusal and upstream retry responsibility.
- Collector Tail Sampling — Policies, context, state, late spans and capacity.
- Collector Transform / OTTL — Field operations and error mode.
- Collector Load Balancing Exporter — Trace-ID routing, membership, queues and failure behavior.
- OpenTelemetry Metrics Data Model — Single-writer streams; also Gateway Pattern.
- Collector Exporter Helper — Queue units, retries and enqueue failures; also File Storage.
- Collector Internal Telemetry — Collector self-observation; also Vector Internal Metrics.
- Vector Unit Tests — Transform fixtures and expected output.
Alongside live web documentation, the article references Vector v0.58.0 source and Collector v0.160.0 tagged documentation. Configurations, diagrams, capacity calculations, fixtures and procedures are design examples, not execution results.