• Log inStart now

OpenTelemetry in the UI: Database page

After you've sent us your OpenTelemetry data and opened your service (entity) in the UI, click Databases to learn about the performance of the database queries your service is making. You can see which database calls (e.g., SELECT operation on the ads table) are taking the most time in total or on average, or have the most throughput. Then you can investigate performance of an individual call and find traces that involve it.

Required attributes

With OpenTelemetry, we rely on SpanKind and the presence of the db.system attribute to identify spans representing client usage of a database.

For your OpenTelemetry data to appear in the Databases page, make sure it has the following attributes, in accordance with the OTel semantic conventions:

UI area

Attribute

Top database calls

  • span.kind = client or producer
  • db.system
  • Facets by span name

Top databases (by query time)

  • span.kind = client or producer
  • db.system
  • Facets by db.system

Top databases (by throughput)

  • span.kind = client or producer
  • db.system
  • Facets by db.system

To learn about OpenTelemetry in other UI pages, see the UI overview.

Copyright © 2023 New Relic Inc.

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.