newrelic / newrelic-java-agent

The New Relic Java agent
Apache License 2.0
202 stars 143 forks source link

Instrumentation is not working for Pekko Http Server #1897

Closed pjadav closed 5 months ago

pjadav commented 5 months ago

New relic agent is not reporting accurate metrics for pekko http server.

Description

We have introduced Pekko http instead of Akka and used below version in our API server pekko-http -> 1.0.1 pekko-actor-typed -> 1.0.2

We are using new relic java agent version 8.11.1 and adding it to execution as java agent -javaagent:/usr/local/newrelic/newrelic.jar

Expected Behavior

We expect new relic agent to report transaction under web and with expected response time but transactions are reported under RestWebService under non-web traffic.

Troubleshooting or NR Diag results

We dont see inconsistency logs after moving to pekko

Steps to Reproduce

step-1 create a apache pekko server with above mentioned versions step-2 add new relic java agent and deploy app as container

Your Environment

Additional context

workato-integration[bot] commented 5 months ago

https://new-relic.atlassian.net/browse/NR-270834

meiao commented 5 months ago

Pekko Http is not supported at this time. The release notes for 8.11.0 explicitly mention this.

Support for Apache Pekko (i.e. the pekko-actor library). Support for Pekko HTTP coming soon. https://github.com/newrelic/newrelic-java-agent/pull/1811

We are planning support for the next release.