From c1524c51f48f75406b5805830c1b2f8c0eb3d92e Mon Sep 17 00:00:00 2001 From: Ryan Kadri Date: Thu, 9 Jan 2025 12:06:00 -0500 Subject: [PATCH] docs: Add AI Monitoring Disclaimer --- .../configuration/go-agent-configuration.mdx | 6 ++++- .../java-agent-configuration-config-file.mdx | 4 ++++ .../configuration/net-agent-configuration.mdx | 6 ++++- .../nodejs-agent-configuration.mdx | 22 +++++++++++-------- .../python-agent-configuration.mdx | 12 ++++++---- .../ruby-agent-configuration.mdx | 5 ++++- src/install/ai-monitoring/intro.mdx | 4 ++++ 7 files changed, 43 insertions(+), 16 deletions(-) diff --git a/src/content/docs/apm/agents/go-agent/configuration/go-agent-configuration.mdx b/src/content/docs/apm/agents/go-agent/configuration/go-agent-configuration.mdx index 7650a17ff5d..31cffa8d160 100644 --- a/src/content/docs/apm/agents/go-agent/configuration/go-agent-configuration.mdx +++ b/src/content/docs/apm/agents/go-agent/configuration/go-agent-configuration.mdx @@ -1765,6 +1765,10 @@ This section includes Go agent configurations for setting up AI monitoring. If distributed tracing is disabled or high security mode is enabled, AI monitoring will not collect AI data. + + When enabled, AI Monitoring will record a streaming copy of inputs and outputs sent to and from the models you choose to monitor, including any personal information contained therein. When using AI Monitoring, you are 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. + + + + When enabled, AI Monitoring will record a streaming copy of inputs and outputs sent to and from the models you choose to monitor, including any personal information contained therein. When using AI Monitoring, you are 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. + + + When enabled, AI Monitoring will record a streaming copy of inputs and outputs sent to and from the models you choose to monitor, including any personal information contained therein. When using AI Monitoring, you are 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. + + ```xml ``` diff --git a/src/content/docs/apm/agents/nodejs-agent/installation-configuration/nodejs-agent-configuration.mdx b/src/content/docs/apm/agents/nodejs-agent/installation-configuration/nodejs-agent-configuration.mdx index b0eca063cbd..ea8c9cd5e96 100644 --- a/src/content/docs/apm/agents/nodejs-agent/installation-configuration/nodejs-agent-configuration.mdx +++ b/src/content/docs/apm/agents/nodejs-agent/installation-configuration/nodejs-agent-configuration.mdx @@ -927,6 +927,10 @@ This section includes Node.js agent configurations for setting up AI monitoring. You must enable [distributed tracing](/docs/apm/agents/nodejs-agent/installation-configuration/nodejs-agent-configuration/#dt-main) to capture AI data. It's turned on by default in Node.js agents 8.3.0 and higher. If you've enabled high security mode, AI monitoring will not work. + + When enabled, AI Monitoring will record a streaming copy of inputs and outputs sent to and from the models you choose to monitor, including any personal information contained therein. When using AI Monitoring, you are 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. + + - Prefix of attributes to include from all destinations. Allows `*` as wildcard at end. + Prefix of attributes to include from all destinations. Allows `*` as wildcard at end. For example, in the `config` file, this would include all parameters: ```js - attributes: { + attributes: { include: [ 'request.parameters.*' ] } ``` Using this example Express route definition and request URL: - + ```js app.get('/api/users/:id', myMiddleware, myController) ``` - + ```sh curl http://localhost:3000/api/users/abc123?id=true ``` - + The _route parameter_ is `id`, and has a value of `abc123`. This becomes the attribute `request.parameters.route.id: abc123` on the Transaction, root Segment, and Span. This example also has a _query parameter_ of `id`, which has a value of `true`. This would become the attribute `request.parameters.id: true` on the Transaction, root Segment, and Span. - + - Prefix of attributes to exclude from transaction events. Allows `*` as wildcard at end. + Prefix of attributes to exclude from transaction events. Allows `*` as wildcard at end. - Prefix of attributes to include in transaction events. Allows `*` as wildcard at end. + Prefix of attributes to include in transaction events. Allows `*` as wildcard at end. diff --git a/src/content/docs/apm/agents/python-agent/configuration/python-agent-configuration.mdx b/src/content/docs/apm/agents/python-agent/configuration/python-agent-configuration.mdx index 8689b3952fb..85f97ee9151 100644 --- a/src/content/docs/apm/agents/python-agent/configuration/python-agent-configuration.mdx +++ b/src/content/docs/apm/agents/python-agent/configuration/python-agent-configuration.mdx @@ -76,9 +76,9 @@ Here are detailed descriptions of each configuration method: Starting with Python 3.11 the newer `.toml` syntax for configuration was added to the [standard library](https://docs.python.org/3/library/tomllib.html). Agent version `10.3.0` added support for using this newer format. The configuration file uses Tom's Obvious Minimal Language `.toml` files. For more information, see the [official file format documentation](https://toml.io/en/). - + To use the `.toml` syntax, the configuration file's name must end with `.toml` to indicate the syntax type. The standard `pyproject.toml` may be used alongside configuration for other libraries, or you may use a more specific file like `newrelic.toml`. - + The basic structure should look like the following: ```ini @@ -1448,6 +1448,10 @@ This section includes Python agent configurations for setting up AI monitoring. You must enable [distributed tracing](/docs/apm/agents/nodejs-agent/installation-configuration/nodejs-agent-configuration/#dt-main) to capture AI data. It's turned on by default in Python agent versions 7.0.0.166 and higher. + + When enabled, AI Monitoring will record a streaming copy of inputs and outputs sent to and from the models you choose to monitor, including any personal information contained therein. When using AI Monitoring, you are 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. + + - + A case-insensitive list of label names to exclude when you enable including labels in logs. This attribute does not support wildcards or regex. When adding labels as attributes, the agent prefixes the keys with `tags.`. This prefix is NOT included when matching against the exclude filtering rules. @@ -5849,4 +5853,4 @@ To disable default instrumentation, provide a special `import-hook` section corr enabled = false ``` - \ No newline at end of file + diff --git a/src/content/docs/apm/agents/ruby-agent/configuration/ruby-agent-configuration.mdx b/src/content/docs/apm/agents/ruby-agent/configuration/ruby-agent-configuration.mdx index 96f814a134f..3b2f80e028e 100644 --- a/src/content/docs/apm/agents/ruby-agent/configuration/ruby-agent-configuration.mdx +++ b/src/content/docs/apm/agents/ruby-agent/configuration/ruby-agent-configuration.mdx @@ -1020,6 +1020,9 @@ Valid values (ordered lowest to highest): This section includes Ruby agent configurations for setting up AI monitoring. You need to enable distributed tracing to capture trace and feedback data. It is turned on by default in Ruby agents 8.0.0 and higher. + + When enabled, AI Monitoring will record a streaming copy of inputs and outputs sent to and from the models you choose to monitor, including any personal information contained therein. When using AI Monitoring, you are 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. + @@ -3374,4 +3377,4 @@ not be reported to New Relic. Each string in this array will be turned into a re If `true`, the agent automatically detects that it is running in a Pivotal Cloud Foundry environment. - \ No newline at end of file + diff --git a/src/install/ai-monitoring/intro.mdx b/src/install/ai-monitoring/intro.mdx index 47adb5b8181..d3a24dcb648 100644 --- a/src/install/ai-monitoring/intro.mdx +++ b/src/install/ai-monitoring/intro.mdx @@ -14,3 +14,7 @@ When you [install AI monitoring](/docs/ai-monitoring/intro-to-ai-monitoring), yo
Go to **[one.newrelic.com](https://one.newrelic.com) > All Capabilities > AI Monitoring > AI Responses**
+ + + When enabled, AI Monitoring will record a streaming copy of inputs and outputs sent to and from the models you choose to monitor, including any personal information contained therein. When using AI Monitoring, you are 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. +