• English日本語한국어
  • Log inStart now

OpenAI integration

With our OpenAI integration, you have the ability to seamlessly monitor all OpenAI queries. By adding just two lines of code, your team can gain access to key performance metrics such as cost, response time, rate limits, error rates, chat history, and sample inputs and outputs. Our OpenAI integration provides real-time metrics to help businesses optimize usage, reduce costs, and achieve better results.

This guide will show you how to integrate your OpenAI applications so you can start monitoring your data.

EU account users

If you're using an EU account, you should set your EVENT_CLIENT_HOST as follows:

export EVENT_CLIENT_HOST="insights-collector.eu01.nr-data.net"
import os
os.environ["EVENT_CLIENT_HOST"] = "insights-collector.eu01.nr-data.net"

Find your data

After you've integrated OpenAI, follow these steps to find observability data:

  1. From one.newrelic.com.
  2. Click on Model Performance.
  3. Search under Applications.

See how it works

If you're struggling with these instructions, we encourage you to watch this demonstration video.

Copyright © 2024 New Relic Inc.

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