Skip to content

Database query time metrics - MongoDB - Values are 1/1000 starting with 10.18.0.8 #874

@ppp0

Description

@ppp0

Description

After upgrading agent to 10.18.0.8 we noticed that query time metrics for mongodb are shrunk by 1/1000 suggesting a different conversion to milliseconds along the road. Same behaviour observed with v10.19.0.9

Steps to Reproduce

  • Install newrelic agent 10.17.0.7
  • Run some php code that hits a mongodb database
  • Query time is shown in milliseconds

image

  • Upgrade newrelic agent to 10.18.0.8
  • Run same php code
  • Query time is shown as nanoseconds
    image

Expected Behavior

No change in metrics expected

Relevant Logs / Console output

n/a

Your Environment

  • Kubernetes 1.28
  • Pods based on php:8.1.24-fpm-bookworm (web and non-web)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions