OpenTelemetryv0.145.0
확인할 변경이 있을 때만 주 1회, critical 보안 공지는 즉시 발송
중요 수정5
OTLP gRPC exporter 기본 balancer를
round_robin으로 수정영향 대상기본 balancer를 사용하는exporter/otlp_grpcOTLP exporter 설정(추정)기본 balancer를 사용하면 동작이
pick_first로 폴백될 수 있었습니다. passthrough resolver 스킴에서는round_robin이 적용되지 않았습니다.- `exporter/otlp_grpc`: Fix the OTLP exporter balancer to use round_robin by default, as intended. (#14090)
github.com/open-telemetry/opentelemetry-collector/releases/tag/v0.145.0Exporter 배치 사이저 기본값 복원
영향 대상exporter 설정에서sending_queue배칭을 사용하는 경우(추정)설정을
Optional로 감싸면Unmarshal메서드가 호출되지 않아 배치min_size와max_size의 단위가 잘못될 수 있었습니다. 이제 래퍼 타입에서xconfmap.WithForceUnmarshaler를 사용해 내부Unmarshal을 호출할 수 있습니다. 다만confmap.Conf의 최상위Unmarshal호출은 기본적으로 최상위 메서드를 계속 건너뜁니다.- `pkg/config/configoptional`: Fix `Unmarshal` methods not being called when config is wrapped inside `Optional` (#14500) This bug notably manifested in the fact that the `sending_queue::batch::sizer` config for exporters stopped defaulting to `sending_queue::sizer`, which sometimes caused the wrong units to be used As part of the fix, `xconfmap` exposes a new `xconfmap.WithForceUnmarshaler` option, to be used in the `Unmarshal` methods The default behavior remains that calling `conf.Unmarshal` on the `confmap.Conf` passed as argument to an `Unmarshal` method will skip any top-level `Unmarshal` methods to avoid infinite recursion in standard use cases. - `pkg/config/configoptional`: Fix `Unmarshal` methods not being called when config is wrapped inside `Optional` (#14500) This bug notably manifested in the fact that the `sending_queue::batch::sizer` config for exporters stopped defaulting to `sending_queue::sizer`, which sometimes caused the wrong units to be used when configuring `sending_queue::batch::min_size` and `max_size`.
github.com/open-telemetry/opentelemetry-collector/releases/tag/v0.145.0Optional로 래핑된 설정 언마샬링 및 익스포터 배치 sizer 기본값 복구
영향 대상Optional로 래핑된 익스포터 설정, 특히sending_queue::batch::sizer,sending_queue::batch::min_size또는sending_queue::batch::max_size를 사용하는 설정sending_queue::batch::sizer설정이 기본값으로sending_queue::sizer를 사용하지 않게 될 수 있어,sending_queue::batch::min_size와sending_queue::batch::max_size가 잘못된 단위를 사용할 수 있었습니다. 해당 기본값을 복구했습니다.- `pkg/config/configoptional`: Fix `Unmarshal` methods not being called when config is wrapped inside `Optional` (#14500) This bug notably manifested in the fact that the `sending_queue::batch::sizer` config for exporters stopped defaulting to `sending_queue::sizer`, which sometimes caused the wrong units to be used when configuring `sending_queue::batch::min_size` and `max_size`.
github.com/open-telemetry/opentelemetry-collector/releases/tag/v0.145.0pkg/confmapstruct 컬렉션의 보간 문자열 디코딩 수정영향 대상struct 컬렉션 내 문자열 필드에 보간 값이 있는 구성수정 전에는 환경 변수에서 가져온
1234처럼 문자열이 아닌 값으로 파싱되면 디코딩이 실패할 수 있었습니다.confmap.newExpandedValueSanitizer를 활성화하면 필드별 디코딩으로 이 실패를 방지합니다.- `pkg/confmap`: Fix an issue where configs could fail to decode when using interpolated values in string fields. (#14413) For example, a header can be set via an environment variable to a string that is parseable as a number, e.g. `1234`
github.com/open-telemetry/opentelemetry-collector/releases/tag/v0.145.0pkg/service에서 지원되지 않는 OS의 프로세스 메트릭 시작 오류 수정영향 대상지원되지 않는 OS에서 프로세스 메트릭을 활성화한 커스텀 컴파일 컬렉터이러한 컬렉터는 이전에는
failed to register process metrics: not implemented yet오류와 함께 시작에 실패했지만, 이제는 해당 오류 없이 시작됩니다.- `pkg/service`: Don't error on startup when process metrics are enabled on unsupported OSes (e.g. AIX) (#14307)
github.com/open-telemetry/opentelemetry-collector/releases/tag/v0.145.0
기능·개선2
래퍼 타입의 내부
Unmarshal강제 호출사용 조건 내부 타입의
Unmarshal메서드 호출을 보장하기 위해 래퍼 타입의Unmarshal메서드에서 사용하는xconfmap.WithForceUnmarshalerAs part of the fix, `xconfmap` exposes a new `xconfmap.WithForceUnmarshaler` option, to be used in the `Unmarshal` methods of wrapper types like `configoptional.Optional` to make sure the `Unmarshal` method of the inner type is called. The default behavior remains that calling `conf.Unmarshal` on the `confmap.Conf` passed as argument to an `Unmarshal` method will skip any top-level `Unmarshal` methods to avoid infinite recursion in standard use cases. As part of the fix, `xconfmap` exposes a new `xconfmap.WithForceUnmarshaler` option, to be used in the `Unmarshal` methods of wrapper types like `configoptional.Optional` to make sure the `Unmarshal` method of the inner type is called. The default behavior remains that calling `conf.Unmarshal` on the `confmap.Conf` passed as argument to an `Unmarshal` method will skip any top-level `Unmarshal` methods to avoid infinite recursion in standard use cases.
github.com/open-telemetry/opentelemetry-collector/releases/tag/v0.145.0pkg/xscraperhelper에AddProfilesScraper헬퍼 추가- `pkg/xscraperhelper`: Add AddProfilesScraper similar to scraperhelper.AddMetricsScraper (#14427)
github.com/open-telemetry/opentelemetry-collector/releases/tag/v0.145.0
기타2
pkg/scraperhelper오류 로그에 스크레이퍼 ID 추가- `pkg/scraperhelper`: ScraperID has been added to the logs for metrics, logs, and profiles (#14461)
github.com/open-telemetry/opentelemetry-collector/releases/tag/v0.145.0pkg/config/configgrpc서버 인증 전에 클라이언트 정보 추가- `pkg/config/configgrpc`: add client info to context before server authentication (#12836)
github.com/open-telemetry/opentelemetry-collector/releases/tag/v0.145.0
정리 내용은 AI가 작성하므로 틀릴 수 있으며, 보증 없이 제공합니다.