μλ‘μ΄ κΈ°λ₯ λ° κ°μ μ¬ν:
- 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λ‘ μ κ·Έλ μ΄λν΄μΌ ν©λλ€.
μλ‘μ΄ κΈ°λ₯ λ° κ°μ μ¬ν:
- μμ΄μ νΈλ λ μ΄μ SSL μΈμ¦μ λ²λ€λ‘ μ 곡νμ§ μμΌλ©°, μ΄μ μ λ²λ€λ‘ μ 곡λ μΈμ¦μλ₯Ό μ¬μ©νλλ‘ μμ΄μ νΈλ₯Ό ꡬμ±ν
use_private_sslμ΅μ μ΄ μ κ±°λμμ΅λλ€. κΈ°λ³Έμ μΌλ‘ μμ΄μ νΈλ ca_bundle_path μ΅μ μ μ¬μ©νμ¬ λ€λ₯Έ νΈλ¬μ€νΈμ€ν μ΄λ₯Ό μ¬μ©νλλ‘ λͺ μμ μΌλ‘ ꡬμ±λμ§ μλ ν JVMμμ μ 곡νλ SSL νΈλ¬μ€νΈμ€ν μ΄λ₯Ό μ¬μ©ν©λλ€. μμΈν λ΄μ©μ SSL μΈμ¦μ ꡬμ±μ μ°Έμ‘°νμμμ€.
μμ μ¬ν:
- JAX-RS νμ 리μμ€λ₯Ό μ¬μ©ν λ μλͺ»λ νΈλμμ μ΄λ¦ μ§μ μ΄ λ°μν μ μλ λ¬Έμ λ₯Ό μμ ν©λλ€.
- Reactor Netty κ³μΈ‘ κ°μ λ° μμ μ¬ν.
μ ν μ¬μ μ ν 곡μ§
- μλ° 7 νΈνμ± μ§μ μ€λ¨
JVMμμ μ€ννλ κ³ κ°μκ² μ§μμ μΌλ‘ νμ νκ³ μλ‘μ΄ κΈ°λ₯μ ν¨μ¨μ μΌλ‘ μ 곡νκΈ° μν΄ μλ° 7 μ§μμ΄ μ€λ¨λμμΌλ©° μ΄κ²μ΄ νΈνλλ μμ΄μ νΈμ λ§μ§λ§ λ²μ μ΄ λ κ²μ λλ€.
μλ° 7μ μ€ν μ€μΈ κ²½μ°, μλ° μμ΄μ νΈ 6.5.0 μ΄ν λ²μ μ κ³μ μ¬μ©ν μ μμ΅λλ€.
μμΈν λ΄μ©μ Explorers Hub κ²μλ¬Όμ μ°Έμ‘°νμμμ€.
μ§μ§ μ±λͺ :
- λ΄λ λ¦μ μμ΄μ νΈλ₯Ό μ κΈ°μ μΌλ‘ μ κ·Έλ μ΄λνμ¬ μ΅μ κΈ°λ₯κ³Ό μ±λ₯ μ΄μ μ μ»μ κ²μ κΆμ₯ν©λλ€. λν, μ΄μ 릴리μ€λ μ§μ μ’ λ£ μμ μ λ μ΄μ μ§μλμ§ μμ΅λλ€.
Fixes
Fixes an issue that could cause some instrumentation modules (e.g. jax-rs-1.0) to have a WeaveViolation and not apply properly.
Fixes
Fixes an issue in 6.4.0 where spans would not get sent to Infinite Tracing.
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.
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
Fixes
- Fixes an issue where Spring-Webflux applications with endpoints returning Flux or empty content could become unresponsive
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.