The GitHub Actions job "Required Checks" on texera.git/obs/pr3/deployment has 
failed.
Run started by GitHub user Ma77Ball (triggered by Ma77Ball).

Head commit for run:
d464328edb805b9e526d428b7cea157eed2cd1e5 / Matthew Ball <[email protected]>
feat(observability): deployment (collector, Grafana/Loki, Parca)

Add the local deployment wiring that receives, stores, and visualizes the 
telemetry emitted by PR 2: an OpenTelemetry Collector, per-signal backends, and 
a Grafana UI, for both the single-node docker-compose stack and the Kubernetes 
Helm chart. Infrastructure only; the application runs unchanged whether or not 
these services are started. This is PR 3 of the observability stack.

Single-node compose (bin/single-node, bin/observability):
- otel-collector as the single OTLP ingress, routing logs to Loki over OTLP 
HTTP, metrics to VictoriaMetrics via prometheusremotewrite, and traces to 
Jaeger over OTLP; the collector config caps OTLP message size and bounds memory 
via memory_limiter.
- Grafana as the dashboard/UI, pre-provisioned 
(bin/observability/grafana/provisioning) with datasources for Loki, 
VictoriaMetrics (Prometheus-compatible query API), and Jaeger, so operators get 
log search, metric dashboards, and trace views without a Texera-built UI.
- Loki as the log store (bin/observability/loki/config.yaml, OTLP ingest on 
/otlp), VictoriaMetrics as the metric store, Jaeger as the trace store, and 
Parca server plus eBPF agent for continuous profiling (bin/observability/parca).
- A one-shot victoriametrics-init container chowns the metrics volume to 
VictoriaMetrics's non-root uid before it starts, so a freshly created 
(root-owned) named volume does not crash-loop the read-only VM container; it is 
idempotent on an existing volume.
- Each signal is its own compose profile and is OFF by default: 
COMPOSE_PROFILES is empty, so observability is opt-in, and Grafana has its own 
observability-grafana profile.
- Every observability host port, including the Grafana UI, binds to loopback 
(127.0.0.1); nothing is published on 0.0.0.0. Emission is gated by 
OTEL_SDK_DISABLED (default disabled), so nothing is emitted unless an operator 
opts in alongside the collector profile.

Kubernetes Helm chart (bin/k8s):
- Templates for the collector, Grafana, Loki, Jaeger, and VictoriaMetrics under 
templates/base/observability, plus values.yaml knobs and an install.sh helper. 
Grafana is a ClusterIP service with its datasources provisioned from a 
ConfigMap.
- Service deployments gain the OTLP endpoint wiring.

Licensing: the Collector, VictoriaMetrics, Jaeger, and Parca are Apache-2.0 and 
form the shipped reference stack. Grafana and Loki are AGPLv3 optional 
operator-run components, documented as such in bin/observability/README.md and 
not bundled in any Texera release artifact.

Docs: bin/observability/README.md describes the stack, how to reach Grafana at 
http://localhost:3000 with the pre-provisioned datasources, and how to point an 
external Grafana or OpenSearch at the same endpoints instead.

Tests: ObservabilityComposeSpec and ParcaConfigSpec are string-level smoke 
tests over the compose, collector, and Parca config. They pin the image 
versions, assert the opt-in default and loopback binding for every port, and 
check the collector routes logs to Loki, metrics to VictoriaMetrics, and traces 
to Jaeger. bin/observability/smoke_test.py is a runtime routing check meant to 
run against a live stack: it pushes a log, a metric, and a trace per service 
through the collector over OTLP and asserts each reaches its correct backend 
(Loki, VictoriaMetrics, Jaeger) attributed to the emitting service, plus an 
isolation check that one service's data is not mis-attributed to another; it 
exits non-zero on a routing regression.

Stacked on PR 2 (obs/pr2/backend-emit).

Report URL: https://github.com/apache/texera/actions/runs/40287712345

With regards,
GitHub Actions via GitBox

Reply via email to