uralkal: telemetry.traces topic (3 partitions, 3d retention), expire-traces lifecycle rule on traces/ prefix in security-audit bucket

This commit is contained in:
emelinda 2026-11-08 18:56:29 +03:00
parent be774f1ea0
commit 653e26473f

View File

@ -1740,9 +1740,11 @@ environments:
- id: archive-vault-audit
prefix: uralkal/security.vault-audit/
expiration_days: 30
# Трейсы otel-collector (awss3 exporter) — в этот же бакет, префикс uralkal/traces/.
# Трейсы otel-collector (Kafka → audit-processor → Parquet): реальный layout ключей
# у processor'а — <kind>/contour=<c>/dt=.../hour=..., поэтому префикс traces/, а не
# uralkal/... (существующие правила uralkal/security.* ни с чем не совпадают — см. PR).
- id: expire-traces
prefix: uralkal/traces/
prefix: traces/
expiration_days: 30
kafka:
@ -1819,6 +1821,16 @@ environments:
config:
retention.ms: "259200000"
max.message.bytes: "1048576"
# Трейсы otel-collector → audit-processor (kind traces). Сообщения — OTLP-батчи
# (ExportTraceServiceRequest, proto), поэтому max.message.bytes как у k8s-audit.
- name: telemetry.traces
owner: security-audit
clusterRef: main
partitions: 3
replicationFactor: 1
config:
retention.ms: "259200000"
max.message.bytes: "5242880"
users:
- name: uralkal-test
clusterRef: main