docs: correct VictoriaLogs tenant header to AccountID/ProjectID across docs
otelcol 헤더 수정(aef6439)에 맞춰 아키텍처 문서·vlogs/otelcol CUSTOM-README·
vlogs custom-values 주석의 VictoriaLogs-AccountID 참조를 AccountID/ProjectID 로 정정.
VictoriaLogs-* 접두 헤더 무시(전량 acct0) 경고 추가.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -28,7 +28,7 @@ helm upgrade otelcol-events open-telemetry/opentelemetry-collector \
|
||||
| logs/demo02 | filelog → filter(namespace=demo02-*) | vlinsert AccountID 2 |
|
||||
| logs/platform | filelog → filter(나머지) | vlinsert AccountID 0 |
|
||||
|
||||
- **로그 테넌시**: `VictoriaLogs-AccountID` 헤더로 vlinsert에 격리 전송. namespace는 filelog regex가 log record attribute에 추출하므로 OTTL `attributes["namespace"]`로 필터한다.
|
||||
- **로그 테넌시**: `AccountID`/`ProjectID` 헤더로 vlinsert에 격리 전송. namespace는 filelog regex가 log record attribute에 추출하므로 OTTL `attributes["namespace"]`로 필터한다. ⚠️ VictoriaLogs가 인식하는 테넌트 헤더는 `AccountID`/`ProjectID`이며, `VictoriaLogs-AccountID` 같은 접두 헤더는 무시되어 **전량 account 0**으로 적재된다(dev 검증에서 확인).
|
||||
- **호스트 로그 마운트**: `/var/log/pods`, `/var/lib/docker/containers` (readOnly).
|
||||
- **RBAC**: k8sattributes 프로세서용 pods/namespaces/nodes/replicasets 권한.
|
||||
|
||||
|
||||
@@ -24,7 +24,7 @@ helm upgrade vlogs ./ -f custom-values.yaml --install -n monitoring
|
||||
|
||||
## 3. 의존 관계
|
||||
|
||||
- **쓰기**: opentelemetry-collector → vlinsert:9481 (`VictoriaLogs-AccountID` 헤더로 테넌트 지정)
|
||||
- **쓰기**: opentelemetry-collector → vlinsert:9481 (`AccountID`/`ProjectID` 헤더로 테넌트 지정. `VictoriaLogs-*` 접두 헤더는 무시됨)
|
||||
- **조회**: vmauth → vlselect:9471 (Perses victorialogs 데이터소스가 vmauth 경유)
|
||||
|
||||
## 4. 검증
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
# 멀티테넌시: AccountID 기반 스토리지 격리 (단일 노드와 달리 실제 격리)
|
||||
# - 쓰기: vlinsert:9481 /insert/{AccountID}/opentelemetry/v1/logs
|
||||
# - 조회: vlselect:9471 /select/{AccountID}/logsql/query
|
||||
# 로그 수집은 opentelemetry-collector가 VictoriaLogs-AccountID 헤더로 전송한다.
|
||||
# 로그 수집은 opentelemetry-collector가 AccountID/ProjectID 헤더로 전송한다(VictoriaLogs-* 접두 헤더는 무시됨).
|
||||
# =============================================================================
|
||||
|
||||
vlinsert:
|
||||
|
||||
Reference in New Issue
Block a user