Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Slow SQL traces not received in the expected section from New Relic Java agent #1937

Open
devleifr opened this issue Jun 11, 2024 · 1 comment
Labels
bug Something isn't working as designed/intended

Comments

@devleifr
Copy link

Description

I'm experiencing an issue with the New Relic Java agent where Slow SQL traces are not shown in the New Relic dashboard. I can see these SQL-connected traces under Monitor > Transactions and they are categorized under the .other segment.

Additionally, I did not find any enable/disable option for Slow SQL traces like those available in other language agents.

Expected Behavior

Slow SQL traces should appear in the New Relic dashboard under the Monitor > Databases > Slow SQL traces section.

Troubleshooting

The Slow SQL traces section is empty:
Screenshot from 2024-06-11 16-31-30

SQL-connected traces under Monitor > Transactions:

Screenshot from 2024-06-11 17-18-42

Screenshot from 2024-06-11 17-18-08

Screenshot from 2024-06-11 16-54-28

Screenshot from 2024-06-11 17-17-16
Screenshot from 2024-06-11 17-17-27

Steps to Reproduce

Specify your license key under the NEW_RELIC_LICENSE_KEY variable in docker-compose.yml.
Then run docker compose up --build.

java_nr_sql_repro.zip

Environment Details:

  • Java version: 16
  • New Relic agent version: 8.12.0
  • PostgreSQL driver version: 42.7.3
  • PostgreSQL: 13.1
@devleifr devleifr added the bug Something isn't working as designed/intended label Jun 11, 2024
@workato-integration
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working as designed/intended
Projects
Development

No branches or pull requests

1 participant