feat(cmd): observatory 조립 — 수집·질의·알림이 한 프로세스로 - #16
Merged
Merged
Conversation
환경변수만으로 설정한다. ConfigMap 하나로 끝나고 파일 포맷을 하나 더 떠안지 않는다 — 룰 파일만 예외이고, 그건 구조가 있어야 하기 때문이다. - 룰 디렉터리가 없으면 알림 없이 조회 전용으로 돈다. 그것도 유효한 구성이다. - 룰은 있는데 webhook URL 이 없으면 경고를 남기고 평가만 한다 — 조용히 넘어가면 '알림이 왜 안 오지' 를 한참 뒤에 발견한다. - 압축은 별도 루프로 돌린다. head 전체를 슬라이스로 꺼내므로 순간 메모리가 정상값의 몇 배가 된다 — 주기를 짧게 잡을 이유가 없다. - version 은 -ldflags 주입이고 미주입 시 'unknown' 이다. 기동 스모크: healthz 200, /api/v1/version 응답, 데이터 경로 401(인증 게이트).
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Phase 1 의 ③ 입니다. 지금까지 만든 조각들이 실제로 돌아가는 프로그램이 됩니다.
기동 스모크 (실제 실행)
설정은 환경변수만
ConfigMap 하나로 끝나고 파일 포맷을 하나 더 떠안지 않습니다. 룰 파일만 예외이고, 그건 구조가 있어야 하기 때문입니다.
판단 셋
룰 디렉터리가 없으면 알림 없이 조회 전용으로 돕니다 — 그것도 유효한 구성입니다.
룰은 있는데 webhook URL 이 없으면 경고를 남기고 평가만 합니다. 조용히 넘어가면 "알림이 왜 안 오지"를 한참 뒤에 발견합니다.
압축은 별도 루프로 돌립니다. head 전체를 슬라이스로 꺼내므로 순간 메모리가 정상값의 몇 배가 됩니다(프로토타입 실측: 정상 507Mi → 피크 1.39GiB) — 주기를 짧게 잡을 이유가 없습니다.
남은 것
④ UI(webui + 프론트) → ⑤ 차트·이미지 발행 후 데모 인스턴스 교체.