June 9, 2021
Java agent v7.0.0
새로운 기능 및 개선 사항:
- JFR 메트릭을 사용하는 자바용 실시간 프로파일링이 이제 자바 에이전트에 완전히 통합되었습니다. 추가 세부 정보는 JFR 코어 README를 참조하십시오.
이 기능은 지원되는 자바 8 버전(특히 8u262 버전 이상) 또는 자바 11 이상이 필요하며 현재 기본적으로 비활성화되어 있습니다. 이를 활성화하려면 yaml에 다음을 설정하십시오(common 섹션 아래에 2칸 들여쓰기).
jfr: enabled: true공지: 이전에 jfr-데몬 jar를 에이전트 확장 또는 독립 실행형 프로세스로 사용한 경우, 현재 에이전트에 내장된 JFR 서비스와의 잠재적인 충돌을 피하기 위해 해당 옵션을 제거해야 합니다.
- 자바 7과 호환되지 않습니다. JVM에서 실행하는 고객에게 지속적으로 혁신하고 새로운 기능을 효율적으로 제공하기 위해, 이 에이전트 버전과 향후 에이전트 버전은 자바 7과 호환되지 않습니다. 자바 7을 실행 중인 경우 자바 에이전트 6.5.0 이하 버전을 계속 사용할 수 있습니다. 자세한 내용은 Explorers Hub의 이 주제를 참조하십시오.
- Scala 2.13을 사용하는 akka http에 대한 지원을 추가합니다. #271
- 람다 메서드를 트레이스하기 위한 클래스 주석입니다. #274
- 반환 유형별로 메서드를 트레이스하기 위한 클래스 어노테이션입니다. #275
수정 사항:
- 여러 버전의
akka-http-core계측이 동시에 적용될 수 있는 문제를 수정했습니다. #208 - 이제 에이전트는 장황함을 줄이기 위해
WARN대신FINE에 삭제된 이벤트를 로그합니다. #296 noticeErrorAPI를 여러 번 호출할 때 실제로는 마지막 오류가 보고되지만 첫 번째 오류가 보고된다고 잘못 명시한 Javadoc 주석을 수정합니다. #313
지지 성명:
- 뉴렐릭은 에이전트를 정기적으로 업그레이드하여 최신 기능과 성능 이점을 얻을 것을 권장합니다. 또한, 이전 버전은 지원이 종료 되면 더 이상 지원되지 않습니다.
알려진 문제
- OkHttp
이 릴리스에는 OkHttp 버전 3.X 이하를 중단시키는 버그가 포함되어 있습니다. 영향을 받는 모든 사용자는 7.0.1로 업그레이드해야 합니다.
April 26, 2021
Java agent v6.5.0
새로운 기능 및 개선 사항:
- 에이전트는 더 이상 SSL 인증을 번들로 제공하지 않으며, 이전에 번들로 제공된 인증서를 사용하도록 에이전트를 구성한
use_private_ssl옵션이 제거되었습니다. 기본적으로 에이전트는 ca_bundle_path 옵션을 사용하여 다른 트러스트스토어를 사용하도록 명시적으로 구성되지 않는 한 JVM에서 제공하는 SSL 트러스트스토어를 사용합니다. 자세한 내용은 SSL 인증서 구성을 참조하십시오.
수정 사항:
- JAX-RS 하위 리소스를 사용할 때 잘못된 트랜잭션 이름 지정이 발생할 수 있는 문제를 수정합니다.
- Reactor Netty 계측 개선 및 수정 사항.
제품 사양 저하 공지
- 자바 7 호환성 지원 중단
JVM에서 실행하는 고객에게 지속적으로 혁신하고 새로운 기능을 효율적으로 제공하기 위해 자바 7 지원이 중단되었으며 이것이 호환되는 에이전트의 마지막 버전이 될 것입니다.
자바 7을 실행 중인 경우, 자바 에이전트 6.5.0 이하 버전을 계속 사용할 수 있습니다.
자세한 내용은 Explorers Hub 게시물을 참조하십시오.
지지 성명:
- 뉴렐릭은 에이전트를 정기적으로 업그레이드하여 최신 기능과 성능 이점을 얻을 것을 권장합니다. 또한, 이전 릴리스는 지원 종료 시점 에 더 이상 지원되지 않습니다.
March 2, 2021
Java agent v6.4.2
Fixes
Fixes an issue that could cause some instrumentation modules (e.g. jax-rs-1.0) to have a WeaveViolation and not apply properly.
February 2, 2021
Java agent v6.4.1
Fixes
Fixes an issue in 6.4.0 where spans would not get sent to Infinite Tracing.
January 27, 2021
Java agent v6.4.0
Note:
- There is an issue with this agent release that could lead to spans not being sent to Infinite Tracing. Please use 6.4.1 instead.
New Features and Improvements:
- Spring Webflux/Netty Reactor instrumentation improvements for enhanced tracing across asynchronous thread hops.
- The agent will now utilize a backoff sequence on connection retries to Infinite Tracing.
- New distributed tracing APIs have been added to better support general use cases for propagating distributed tracing headers. In particular the new APIs provide enhanced support for W3C Trace Context but are flexible enough to support other header protocols that may be supported by the agent in the future. Previous distributed tracing APIs have been deprecated and are subject to removal in a future agent release. See documentation here.
Transaction.insertDistributedTraceHeaders(Headers)is used to create and insert distributed tracing headers (both newrelic and W3C Trace Context) into aHeadersdata structure.Transaction.acceptDistributedTraceHeaders(TransportType, Headers)is used to accept the distributed tracing headers sent from the calling service and link these services together in a distributed trace.
Fixes:
- Updated the Java agent’s snakeyaml dependency to 1.27.
- In some environments the jar collector service could lead to high CPU utilization at application startup. The agent now provides a configurable rate limiter, with a reasonable default, for processing jars detected in the application’s environment. See documentation here.
Support statement:
- New Relic recommends that you upgrade the agent regularly to ensure that you're getting the latest features and performance benefits. Additionally, older releases will no longer be supported when they reach end-of-life.
December 17, 2020
Java agent v6.3.0
Improvements
- Spring Webflux
- The Java agent now supports Spring Webflux versions 5.3+
- Added reactor-netty.errors.enabled configuration to allow disabling error reporting in Subscriber::onError.
- Scala 2.13
- The Java agent now provides support for Scala 2.13 and frameworks compiled with 2.13 Akka-http, Play
Fixes
- The netty-4.0.8 instrumentation would sometimes not start a Transaction on channelRead, potentially affecting instrumentation dependent on it including: Spring, Akka and Play
- Updated the Java agent’s Apache HttpClient dependency to 5.13
- Spring Webclient could report the wrong URL when multiple HTTP calls to several URLs occurred in parallel
November 17, 2020
Java agent v6.2.1
Fixes
- Fixes an issue where Spring-Webflux applications with endpoints returning Flux or empty content could become unresponsive
November 10, 2020
Java agent v6.2.0
New features
- Adds support for Akka Http Core 10.2.0. Thank you jobicarter for reporting this issue.
- Adds support for gRPC 1.30.0. Thank you jef for submitting this request and trying it out.
- Adds support for
mapandflatmapasync external calls in spring webflux framework. Previously the agent didn’t support client calls that occurred within themaporflatmapmethods within the spring webflux framework. External calls such asserviceBandserviceCin the example below would not get reported to New Relic:
return serviceA.getData() .map(service -> Response.builder().service(service).build()) .flatMap(serviceB::getData) .flatMap(serviceC::getData) .doOnNext(this::saveResponse);- Adds support for Play 2.16.3. Many thanks to junder31 for this contribution.
Improvements
- The agent now supports parsing cgroup ids that do not contain
docker-. Previously, the agent only supported docker cgroup ids that containeddocker-in them, such as1:cpu:/system.slice/docker-12345abcde.scope. The agent now supports parsing cgroup ids such as1:cpu:/system.slice/crio-12345abcde.scope.
Fixes
- Prevents the agent from logging a timeout exception when using New Relic Edge with Infinite Tracing but the agent hasn’t sent spans in a while.
- Prevents the agent from logging a socket exception when trying to retrieve cloud provider information in a non-cloud environment.
- Adds New Relic EU certifications if
ca_bundle_pathis specified. This fix also came with the reintroduction of theuse_private_sslconfig, which can be set to add our agent certs to the truststore.
Support statement:
- New Relic recommends that you upgrade the agent regularly to ensure that you're getting the latest features and performance benefits. Additionally, older releases will no longer be supported when they reach end-of-life.