• EnglishEspañol日本語한국어Português
  • Inicia sesiónComenzar ahora

Te ofrecemos esta traducción automática para facilitar la lectura.

In the event of any inconsistency between the English version and the translated version, the English versionwill take priority. Please visit this page for more information.

Crea una propuesta

Agente de infraestructura self-instrumentación

Desde la versión 1.24.0 del agente puede habilitar la autoinstrumentación del agente y monitor el rendimiento del agente usando New Relic APM. Esto le permitirá tener una mejor visión del comportamiento del agente, utilización de colas e integración de carga, entre otros, facilitando su configuración y resolución de problemas.

Importante

La autoinstrumentación del agente de infraestructura es una característica experimental. La telemetría instrumentada puede cambiar (métrica, transacción, evento personalizado). Recomendamos habilitarlo sólo para escenarios complejos de resolución de problemas. Se aplican precios estándar para la ingesta de datos.

La autoinstrumentación está deshabilitada por defecto. Para habilitarlo use la opción de configuración self_instrumentation:

self_instrumentation: "newrelic"

Una vez que self_instrumentation esté habilitado, el agente informará métrica sobre sí mismo y aparecerá una nueva aplicación New Relic infrastructure agent en la New Relic APM UI.

Al acceder a la aplicación New Relic infrastructure agent, verás datos de:

  • Ir en tiempo de ejecución (cpu, memoria...)
  • Transacción (samplers, integración, https post...)

Para ver métricas personalizadas sobre la utilización de la cola de eventos interna del agente y la carga de integración, puede importar el siguiente dashboard.

Sugerencia

Reemplace el marcador de posición ACCOUNT_ID con su número de cuenta en la carga útil json a continuación. Más información sobre la importación del panel

{
"name": "New Relic infrastructure agent instrumentation",
"description": "Overview of New Relic infrastructure agent",
"permissions": "PUBLIC_READ_WRITE",
"pages": [
{
"name": "Overview",
"description": null,
"widgets": [
{
"title": "Goroutines",
"layout": {
"column": 1,
"row": 1,
"width": 4,
"height": 3
},
"linkedEntityGuids": null,
"visualization": {
"id": "viz.line"
},
"rawConfiguration": {
"facet": {
"showOtherSeries": false
},
"legend": {
"enabled": true
},
"nrqlQueries": [
{
"accountId": ACCOUNT_ID,
"query": "SELECT average(newrelic.timeslice.value) AS `Go/Runtime/Goroutines` FROM Metric WHERE metricTimesliceName = 'Go/Runtime/Goroutines' AND appName = 'New Relic Infrastructure Agent' TIMESERIES"
}
],
"yAxisLeft": {
"zero": true
}
}
},
{
"title": "Agent Used Memory",
"layout": {
"column": 5,
"row": 1,
"width": 4,
"height": 3
},
"linkedEntityGuids": null,
"visualization": {
"id": "viz.line"
},
"rawConfiguration": {
"facet": {
"showOtherSeries": false
},
"legend": {
"enabled": true
},
"nrqlQueries": [
{
"accountId": ACCOUNT_ID,
"query": "FROM Metric SELECT average(apm.service.memory.physical) WHERE appName = 'New Relic Infrastructure agent' TIMESERIES"
}
],
"yAxisLeft": {
"zero": true
}
}
},
{
"title": "Integrations Payload Size",
"layout": {
"column": 9,
"row": 1,
"width": 4,
"height": 3
},
"linkedEntityGuids": null,
"visualization": {
"id": "viz.stacked-bar"
},
"rawConfiguration": {
"facet": {
"showOtherSeries": false
},
"legend": {
"enabled": true
},
"nrqlQueries": [
{
"accountId": ACCOUNT_ID,
"query": "FROM Transaction SELECT average(payload_size) facet name,integration_hostname,integration_port LIMIT MAX TIMESERIES"
}
]
}
},
{
"title": "Queue Event utilization",
"layout": {
"column": 1,
"row": 4,
"width": 4,
"height": 3
},
"linkedEntityGuids": null,
"visualization": {
"id": "viz.line"
},
"rawConfiguration": {
"legend": {
"enabled": true
},
"nrqlQueries": [
{
"accountId": ACCOUNT_ID,
"query": "FROM Metric SELECT percentile(agent.eventQueueUtilization,99,95,50) TIMESERIES "
}
],
"yAxisLeft": {
"zero": true
}
}
},
{
"title": "Queue Capacity",
"layout": {
"column": 5,
"row": 4,
"width": 4,
"height": 3
},
"linkedEntityGuids": null,
"visualization": {
"id": "viz.line"
},
"rawConfiguration": {
"legend": {
"enabled": true
},
"nrqlQueries": [
{
"accountId": ACCOUNT_ID,
"query": "FROM Metric SELECT max(agent.eventQueueCapacity) TIMESERIES"
}
],
"yAxisLeft": {
"zero": true
}
}
},
{
"title": "postEventsNum",
"layout": {
"column": 9,
"row": 4,
"width": 4,
"height": 3
},
"linkedEntityGuids": null,
"visualization": {
"id": "viz.line"
},
"rawConfiguration": {
"legend": {
"enabled": true
},
"nrqlQueries": [
{
"accountId": ACCOUNT_ID,
"query": "FROM Metric SELECT max(agent.postEventsNum) TIMESERIES"
}
],
"yAxisLeft": {
"zero": true
}
}
},
{
"title": "Transactions",
"layout": {
"column": 1,
"row": 7,
"width": 4,
"height": 3
},
"linkedEntityGuids": null,
"visualization": {
"id": "viz.line"
},
"rawConfiguration": {
"facet": {
"showOtherSeries": false
},
"legend": {
"enabled": true
},
"nrqlQueries": [
{
"accountId": ACCOUNT_ID,
"query": "FROM Transaction SELECT average(duration) WHERE appName = 'New Relic Infrastructure agent' FACET name TIMESERIES "
}
],
"yAxisLeft": {
"zero": true
}
}
},
{
"title": "Transaction Errors",
"layout": {
"column": 5,
"row": 7,
"width": 4,
"height": 3
},
"linkedEntityGuids": null,
"visualization": {
"id": "viz.line"
},
"rawConfiguration": {
"legend": {
"enabled": true
},
"nrqlQueries": [
{
"accountId": ACCOUNT_ID,
"query": "FROM TransactionError SELECT count(*) TIMESERIES"
}
],
"yAxisLeft": {
"zero": true
}
}
}
]
}
]
}
Copyright © 2024 New Relic Inc.

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