Skip to content

[BE-3423] fix: Worker 관측 데이터에서 쿼리 문자열 가리기 - #36

Merged
junha6316 merged 1 commit into
developfrom
BE-3423-redact-query
Nov 13, 2026
Merged

junha6316 merged 1 commit into
developfrom
BE-3423-redact-query

Conversation

@junha6316

Copy link
Copy Markdown

무엇을 바꿨나요

  • production observability에 redact_query_string = true를 넣습니다.

왜 필요한가요

  • [BE-3423] chore: wrangler 4로 올리고 Worker 로그·트레이스를 New Relic으로 내보내기 #34 배포 뒤 New Relic에서 확인해 보니, Cloudflare 호출 기록(Log)과 트레이스(Span)의 url.full·url.query에 쿼리 문자열이 그대로 남았습니다.
    • 10:13~10:22 KST에 deployment_key=가 Log 1,252건, Span 91건 남았습니다.
    • 같은 구간에 client_unique_id=는 Log 1,249건, Span 90건 남았습니다.
  • #34에서 바꾼 것은 직접 남기는 요청 로그뿐이라, Cloudflare가 자동으로 남기는 호출 기록에는 적용되지 않았습니다.

검증

  • wrangler deploy --dry-run --env production이 경고 없이 통과했습니다.
  • production 설정을 읽어 보면 redact_query_string: true가 들어갑니다.
  • 키 이름은 설치된 wrangler 4.150.0 코드(observability.redact_query_string)와 4.128.0 릴리스 노트로 확인했습니다.
  • 배포 뒤 New Relic에서 위 두 키가 0건이 되는지 확인하겠습니다.

🤖 Generated with Claude Code

https://claude.ai/code/session_011R1F79zi2fBnwMwn9JAddQ

- Cloudflare 호출 기록·트레이스의 url.full·url.query에 deployment_key·client_unique_id가 남아 New Relic으로 나가던 것을 막음

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011R1F79zi2fBnwMwn9JAddQ
@junha6316 junha6316 self-assigned this Nov 13, 2026
@junha6316
junha6316 marked this pull request as ready for review November 13, 2026 01:26
@junha6316
junha6316 merged commit 45fc5d9 into develop Nov 13, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant