Skip to content

[Chore] n8n 자동 분석을 위한 표준 이벤트 포맷 확정 #37

@mindaaaa

Description

@mindaaaa

작업 내용

  • Sentry → n8n → OpenAI 분석 자동화를 위해
    이벤트 payload 구조를 표준화한다.

필수 필드

- layer
- operationId
- mediaState
- userRole
- message
- fingerprint

Note

Bug 이벤트에는 stack 포함

예시 최종 전송 구조

{
  layer: "operational",
  operationId: "confirmMedia",
  mediaState: "PREPARING",
  userRole: "EDITOR",
  message: "OP|upload|confirm_failed"
}

Bug 이벤트 예시

{
  "layer": "bug",
  "operationId": "confirmMedia",
  "mediaState": "COMPLETE",
  "userRole": "EDITOR",
  "message": "BUG|state_violation|confirm_on_complete",
  "fingerprint": ["confirmMedia", "COMPLETE"],
  "stack": "TypeError: Cannot read properties of undefined..."
}

완료 기준

  • 모든 이벤트에 layer tag 존재
  • operationId tag 존재
  • mediaState tag 존재
  • n8n에서 구조 파싱 가능
  • Bug 이벤트는 stack 포함됨

Metadata

Metadata

Assignees

Labels

type: chore기능 변경 없이 설정, 환경 구성, 의존성 관리, 문서 정리 등을 위한 작업

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions