-
Notifications
You must be signed in to change notification settings - Fork 0
Fix: otel collector 버전 수정 #82
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -5,15 +5,15 @@ receivers: | |
| endpoint: 0.0.0.0:4317 | ||
|
|
||
| processors: | ||
| # OTel Semantic Conventions v1.23.0 이후 속성명 변경 (http.target → url.path 등) 호환 위해 | ||
| # coalesce(??)로 구버전·신버전 속성 둘 다 시도. | ||
| # OTel Java Agent 2.x는 새 Semantic Conventions(url.path, http.response.status_code) 사용. | ||
| # error_mode: ignore로 attribute 누락 시 안전 처리. | ||
| filter/drop_noise: | ||
| error_mode: ignore | ||
| traces: | ||
| span: | ||
| - 'IsMatch(attributes["http.target"] ?? attributes["url.path"] ?? "", "^/actuator.*")' | ||
| - 'IsMatch(attributes["http.target"] ?? attributes["url.path"] ?? "", "^/favicon.*")' | ||
| - '(attributes["http.status_code"] ?? attributes["http.response.status_code"]) == 404 and not IsMatch(attributes["http.target"] ?? attributes["url.path"] ?? "", "^/(api|swagger-ui|api-docs).*")' | ||
| - 'IsMatch(attributes["url.path"], "^/actuator.*")' | ||
| - 'IsMatch(attributes["url.path"], "^/favicon.*")' | ||
| - 'attributes["http.response.status_code"] == 404 and not IsMatch(attributes["url.path"], "^/(api|swagger-ui|api-docs).*")' | ||
|
Comment on lines
+14
to
+16
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. OTTL(OpenTelemetry Transformation Language)의 - 'IsMatch(attributes["url.path"] ?? "", "^/actuator.*")'
- 'IsMatch(attributes["url.path"] ?? "", "^/favicon.*")'
- '(attributes["http.response.status_code"] ?? 0) == 404 and not IsMatch(attributes["url.path"] ?? "", "^/(api|swagger-ui|api-docs).*")' |
||
|
|
||
| batch: | ||
| timeout: 5s | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
otel/opentelemetry-collector-contrib:0.152.1이미지는 공식 Docker Hub 레포지토리에서 확인되지 않는 버전입니다. 현재 최신 안정 버전은0.118.0부근이며, 기존0.115.0에서 업데이트를 의도하셨다면 버전을 다시 확인해 주시기 바랍니다. 잘못된 버전 설정은 배포 시 이미지 풀(pull) 실패로 인해 컨테이너가 실행되지 않는 원인이 됩니다.