Install AI monitoring

When you install AI monitoring, you're allowing our APM agents to collect metrics and event data from AI libraries and frameworks. To get started, you'll instrument your AI-powered app with an APM agent, then update configurations to adjust the agent's behavior.

A screenshot of the AI Responses page for AI Monitoring

Go to one.newrelic.com > All Capabilities > AI Monitoring > AI Responses

중요

When enabled, AI monitoring records a streaming copy of inputs and outputs sent to and from the models you choose to monitor, including any personal information contained therein. You're responsible for obtaining consent from your model users that their interactions may be recorded by a third party (New Relic) for the purpose of providing the AI monitoring feature.

Tell us about your app

Install the Java agent

Follow our standard install procedures in our Java installation doc, then return to this doc to configure the agent.

Configure the Java agent

To collect AI data, you need to set certain configurations to enable AI monitoring. We recommend applying these configurations in newrelic.yml, but if you have a more complex set up with multiple environments, you can configure with environment variables.

To learn about more AI monitoring configurations, see Customize the agent for AI monitoring.

View your data

Trigger an event in your system, wait a few minutes, then check New Relic for your data. You can find your AI data by going to one.newrelic.com > AI monitoring > AI responses.

View your AI data from AI responses in the UI

What's next?

With your AI-powered app instrumented, you can now: