Skip to content

Commit f337d80

Browse files
Merge pull request #20159 from newrelic/daily-merge/07-03-25-morning
Daily merge/07 03 25 morning
2 parents 4f25190 + f166275 commit f337d80

File tree

39 files changed

+1783
-315
lines changed

39 files changed

+1783
-315
lines changed
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
---
2+
subject: 'Python agent'
3+
releaseDate: '2025-03-06'
4+
version: 10.7.0
5+
downloadLink: 'https://pypi.python.org/pypi/newrelic'
6+
features: ['Add support for asynchronous AWS Bedrock LLM calls']
7+
bugs: ['Fix crash in aiomysql instrumentation', 'Fix segfaults with greenlets']
8+
---
9+
10+
## Notes
11+
12+
This release of the Python agent adds support for asynchronous AWS Bedrock LLM calls in [aioboto3](https://pypi.org/project/aioboto3/), a fix for a segfault with [greenlet](https://pypi.org/project/greenlet/)s, a fixed a crash in [aiomysql](https://pypi.org/project/aiomysql/) instrumentation, and reformatted the codebase with [Ruff](https://docs.astral.sh/ruff/).
13+
14+
Install the agent using `easy_install/pip/distribute` via the [Python Package Index](https://pypi.python.org/pypi/newrelic) or download it directly from the [New Relic download site](https://download.newrelic.com/python_agent/release).
15+
16+
## New features
17+
18+
* Add support for asynchronous AWS Bedrock LLM calls
19+
20+
* Adds instrumentation to support calls to `invoke_model` and `invoke_model_with_response_stream` made on [aioboto3](https://pypi.org/project/aioboto3/) clients
21+
22+
23+
## Bug fixes
24+
25+
* Fix crash in `aiomysql` instrumentation
26+
27+
* Previously, using `aiomysql.sa` (the included `sqlalchemy` engine) with the agent would result in a crash due to a missing `__await__` method in the instrumentation. This has been corrected.
28+
29+
* Fix segfaults with greenlets
30+
31+
* Previously, a segfault occured when the maximum number of worker processes were called. This was due to a combination of using a weak reference for the agent's trace ID caching and greenlet's `greenlet.getcurrent()` retrieval function being called after the last greenlet has already been garbage collected. This fix allows the worker process to restart without the segfault occurring.
32+
33+
## Changes
34+
35+
* Reformatted entire codebase with Ruff
36+
37+
* Switched to [Ruff](https://docs.astral.sh/ruff/) linter and reformatted the entire codebase.
38+
39+
## Support statement
40+
41+
We recommend updating to the latest agent version as soon as it's available. If you can't upgrade to the latest version, update your agents to a version no more than 90 days old. Read [more](/docs/new-relic-solutions/new-relic-one/install-configure/update-new-relic-agent/) about keeping agents up to date.
42+
43+
See the New Relic Python agent [EOL policy](/docs/apm/agents/python-agent/getting-started/python-agent-eol-policy/) for information about agent releases and support dates.

src/content/whats-new/2025/03/.gitkeep

Whitespace-only changes.
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
---
2+
title: 'Change to count(*) in Dimensional Metrics Queries'
3+
summary: 'Upcoming change to count(*) in Dimensional Metrics Queries'
4+
releaseDate: '2025-03-07'
5+
---
6+
7+
We’re changing the behavior of **count(*)** when used in [dimensional metric](https://docs.newrelic.com/docs/data-apis/understand-data/new-relic-data-types/#dimensional-metrics) **queries** effective on **June 9th, 2025**. The goal of this change is to make the behavior of the **count(*)** function align with the behavior in other types of data.
8+
9+
* **For Alerts**: To determine if alert queries need to be modified or to make changes to alert thresholds, compare the results with the same query using **count(%)** in place of **count(*)**.
10+
* **For Queries and Dashboards**: If the query was intended to count the number of data points, use **datapointCount()**; otherwise, **no change is required**.
11+
12+
## What’s changing?
13+
14+
Currently, when executing a query such as **FROM Metric SELECT count(*)**, the result returned is the count of the number of data points processed by the query.
15+
16+
After the change, **count** will always return the sum of the count field, which is in line with how **count(*)** behaves when querying other data types.
17+
18+
For example, the `newrelic.goldenmetrics.apm.application.errorCount` metric is a dimensional metric that records the number of errors seen by an application. To know how many errors have been reported across all applications in the last hour, the following query can be used:
19+
20+
**FROM Metric SELECT count(*) WHERE metricName = 'newrelic.goldenmetrics.apm.application.errorCount' SINCE 1 hour ago**
21+
22+
To know how many times this metric was reported over the last hour, the **datapointCount()** function can be used:
23+
24+
**FROM Metric SELECT datapointCount() WHERE metricName = 'newrelic.goldenmetrics.apm.application.errorCount' SINCE 1 hour ago**
25+
26+
<Callout title="preview">
27+
This change only applies to queries using **count(*)** on the **metric event type**. All other uses of the count function with dimensional metrics, such as **count(metricName)**, were unambiguous and will continue to behave as they do today.
28+
</Callout>
29+
30+
## What action is needed?
31+
32+
* Review any usage of **count(*)** in dimensional metrics queries, dashboards, and alert conditions to determine if any changes are needed.
33+
* If the query was intended to count the number of data points, update the query to use the **datapointCount()** function instead of **count(*)**.
34+
* Otherwise, leave the query as-is and it will pick up the new semantics and return the sum of the count field for any matching metrics.
35+
36+
**For ad hoc queries and dashboards**: To identify queries or dashboards that are using **count(*)** against dimensional metric data, run a query like the following against the NrdbQuery event to get a list of uses:
37+
38+
**FROM NrdbQuery SELECT uniques(query), latest(source.name), latest(source.dashboardId), latest(user) WHERE query.eventType = 'Metric' AND query LIKE '%count(*)%' SINCE 1 day ago LIMIT MAX**
39+
40+
**For alert conditions**: To identify alerts using **count(*)**, use the **Alerts > Alert Conditions** page within the New Relic UI to view and search for New Relic Query Language (NRQL) queries associated with alert conditions. Then compare the query with the same query using **count(%)** either within the alert condition builder or the New Relic query builder to determine whether it’s needed to modify the query or make changes to alert thresholds.
41+
42+
## Additional Support
43+
44+
We understand that these changes may require some adjustments to your routine. Please know that we’re committed to supporting you throughout this process. If you have any questions or need further assistance, please don't hesitate to [reach out to our support team](https://docs.newrelic.com/docs/new-relic-solutions/solve-common-issues/find-help-get-support/).
Lines changed: 84 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,84 @@
1+
---
2+
title: Alert Intelligence Tool
3+
metaDescription: The Alert Intelligence Tool within New Relic's Agentic Integration enhances your ability to assess application health and performance through the agentic integration with our partners.
4+
tags:
5+
- GitHub Copilot Integration
6+
- New Relic AI
7+
- Agentic AI
8+
freshnessValidatedDate: never
9+
translationType: machine
10+
---
11+
12+
El Alert Intelligence Tool dentro de la integración de Agentic de New Relic mejora su capacidad para evaluar la salud y el rendimiento de la aplicación a través de la integración de Agentic con nuestros socios. Esta herramienta permite al usuario consultar sobre alertas y anomalías relacionadas con su aplicación, proporcionando tiempo real información valiosa y facilitando la resolución eficiente de problemas. Esta herramienta proporciona información detallada valiosa sobre el historial de alertas y los problemas actuales de su aplicación, lo que le permite identificar y abordar rápidamente cualquier problema que pueda surgir, cerciorando una experiencia de usuario fluida y confiable.
13+
14+
Su acceso a la plataforma New Relic le otorga una visibilidad integral de todos los datos relacionados con su aplicación.
15+
16+
### alerta Inteligencia característica [#features]
17+
18+
El Alert Intelligence Tool ofrece una gama de características para ayudarte a monitorear y analizar el rendimiento de tu aplicación:
19+
20+
* **Reporte agregado**: proporciona un resumen completo de las principales alertas métricas directamente en la experiencia de chat de su agente asociado preferido, como:
21+
22+
* **Vulnerabilidades de seguridad:** Identificación de nuevas vulnerabilidades de seguridad detectadas en el periodo de tiempo monitoreado.
23+
* **Problemas de log:** detección de errores, advertencias u otros problemas relacionados con el log.
24+
* **Información de seguimiento:** datos de seguimiento detallados para un análisis en profundidad.
25+
* **Señales doradas:** alertas que indican valores anómalos en latencia, tráfico, errores o saturación.
26+
* **alertas umbral:** notificación de alertas que superan el umbral predefinido.
27+
* **Reporte de errores:** completo rastreo de errores y capacidades de generación de reportes.
28+
* **Enlaces directos:** Proporciona enlaces directos a New Relic para una mayor investigación de cualquier problema descubierto, lo que permite obtener información valiosa y análisis más profundos.
29+
30+
* **Análisis de alertas**: ofrece un análisis detallado del historial de alertas, incluido el tipo de alerta, la gravedad y cualquier problema encontrado.
31+
32+
### Emplee la inteligencia de alerta [#use]
33+
34+
**Prerrequisitos:**
35+
36+
* Cerciorar de habilitar [New Relic AI](/docs/new-relic-solutions/new-relic-one/core-concepts/new-relic-ai/#enable) y configurado [las alertas](/docs/alerts/overview/).
37+
38+
**Para emplear la inteligencia de alerta:**
39+
40+
<table>
41+
<thead>
42+
<tr>
43+
<th>
44+
Acción
45+
</th>
46+
47+
<th>
48+
Ejemplo de símbolo
49+
</th>
50+
</tr>
51+
</thead>
52+
53+
<tbody>
54+
<tr>
55+
<td>
56+
Para generar un reporte de inteligencia de alerta
57+
</td>
58+
59+
<td>
60+
`@newrelic I just got paged by an alert? What happened`
61+
</td>
62+
</tr>
63+
64+
<tr>
65+
<td>
66+
Para analizar una alerta específica
67+
</td>
68+
69+
<td>
70+
`@newrelic analyze alert <alert_id>`
71+
</td>
72+
</tr>
73+
74+
<tr>
75+
<td>
76+
Centrar en un servicio o periodo de tiempo específico
77+
</td>
78+
79+
<td>
80+
`@newrelic check for recent alerts related to <service_name> in the past <time frame>`
81+
</td>
82+
</tr>
83+
</tbody>
84+
</table>
Lines changed: 85 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,85 @@
1+
---
2+
title: Herramienta de inteligencia de cambios
3+
metaDescription: 'The Change Intelligence tool in New Relic provides detailed insights into your application''s performance and stability following each new deployment, enabling you to swiftly identify and address any issues that may arise, ensuring a smooth and reliable user experience.'
4+
tags:
5+
- GitHub Copilot Integration
6+
- New Relic AI
7+
- Agentic AI
8+
freshnessValidatedDate: never
9+
translationType: machine
10+
---
11+
12+
La herramienta de inteligencia de cambio dentro de la integración Agentic de New Relic mejora su capacidad para evaluar el rendimiento de la aplicación a través de la integración Agentic con nuestros socios. Esta herramienta permite al usuario consultar sobre el rendimiento métrico y el comportamiento del sistema luego de la aplicación desplegable para proporcionar tiempo real información valiosa y facilitar un análisis post-despliegue eficiente. Esta herramienta proporciona información detallada y valiosa sobre el rendimiento y la estabilidad de su aplicación luego de cada nuevo despliegue. Esto le permite identificar y abordar rápidamente cualquier problema que pueda surgir, garantizando una experiencia de usuario fluida y confiable.
13+
14+
Su acceso a la plataforma New Relic le otorga visibilidad integral de todos los datos relacionados con su aplicación.
15+
16+
### Característica de Inteligencia de Cambio [#features]
17+
18+
La herramienta Change Intelligence ofrece una gama de características para ayudarlo a monitorear y analizar el rendimiento post-despliegue de su aplicación:
19+
20+
* Seguimiento del rendimiento de la aplicación post-despliegue.
21+
22+
* **Reporte agregado**: proporciona un resumen completo de las métricas de rendimiento clave directamente dentro de su experiencia nativa de GitHub Copilot, como:
23+
24+
* **Vulnerabilidades de seguridad**: Identificación de nuevas vulnerabilidades de seguridad detectadas desde la última implementación.
25+
* **Problemas de log**: detección de errores, advertencias u otros problemas relacionados con el log.
26+
* **Información de seguimiento**: datos de seguimiento detallados para un análisis en profundidad.
27+
* **Señales doradas**: alertas que indican valores anómalos en latencia, tráfico, errores o saturación.
28+
* **Threshold de alertas**: notificación de alertas que exceden el umbral predefinido.
29+
* **Reporte de errores**: completo rastreo de errores y capacidades de generación de reportes.
30+
31+
* **Enlaces directos**: Proporciona enlaces directos a New Relic para una mayor investigación de cualquier problema descubierto, lo que permite obtener información valiosa y análisis más profundos.
32+
33+
* **Análisis de implementación**: ofrece un análisis detallado del proceso de implementación, incluido el número de implementación, el estado y cualquier problema encontrado.
34+
35+
### Emplee la inteligencia del cambio [#use]
36+
37+
**Prerrequisitos:**
38+
39+
* Cerciórate de habilitar tanto [New Relic AI](/docs/new-relic-solutions/new-relic-one/core-concepts/new-relic-ai/#enable) como [el seguimiento de cambios](/docs/change-tracking/change-tracking-introduction/).
40+
41+
<Callout variant="tip" title="consejo">
42+
Para obtener más información sobre la integración de la función de seguimiento de cambios de New Relic con GitHub Actions, consulta [Seguimiento de cambios con Github Actions](/docs/change-tracking/ci-cd/change-tracking-github-actions).
43+
</Callout>
44+
45+
**Para emplear la inteligencia de cambio:**
46+
47+
<table>
48+
<thead>
49+
<tr>
50+
<th>
51+
Acción
52+
</th>
53+
54+
<th>
55+
Ejemplo de símbolo
56+
</th>
57+
</tr>
58+
</thead>
59+
60+
<tbody>
61+
<tr>
62+
<td>
63+
Para generar un reporte de inteligencia de cambios
64+
</td>
65+
66+
<td>
67+
`@newrelic how did my deployment for <entity_name> go?`
68+
</td>
69+
</tr>
70+
71+
<tr>
72+
<td>
73+
Para analizar un despliegue específico
74+
</td>
75+
76+
<td>
77+
`@newrelic analyze deployment <deployment_number>`
78+
79+
o
80+
81+
`<deployment_number>`
82+
</td>
83+
</tr>
84+
</tbody>
85+
</table>
Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
---
2+
title: Agente de New Relic para GitHub Copilot
3+
metaDescription: 'The New Relic agent for GitHub Copilot extension provides intelligent insights and guidance tailored to optimize application performance, monitor infrastructure, and manage deployments—all seamlessly integrated within GitHub Copilot.'
4+
tags:
5+
- GitHub Copilot Integration
6+
- New Relic AI
7+
- Agentic AI
8+
freshnessValidatedDate: never
9+
translationType: machine
10+
---
11+
12+
El agente New Relic para la extensión GitHub Copilot proporciona información valiosa inteligente y orientación personalizada para optimizar el rendimiento de la aplicación, monitorear la infraestructura y gestionar el despliegue, todo perfectamente integrado dentro de GitHub Copilot.
13+
14+
Esta guía lo guiará a través del proceso de instalación y uso del agente New Relic dentro de la extensión GitHub Copilot.
15+
16+
## Instalar el agente de New Relic en GitHub Copilot [#install-new-relic-agent]
17+
18+
### Requisitos previos [#prerequisites]
19+
20+
Antes de comenzar, cerciorar de que se cumplan los siguientes requisitos previos para garantizar un proceso de configuración sin problemas:
21+
22+
* Hay un IDE instalado en su sistema.
23+
* Tienes acceso a [GitHub Copilot](https://github.com/features/copilot).
24+
* La extensión GitHub Copilot está instalada en su IDE. Para obtener más información, consulte [la documentación de GitHub Copilot](https://docs.github.com/en/copilot/managing-copilot/configure-personal-settings/installing-the-github-copilot-extension-in-your-environment).
25+
* La [política de extensión GitHub Copilot](https://docs.github.com/en/enterprise-cloud@latest/copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-policies-for-copilot-in-your-organization#setting-a-policy-for-github-copilot-extensions-in-your-organization) está habilitada para su organización.
26+
27+
<Callout variant="tip" title="consejo">
28+
Si desea restringir el acceso a GitHub Copilot para ciertos roles, configure los ajustes en GitHub. Para restringir el acceso a New Relic AI para roles específicos o empleados, puede emplear el Control de acceso basado en roles (RBAC) de New Relic. Para obtener más información, consulte [Administración de usuarios de New Relic](/docs/accounts/accounts-billing/new-relic-one-user-management/user-management-concepts/#understand-concepts).
29+
</Callout>
30+
31+
**Para instalar el agente de New Relic en GitHub Copilot:**
32+
33+
1. En GitHub MarketPlace, vaya a [New Relic agente](https://github.com/marketplace/newrelic-copilot-extension).
34+
2. Haga clic en **Add &gt; Install it for free**.
35+
36+
Una vez instalado el agente, puedes usarlo dentro de la extensión GitHub Chat en tu IDE. Para obtener más información, consulta [el uso del nuevo agente Relic en Copilot](#communicate-with-new-relic-agent-in-gitHub-copilot).
37+
38+
## Comunicar con el agente de New Relic en GitHub Copilot [#communicate-with-new-relic-agent-in-gitHub-copilot]
39+
40+
El agente de New Relic dentro de Github Copilot puede ayudar con una variedad de tareas y ofrecer información valiosa. Para interactuar con el agente de New Relic, en el cuadro de entrada de chat de Copilot, escribe `@newrelic`.
41+
42+
### Iniciar sesión en New Relic agente [#sign-in]
43+
44+
Cuando inicie una conversación por primera vez con un agente de New Relic, se le pedirá que inicie sesión. Siga las instrucciones para completar el proceso de inicio de sesión.
45+
46+
### Estructura del mensaje de chat [#chat-message-structure]
47+
48+
Para interactuar con el agente de New Relic, ingresa tu símbolo de la siguiente manera:
49+
50+
`@newrelic <your message>`
51+
52+
Dónde:
53+
54+
* `@newrelic`: interacción con el agente New Relic.
55+
* `<your message>`:Acción a presentar al agente para su procesamiento.

0 commit comments

Comments
 (0)