You can use the OpenTelemetry Collector Contribution for Oracle Database to monitor your instance. The OpenTelemetry Collector Contribution is a community-supported project that provides a way to collect telemetry data from Oracle Database and send it to New Relic.
By default, the OpenTelemetry Collector Contribution collects limited metrics from Oracle Database. To send query performance, wait-time, session, and other advanced metrics, you'll need to configure the OpenTelemetry Collector Contribution. This guide shows you how to configure it to collect advanced metrics from Oracle Database and send them to New Relic.
Prerequisites
- OpenTelemetry Collector Contrib (
otelcol-contrib) installed and configured on your system. You can download the latest release from the OpenTelemetry Collector releases page.
Enable UI metrics
You can enrich your New Relic platform experience by adding and enabling metrics in your otelcol-contrib configuration file. Using the configuration provided in this section, you can populate data for the following pages in the New Relic platform:
Overview
Query performance
Wait events
Sessions
Restart the OpenTelemetry Collector
Restart the OpenTelemetry Collector to apply the configuration changes:
$sudo systemctl restart otelcol-contrib