Notes
Features
- Added ability to store a list of OpenTelemetry Gen AI attributes from being truncated (#4505) (0e7d01d)
- Added support for some OpenTelemetry configuration options when
opentelemetry.enabledis true (#4501) (a0874ab)- If
config.opentelemetry.enabledistrue, the following OpenTelemetry environment variables will be applied to config:OTEL_SERVICE_NAME->config.app_nameOTEL_LOG_LEVEL->config.logging.levelOTEL_SDK_DISABLED->config.agent_enabled
- The OpenTelemetry environment variables have the same precedence level as New Relic environment variables. If the same value is set by both a New Relic environment variable (ex. NEW_RELIC_APP_NAME), the New Relic variable will take precedence.
- If
Bug fixes
- Added support for header tuples in
outgoingResponse.writeHead(#4504) (ed90b3d) - Handled an
apollo-serverrequest where a fragment does not return an operation (#4525) (bd866aa) - Reported unhandled outbound
httprequest errors once on the external span (#4484) (e76cacc) - Restored Redis MULTI/pipeline datastore instrumentation for @redis/client 6.4.0 (#4510) (2446f75)
- Used the bundled undici version for
SubscriberUsedmetrics instead of the Node.js major (#4512) (6561d6b) - Used the correct AWS partition when building ARNs for DynamoDB and Lambda (#4491) (f644a09)
Performance improvements
- Reduced per-request CPU in middleware done handler wrapping billouboq (#4516) (1b4f6c0)
- Skipped
Buffer.byteLengthinisValidLengthwhen the string length decides billouboq (#4523) (d819521) - Stopped
mongodbrecorders from retaining cursors until the transaction ends billouboq (#4517) (77d8d23)
Documentation
- Removed 'External Modules' section in README (#4522) (57b855c)
- Updated
virtual-machineandworker-threadsconfig schema descriptions (#4521) (6e8272e) - Updated
agent_controlandapiconfig schema descriptions (#4513) (460e87f) - Updated compatibility report (#4493) (0a663b8)
Miscellaneous chores
- Aligned
ai_monitoring.enableddeprecation notice withplugins.native_metrics.enabled(#4495) (f083b00) - Cleanup
qandelasticsearchsubscriber configs to accurately reflect instrumented range (#4514) (b8d0bd9)- Also fixed lint issues.
- Deprecated
NEW_RELIC_NATIVE_METRICS_ENABLEDfor new setting (#4490) (210118f)
Tests
- Added a script that checks for circular deps. It will run weekly as a Github action (#4515) (7272bd8)
- Changed configuration to disable virtual machine metrics for 2 suites (#4498) (2504cae)
- Fixed test reporter totals to use the run-wide summary (#4506) (5288d35)
- Moved
lib/configunit tests totest/unit/lib/config(#4500) (823fa59) - Reduced benchmark suite wall time (#4494) (2352751)
- Reduced response handling integration test time by sharing a certificate (#4497) (d9f925b)
Support statement:
We recommend updating to the latest agent version as soon as it's available. If you can't upgrade to the latest version, update your agents to a version no more than 90 days old. Read more about keeping agents up to date. (https://docs.newrelic.com/docs/new-relic-solutions/new-relic-one/install-configure/update-new-relic-agent/)
See the New Relic Node.js agent EOL policy for information about agent releases and support dates. (https://docs.newrelic.com/docs/apm/agents/nodejs-agent/getting-started/nodejs-agent-eol-policy/)
Notes
특징
버그 수정
- 아웃바운드
http/httpsrequests의 프로토콜 및 포트를 수정했습니다 (#4473) (ab1b4b8) - writeHead에 대한 응답 헤더 캡처를 수정했습니다 (#4477) (fab8012)
- kafkajs eachMessage 래퍼에서 애플리케이션 핸들러 프로미스를 반환했습니다 (#4488) (3263f9a)
코드 리팩토링
http클라이언트(http-outbound포함) 계측을 구독자 기반으로 마이그레이션했습니다 (#4472) (191a052)- http 서버 계측을 구독자 기반으로 마이그레이션했습니다 (#4472) (04a3101)
선적 서류 비치
잡일
- 로컬 http 모의 서버 호출로 대체하기 위해 nock을 제거했습니다 (#4478) (4e0b963)
- 사용되지 않는 코어 계측 코드를 제거했습니다 (#4472) (b371b0c)
@newrelic/security-agent을(를) v4로 업데이트했습니다 (#4471) (4234f4f)
테스트
- 로컬 http 모의 서버를 통합했습니다 (#4479) (ede2b19)
- https url을 예상하도록 client-s3 스모크 테스트를 업데이트했습니다 (#4482) (e8d039d)
- 일치하지 않는 converse 프롬프트에서 Bedrock 모의 서버가 빠르게 실패하도록 업데이트했습니다 (#4485) (5a69ac7)
지지 성명:
최신 에이전트 버전이 출시되면 즉시 업데이트하는 것이 좋습니다. 최신 버전으로 업그레이드할 수 없는 경우, 에이전트를 90일 이내 버전으로 업데이트하세요. 에이전트에게 최신 정보를 제공하는 방법에 대해 자세히 알아보세요. (https://docs.newrelic.com/docs/new-relic-solutions/new-relic-one/install-configure/update-new-relic-agent/)
에이전트 릴리스 및 지원 날짜에 대한 정보는 뉴렐릭 Node.js 에이전트 EOL 정책을 참조하세요. (https://docs.newrelic.com/docs/apm/agents/nodejs-agent/getting-started/nodejs-agent-eol-policy/)
Notes
특징
ai_monitoring.basic_telemetry.enabled을(를) 추가하고 기본 AI 모니터링을 기본값으로 활성화했습니다 (#4330) (c126335)- LLM 계측은 이제 기본적으로 활성화되며, 별도로 구성하지 않는 한
Llm*커스텀 대시보드, 스팬 및 메트릭(메시지 내용 제외)을 전송합니다. 옵트아웃하려면newrelic.js에서ai_monitoring.basic_telemetry.enabled을(를)false(으)로 설정하거나NEW_RELIC_AI_MONITORING_BASIC_TELEMETRY_ENABLED환경 변수를false(으)로 설정하십시오. ai_monitoring.enabled및NEW_RELIC_AI_MONITORING_ENABLED환경 변수는 더 이상 사용되지 않으며 향후 주요 버전에서 제거될 예정이지만, 둘 중 하나를 false로 설정해도 옵트아웃됩니다.
- LLM 계측은 이제 기본적으로 활성화되며, 별도로 구성하지 않는 한
버그 수정
성능 개선
선적 서류 비치
잡일
- deps-dev: @opentelemetry/exporter-metrics-otlp-proto를 0.300.0에서 0.301.0으로 업데이트합니다. (#4464) (498dc4c)
- deps: @apm-js-collab/tracing-hooks를 0.13.3에서 0.14.0으로 업데이트합니다. (#4455) (7fa16f2)
- deps: @opentelemetry/exporter-metrics-otlp-http를 0.300.0에서 0.301.0으로 업데이트합니다. (#4462) (6f7bc29)
- deps: @opentelemetry/otlp-exporter-base를 0.300.0에서 0.301.0으로 업데이트했습니다 (#4463) (bd28555)
- deps: @opentelemetry/otlp-transformer를 0.300.0에서 0.301.0으로 업데이트 (#4461) (0518ca1)
테스트
- 외부 세그먼트 어서션에서 google-생성형 AI API 버전을 도출했습니다 (#4445) (7234378)
- bluebird shape 테스트 security-agent 건너뛰기 경로에서 누출된 에이전트를 수정했습니다 (#4456) (4ea68a6)
- CPU 경합 상황에서 VM 메트릭 샘플러 테스트가 결정론적으로 동작하도록 수정했습니다 (#4446) (649d1bc)
지지 성명:
최신 에이전트 버전이 출시되면 즉시 업데이트하는 것이 좋습니다. 최신 버전으로 업그레이드할 수 없는 경우, 에이전트를 90일 이내 버전으로 업데이트하세요. 에이전트에게 최신 정보를 제공하는 방법에 대해 자세히 알아보세요. (https://docs.newrelic.com/docs/new-relic-solutions/new-relic-one/install-configure/update-new-relic-agent/)
에이전트 릴리스 및 지원 날짜에 대한 정보는 뉴렐릭 Node.js 에이전트 EOL 정책을 참조하세요. (https://docs.newrelic.com/docs/apm/agents/nodejs-agent/getting-started/nodejs-agent-eol-policy/)
특징
버그 수정
코드 리팩토링
선적 서류 비치
테스트
지지 성명:
최신 에이전트 버전이 출시되면 즉시 업데이트하는 것이 좋습니다. 최신 버전으로 업그레이드할 수 없는 경우, 에이전트를 90일 이내 버전으로 업데이트하세요. 에이전트에게 최신 정보를 제공하는 방법에 대해 자세히 알아보세요. (https://docs.newrelic.com/docs/new-relic-solutions/new-relic-one/install-configure/update-new-relic-agent/)
에이전트 릴리스 및 지원 날짜에 대한 정보는 뉴렐릭 Node.js 에이전트 EOL 정책을 참조하세요. (https://docs.newrelic.com/docs/apm/agents/nodejs-agent/getting-started/nodejs-agent-eol-policy/)
특징
@opentelemetry/api@1.10.0에 대한 지원이 추가되었습니다 (#4392) (504490d)@opentelemetry/api-logs을(를) 직접 사용하는 고객은 이를 제거하고@opentelemetry/api1.10.0+를 사용하도록 업데이트해야 합니다. 자세한 내용은 OpenTelemetry API 변경 로그를 참조하십시오.- 로깅 라이브러리에 대한 서드파티 계측을 등록하는 고객은 다음과 같이 업데이트해야 합니다:
@opentelemetry/instrumentation-pino을(를) 0.70.0+로,@opentelemetry/instrumentation-bunyan을(를) 0.69.0+로,@opentelemetry/instrumentation-console을(를) 0.6.0+로, 또는@opentelemetry/instrumentation-winston을(를) 0.69.0+로
버그 수정
- Apollo Server 인수 어레이 메트릭을 축소했습니다 (#4350) (baf35fd)
- 이 기능을 활용하려면
config.apollo_server.field_metrics및config.apollo_server.collapse_field_metrics을(를) 모두true(으)로 설정해야 합니다. 기여해 주신 @cpruijsen 님께 감사드립니다!
- 이 기능을 활용하려면
- net.js가 종료된 트랜잭션을 수명이 긴 소켓에 고정하는 것을 중단했습니다 (#4411) (471e7df)
성능 개선
- execute와 직접 일치하도록 mongodb bulk 계측을 단순화했습니다 (#4406) (af4efdb)
- 프로토타입 수준에서 mongodb 드라이버 메서드를 래핑했습니다 (#4399) (9074abc)
선적 서류 비치
잡일
테스트
지지 성명
최신 에이전트 버전이 출시되면 즉시 업데이트하는 것이 좋습니다. 최신 버전으로 업그레이드할 수 없는 경우, 에이전트를 90일 이내 버전으로 업데이트하세요. 에이전트에게 최신 정보를 제공하는 방법 에 대해 자세히 알아보세요.
에이전트 릴리스 및 지원 날짜에 대한 정보는 뉴렐릭 Node.js 에이전트 EOL 정책 을 참조하세요.
Features
- Added
--dumpto validate-config to emit the effective configuration (#4390) (fe3e684) - Added a validate-config CLI command (#4341) (821848d)
- Flagged a missing OpenTelemetry bridge as a validate-config startup blocker (#4396) (75397be)
- Reduced instances of the schema file to be just one instance in
schema.json(#4379) (a870c3b) - Shared startup-blocker checks between the agent and validate-config CLI (#4378) (06e6596)
Bug fixes
- Bounded module version resolution at filesystem root (#4393) (71c90b6)
- Fixed
http2client handling of missing headers, default ports, IPv6 hosts, and unparseable URLs (#4362) (0eef6a6) - Loaded the code-level metrics function inspector once instead of on every call (#4391) (01d2797)
Performance improvements
- Reduced CPU per SQL query by skipping slow query processing below
explain_threshold(#4376) (047e2cd)
Code refactoring
Documentation
Miscellaneous chores
- Fixed
MAXIMUM_TIMEOUT_TIMEinlib/otel/metrics/index.jsto be the correct expected value (#4365) (39b037c) - Updated linter to latest version (#4351) (a1a30f5)
- Added CLI tool help note about derived settings (#4398) (7c8b36d)
Tests
- Attempted to fix flaky tests (#4383) (01ddfd8)
- Pinned version of
@opentelemetry/apito 1.9.0 (#4387) (525b81c) - Updated
gotto latest to ensure it is up to date (#4364) (b586275)
Support statement
We recommend updating to the latest agent version as soon as it's available. If you can't upgrade to the latest version, update your agents to a version no more than 90 days old. Read more about keeping agents up to date.
See the New Relic Node.js agent EOL policy for information about agent releases and support dates.