Some checks failed
CI / lint-test (push) Successful in 1m16s
CI / skinny-install (api) (push) Successful in 26s
CI / skinny-install (bib) (push) Successful in 29s
CI / skinny-install (bcda) (push) Successful in 34s
CI / skinny-install (cms) (push) Successful in 30s
CI / skinny-install (conf) (push) Successful in 29s
CI / skinny-install (opps) (push) Successful in 30s
CI / skinny-install (perf) (push) Successful in 33s
CI / skinny-install (pfs) (push) Successful in 32s
Infra CI / notebooks (push) Successful in 6s
Infra CI / zotero (push) Successful in 6s
CI / skinny-install (aco) (push) Successful in 48s
CI / skinny-install (bls) (push) Successful in 29s
CI / skinny-install (ccw) (push) Successful in 31s
CI / skinny-install (cli) (push) Successful in 28s
CI / skinny-install (rex) (push) Successful in 24s
Infra CI / docs (push) Failing after 6s
Infra CI / api (push) Successful in 7s
Infra CI / mc (push) Successful in 7s
Deploy / build-scan-report (push) Failing after 1m26s
notebooks (10 GB) and zotero (18 GB) now use HEAVY_TAG instead of COMMIT_SHA so they are not rebuilt on every commit — this was saturating the network and killing connectivity during deploys. otel-collector: replace removed loki exporter with otlp_http/loki, fix deprecated otlp/otlphttp aliases, replace wget healthcheck with otelcol-contrib validate (scratch image has no shell). docs: healthcheck wget to 127.0.0.1 instead of localhost (alpine resolves localhost to ::1 but nginx binds IPv4 only). Loki: enable allow_structured_metadata for OTLP log ingestion. Generate STACK_API_SECRET in .env (was missing, caused compose warning). refs #285, refs #286, refs #287
57 lines
1.1 KiB
YAML
57 lines
1.1 KiB
YAML
# OpenTelemetry Collector configuration
|
|
# Fan-out: traces → Jaeger, metrics → Prometheus scrape, logs → Loki
|
|
|
|
receivers:
|
|
otlp:
|
|
protocols:
|
|
grpc:
|
|
endpoint: 0.0.0.0:4317
|
|
http:
|
|
endpoint: 0.0.0.0:4318
|
|
|
|
processors:
|
|
batch:
|
|
timeout: 5s
|
|
send_batch_size: 1024
|
|
|
|
resource:
|
|
attributes:
|
|
- key: deployment.environment
|
|
value: homelab
|
|
action: upsert
|
|
|
|
exporters:
|
|
otlp_grpc/jaeger:
|
|
endpoint: jaeger:4317
|
|
tls:
|
|
insecure: true
|
|
|
|
otlp_http/loki:
|
|
endpoint: http://loki:3100/otlp
|
|
|
|
prometheus:
|
|
endpoint: 0.0.0.0:8889
|
|
namespace: stack
|
|
resource_to_telemetry_conversion:
|
|
enabled: true
|
|
|
|
extensions:
|
|
health_check:
|
|
endpoint: 0.0.0.0:13133
|
|
|
|
service:
|
|
extensions: [health_check]
|
|
pipelines:
|
|
traces:
|
|
receivers: [otlp]
|
|
processors: [batch, resource]
|
|
exporters: [otlp_grpc/jaeger]
|
|
metrics:
|
|
receivers: [otlp]
|
|
processors: [batch]
|
|
exporters: [prometheus]
|
|
logs:
|
|
receivers: [otlp]
|
|
processors: [batch, resource]
|
|
exporters: [otlp_http/loki]
|