RATATOSK
← 전체 릴리스

OpenTelemetryv0.149.0

호환성 변경 1중요 수정 2기능·개선 2기타 2

OpenTelemetry 알림 받기

확인할 변경이 있을 때만 주 1회, critical 보안 공지는 즉시 발송

호환성 변경1

pkg/service의 내부 메트릭에서 서비스 아이덴티티 라벨 제거

영향 대상내부 Collector 메트릭

이전에는 모든 내부 메트릭 시계열에 service_name, service_instance_id, service_version 라벨이 포함됐습니다. 이제 이 라벨은 target_info에만 나타나므로, 개별 메트릭을 이 라벨로 필터링하거나 그룹화하는 쿼리에는 target_info 조인이 필요합니다.

원문 보기
- `pkg/service`: Remove `service_name`, `service_instance_id`, and `service_version` as constant labels on every internal metric datapoint. These attributes are already present in `target_info` and were being duplicated on each series for OpenCensus backwards compatibility. (#14811)
  Previously, the collector stamped every internal metric series (e.g. `otelcol_process_runtime_heap_alloc_bytes`)
  with `service_name`, `service_instance_id`, and `service_version` labels to match the old OpenCensus behavior.
  These attributes are now only present in the `target_info` metric, which is the correct Prometheus/OTel convention.
  Users who filter or group by these labels on individual metrics will need to update their queries to use
  `target_info` joins instead.
github.com/open-telemetry/opentelemetry-collector/releases/tag/v0.149.0

중요 수정2

  • 엔티티 코드 생성 시 extra_attributes를 리소스에 배치
    영향 대상엔티티 메타데이터에서 extra_attributes를 사용해 cmd/mdatagen으로 생성한 엔티티 코드(추정)

    이전에는 cmd/mdatagen이 엔티티 코드를 생성할 때 k8s.namespace.name, k8s.node.name 같은 어트리뷰트를 리소스가 아닌 엔티티 설명 어트리뷰트로 추가했습니다.

    - `cmd/mdatagen`: Fix entity code generation so `extra_attributes` are emitted as resource attributes instead of entity descriptive attributes. (#14778)
    github.com/open-telemetry/opentelemetry-collector/releases/tag/v0.149.0
  • cmd/mdatagen의 RootPackage에 Go 모듈 루트 적용
    영향 대상Go 모듈 루트가 Git 저장소 루트와 다른 환경에서 cmd/mdatagen을 실행하는 설정

    v0.148.0부터 cmd/mdatagen은 helpers.RootPackage를 사용해 import 루트를 확인했으며, 이 설정에서 실행하면 불일치의 영향을 받을 수 있습니다.

    ### 🧰 Bug fixes 🧰
    - `cmd/mdatagen`: Fix RootPackage to use go module root instead of git repo root (#14801)
      Fixes issue with running mdatagen when the git repository root is different from the go module root.
    github.com/open-telemetry/opentelemetry-collector/releases/tag/v0.149.0

기능·개선2

기타2

정리 내용은 AI가 작성하므로 틀릴 수 있으며, 보증 없이 제공합니다.