Notes
Code refactoring
- Updated agent to use
@apm-js-collab/tracing-hooks
for the CJS/ESM registration for tracing channel based instrumentation (#3324) (4b2c14f)
Documentation
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
Features
- Added ability to register
Supportability/Features/Instrumentation/OnRequire/<pkg>
metrics for subscriber based instrumentation (#3312) (87bfa40) - Added esm loader hook and commonjs patch to work with orchestrion-js (#3312) (415aeba)
- Added instrumentation for
@modelcontextprotocol/sdk
client callsclient.callTool
,client.readResource
, andclient.getPrompt
(#3312) (5d9790b)
Bug fixes
- Fixed logic around detecting OTEL packages (#3326) (4df30e5)
- Updated
shimmer.setupSubscribers
to properly setup and skip subscribers that are disabled (#3312) (cf5b3ec)
Code refactoring
- Added ability to disable subscribers via
config.instrumentation.<pkg-name>.enabled
(#3312) (55f8fe7) - Added ability to prevent creation of segments in subscriber based instrumentation when parent is marked as internal and of the same package (#3322) (91f91c2)
- Removed
id
parameter fromopensearch
class (#3312) (8be00ce) - Updated
opensearch
instrumentation to subscribe to events emitted (#3312) (9a27a5d) - Updated elasticsearch instrumentation to subscribe to events emitted (#3312) (a3e2348)
- Updated ioredis instrumentation to subscribe to events emitted (#3312) (90b97d2)
- Updated pino instrumentation to subscribe to events emitted (#3312) (28bbe9f)
- Updated subscribers to have a common createSegment that creates, assigns attributes, starts segment (#3317) (aa3f8d9)
- Updated undici instrumentation to remove its reliance on shim. Also updated storing the relevant segments on context instead of symbols on the request object (#3312) (ec17fa7)
Documentation
Miscellaneous chores
- change from ending segment to touching for feature parity with shim (#3312) (4d39fc5)
- Updated eslint configuration (#3296) (5c168a6)
Tests
- Fixed obtaining opensearch package version for older versions we instrument (#3314) (e45ab27)
- Removed unnecessary
prisma.$use
in tests to unpin (#3303) (db20324)
Continuous integration
- Allow users to run benchmark tests even if not sending metrics (#3307) (1be1514)
- Change benchmark tests to use
TEST_LICENSE
(#3325) (1f7f733)
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
특징
- OTEL 로그 API에 대한 지원이 추가되었습니다(#3228)(19a9c78)
- 패키지에 대해 측정, 로그가 비활성화된 경우 지원 가능성 지표를 추가했습니다. (#3252) (6098a5b)
- 비활성화된 타이머 측정, 샘플 설정에서 기본적으로 로그(#3253)(72eb8d4)
버그 수정
코드 리팩토링
선적 서류 비치
- 업데이트된 추적 추적 예시, 올바른 리포지터리 (#3254) (1fb3859)를 사용하는 목표
- 업데이트된 호환성 보고서(#3299)(8b85342)
- 업데이트된 호환성 보고서(#3267)(2712c94)
- 업데이트된 호환성 보고서(#3265)(daedadd)
- 업데이트된 호환성 보고서(#3261)(bd7d3fa)
- 업데이트된 호환성 보고서(#3246)(c289fb5)
- 업데이트된 호환성 보고서(#3241)(64529e1)
잡일
테스트
- 버전 테스트에서 엔진과 버전 범위를 정리했습니다(#3260)(c7fd60e)
- 고정 실패한 http 벤치마크 테스트(#3258)(7e8cd48)
- 실패한 스팬-이벤트 벤치마크 테스트를 수정했습니다. (#3255) (05b955f)
- 최신 24개 항목에 대한 CI 문제 수정(#3277)(960d169)
- 타이머 측정, 계측이 항상 활성화되어 있다고 가정하는 고정 테스트(#3257)(40cfda1)
- nestjs 테스트 앱에서 peer deps 강제 설치(#3269)(4e454ff)
통합 연결
지지 성명:
최신 에이전트 버전이 출시되면 즉시 업데이트하는 것이 좋습니다. 최신 버전으로 업그레이드할 수 없는 경우, 에이전트를 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
⚠ 주요 변경 사항
이 버전의 Node.js 에이전트는 SemVer 주요 업데이트이며 다음과 같은 중요한 변경 사항이 포함되어 있습니다. 관리자에 따르면 주요 버전은 사용 수명이 종료된 언어 런타임에 대한 지원을 중단할 수 있습니다. 또한 주요 버전에서는 특정 측정, 계측에 대한 지원이 중단되거나 제거될 수 있습니다. 이러한 변경 사항에 대한 자세한 내용은 마이그레이션 가이드를 참조하세요.
- Node.js 18에 대한 지원이 중단되었습니다.
fastify
에 대한 최소 지원 버전을 3.0.0으로 업데이트했습니다.pino
에서 8.0.0으로,koa-router
에서 12.0.0으로
특징
- Node.js 18에 대한 지원이 중단되었습니다(#3097)(cb7c080)
fastify
,pino
및koa-router
에 대한 최소 지원 버전이 업데이트되었습니다(#3108)(ae9e21d)
선적 서류 비치
테스트
- 모든 예상 세그먼트를 삽입하도록
assertSegments
수정했습니다(#3239)(de183fb) - CI에서 문제를 방지하기 위해 발신 통화를 모의하는 업데이트된 테스트(#3234)(66694c6)
통합 연결
node-newrelic
이외의 리포지터리에 대한 semver 주요 사본을 제외하기 위해 준비 릴리스를 업데이트했습니다(#3242)(82d9689)- 주요 변경 사항을 중심으로 복사본을 추가하기 위해 릴리스 준비를 업데이트했습니다(#3199)(ca1131c)
지지 성명:
최신 에이전트 버전이 출시되면 즉시 업데이트하는 것이 좋습니다. 최신 버전으로 업그레이드할 수 없는 경우, 에이전트를 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
특징
버그 수정
eventSegment.addAttribute
null이면 충돌하지 않습니다(#3215)(8955f37)openai
응답 API 지원이 >=v4.87.0으로 변경되었습니다(#3219)(19c0c70)
선적 서류 비치
잡일
지지 성명:
최신 에이전트 버전이 출시되면 즉시 업데이트하는 것이 좋습니다. 최신 버전으로 업그레이드할 수 없는 경우, 에이전트를 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
특징
선적 서류 비치
잡일
지지 성명:
최신 에이전트 버전이 출시되면 즉시 업데이트하는 것이 좋습니다. 최신 버전으로 업그레이드할 수 없는 경우, 에이전트를 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/)