From 7f4277db614df2af94c8d8a696e1a4a796ef004b Mon Sep 17 00:00:00 2001 From: svc-docs-eng-opensource-bot Date: Fri, 24 Jan 2025 12:04:34 +0000 Subject: [PATCH] chore: add translations --- .../configuration/net-agent-configuration.mdx | 92 +- .../snmp-performance-monitoring.mdx | 105 +-- .../install-serverless-azure-monitoring.mdx | 2 +- .../export-import-dashboards-using-api.mdx | 24 +- .../examples/manage-accounts-nerdgraph.mdx | 25 +- .../manage-live-chart-urls-via-api.mdx | 8 +- .../mobile-monitoring-config-nerdgraph.mdx | 24 +- ...dgraph-cloud-integrations-api-tutorial.mdx | 395 ++++----- .../nerdgraph-concurrency-tutorial.mdx | 119 +-- .../examples/nerdgraph-dashboards.mdx | 26 +- .../nerdgraph-synthetics-tutorial.mdx | 783 +++++++++--------- .../change-tracking-view-analyze.mdx | 62 ++ .../snmp-performance-monitoring.mdx | 103 +-- .../apis/intro-apis/new-relic-api-keys.mdx | 4 +- .../export-import-dashboards-using-api.mdx | 24 +- .../examples/manage-accounts-nerdgraph.mdx | 25 +- .../manage-live-chart-urls-via-api.mdx | 8 +- .../mobile-monitoring-config-nerdgraph.mdx | 24 +- ...dgraph-cloud-integrations-api-tutorial.mdx | 395 ++++----- .../nerdgraph-concurrency-tutorial.mdx | 119 +-- .../examples/nerdgraph-dashboards.mdx | 26 +- .../nerdgraph-synthetics-tutorial.mdx | 783 +++++++++--------- .../change-tracking-view-analyze.mdx | 237 ++---- .../snmp-performance-monitoring.mdx | 105 +-- .../apis/intro-apis/new-relic-api-keys.mdx | 4 +- .../export-import-dashboards-using-api.mdx | 24 +- .../examples/manage-accounts-nerdgraph.mdx | 25 +- .../manage-live-chart-urls-via-api.mdx | 8 +- .../mobile-monitoring-config-nerdgraph.mdx | 24 +- ...dgraph-cloud-integrations-api-tutorial.mdx | 395 ++++----- .../nerdgraph-concurrency-tutorial.mdx | 119 +-- .../examples/nerdgraph-dashboards.mdx | 26 +- .../nerdgraph-synthetics-tutorial.mdx | 783 +++++++++--------- .../change-tracking-view-analyze.mdx | 249 ++---- .../snmp-performance-monitoring.mdx | 105 +-- 35 files changed, 2350 insertions(+), 2930 deletions(-) diff --git a/src/i18n/content/es/docs/apm/agents/net-agent/configuration/net-agent-configuration.mdx b/src/i18n/content/es/docs/apm/agents/net-agent/configuration/net-agent-configuration.mdx index 5e7bc4e7a37..2dde74234fb 100644 --- a/src/i18n/content/es/docs/apm/agents/net-agent/configuration/net-agent-configuration.mdx +++ b/src/i18n/content/es/docs/apm/agents/net-agent/configuration/net-agent-configuration.mdx @@ -254,6 +254,7 @@ NEW_RELIC_FORCE_NEW_TRANSACTION_ON_NEW_THREAD=true NEW_RELIC_CODE_LEVEL_METRICS_ENABLED=true NEW_RELIC_AI_MONITORING_ENABLED=true NEW_RELIC_AI_MONITORING_RECORD_CONTENT_ENABLED=true +NEW_RELIC_CLOUD_AWS_ACCOUNT_ID=123456789012 ``` @@ -980,7 +981,7 @@ El elemento `proxy` admite el siguiente atributo: ### Elemento log [#log] -El elemento `log` es hijo del elemento `configuration` . El elemento `log` configura el logging de New Relic. El agente genera su propio archivo de registro para mantener su información de logging separada del registro de su aplicación. +The `log` element is a child of the `configuration` element. The `log` element configures New Relic's logging. The agent generates its own log file to keep its logging information separate from your application's logs. ```xml + + + + + + + + + + + + + + + +
+ Tipo + + Booleano +
+ Por defecto + + `true` +
+ + When set to `false`, all logging is disabled. Alternatively, set the `NEW_RELIC_LOG_ENABLED` environment variable in the application's environment. +
+ @@ -1067,7 +1096,7 @@ El elemento `log` admite el siguiente atributo:
- Registra todos los datos enviados y recibidos de New Relic tanto en un archivo de registro auditlog como en el archivo de registro estándar. + Records all data sent to and received from New Relic in both an auditlog log file and the standard log file. Ignored if `enabled` is set to `false` or `console` is set to `true`.
@@ -1095,35 +1124,9 @@ El elemento `log` admite el siguiente atributo: - Enviar mensaje de log a la consola, además del archivo de log. Alternativamente, configure la variable de entorno `NEW_RELIC_LOG_CONSOLE` en el entorno de la aplicación. - - - - - - - + Send log messages to the console instead of the log file (in agent versions prior to 10.35.0, logs are sent to both the console and the log file). Ignored if `enabled` is set to `false`. Alternatively, set the `NEW_RELIC_LOG_CONSOLE` environment variable in the application's environment. - - - - - - - - - -
- Tipo - - Booleano -
- Por defecto - - `true` -
- - Si está deshabilitado, no se intenta ningún logging. Diseñado para sistemas de archivos de solo lectura. Alternativamente, configure la variable de entorno `NEW_RELIC_LOG_ENABLED` en el entorno de la aplicación. + Console logging in the profiler is limited to `info` level and higher due to performance considerations.
@@ -1892,6 +1895,7 @@ Utilice estas opciones para habilitar, deshabilitar y configurar la característ * [Capturar encabezados de solicitud HTTP](#capture_http_request_headers) * [Logging de aplicaciones](#application_logging) * [Nivel de código métrico](#code_level_metrics) +* [Cloud provider metadata](#cloud) * [Monitoreo de IA](#ai_monitoring) ### Grupos de aplicaciones [#include\_exclude\_apps][#include_exclude_apps] @@ -3408,6 +3412,34 @@ Esto también se puede configurar mediante la variable de entorno: NEW_RELIC_CODE_LEVEL_METRICS_ENABLED=true ``` +### Cloud provider metadata [#cloud] + +The `cloud` element is a child of the `configuration` element. Use `cloud` to configure cloud provider metadata for your application. + +El elemento `cloud` admite los siguientes subelementos: + + + + Use this sub-element to configure AWS account ID for your application. + + + Note that this configuration is not normally required, as the agent will automatically detect the AWS account ID at runtime. If automatic detetction is not working, the agent will fall back to the value configured here. + + + ```xml + + + + ``` + + Esto también se puede configurar mediante la variable de entorno: + + ```ini + NEW_RELIC_CLOUD_AWS_ACCOUNT_ID=123456789012 + ``` + + + ### Monitoreo de IA [#ai\_monitoring][#ai_monitoring] De forma predeterminada, el monitoreo de IA está deshabilitado. Para habilitar el monitoreo de IA, establezca el atributo `enabled` en `true` en el elemento `aiMonitoring` . El elemento `aiMonitoring` es hijo del elemento `configuration` . diff --git a/src/i18n/content/es/docs/network-performance-monitoring/setup-performance-monitoring/snmp-performance-monitoring.mdx b/src/i18n/content/es/docs/network-performance-monitoring/setup-performance-monitoring/snmp-performance-monitoring.mdx index 1899ebf0f32..e643543292d 100644 --- a/src/i18n/content/es/docs/network-performance-monitoring/setup-performance-monitoring/snmp-performance-monitoring.mdx +++ b/src/i18n/content/es/docs/network-performance-monitoring/setup-performance-monitoring/snmp-performance-monitoring.mdx @@ -17,40 +17,26 @@ Puede utilizar nuestro proceso de instalación guiada para instalar el agente de Antes de poder comenzar, deberá [registrarse para obtener una cuenta New Relic](https://newrelic.com/signup). Si elige instalar el agente manualmente, también necesitará: * Una [identificación de cuenta](/docs/accounts/accounts-billing/account-setup/account-id) de New Relic. - -* Una New Relic - - - - . +* Una New Relic . Se recomienda implementar el agente de monitoreo SNMP como contenedor ya sea para Docker o Podman. Si lo necesita, también puede instalarlo como un servicio baremetal en Linux. - + Recomendamos utilizar un contenedor docker para desplegar el agente de monitoreo SNMP. Para usarlo, necesitas: * Docker instalado en una de las [plataformas Linux compatibles con Docker](https://docs.docker.com/engine/install/#supported-platforms). * Posibilidad de lanzar un nuevo contenedor a través de línea de comando. - + Si está empleando un contenedor Podman para lanzar el agente, necesita: * Podman instalado en una de las [plataformas Linux soportadas por Podman](https://podman.io/docs/installation#installing-on-linux) * Capacidad para lanzar un nuevo contenedor a través de línea de comando - + Si utiliza Linux para instalar el agente como servicio, necesita: * Acceso SSH al host @@ -63,7 +49,7 @@ Se recomienda implementar el agente de monitoreo SNMP como contenedor ya sea par * Debian 12 (ratón de biblioteca) * Debian 11 (Diana) * Debian 10 (Buster) - * RedHat Enterprise Linux 9 + * RedHat Enterprise Linux 9 hasta 9.5 * Ubuntu 20.04 (LTS focal) * Ubuntu 22.04 (Jammy LTS) * Ubuntu 23.04 (Lunar) @@ -79,10 +65,7 @@ Se recomienda implementar el agente de monitoreo SNMP como contenedor ya sea par También existen requisitos previos para su entorno de red y los propios dispositivos de red. - + Debe configurar los dispositivos de destino para aceptar el sondeo SNMP desde la dirección IP del host del agente. Puede encontrar algunos ejemplos de configuración SNMP básica aquí (esta no es una lista exhaustiva): * Cisco @@ -91,18 +74,13 @@ También existen requisitos previos para su entorno de red y los propios disposi * [NX-OS](https://www.cisco.com/c/en/us/td/docs/switches/datacenter/sw/4_2/nx-os/system_management/configuration/guide/sm_nx_os_cli/sm_9snmp.html#wp1056898) * Enebro - * [Sistema operativo Junos](https://www.juniper.net/documentation/us/en/software/junos/network-mgmt/topics/topic-map/configuring-basic-snmp.html) * Palo Alto - * [PAN-OS](https://docs.paloaltonetworks.com/pan-os/10-1/pan-os-web-interface-help/device/device-setup-operations/enable-snmp-monitoring.html) - + Verifique los [requisitos previos de seguridad de la red para SNMP](/install/npm). @@ -111,10 +89,7 @@ También existen requisitos previos para su entorno de red y los propios disposi Nuestro Monitoreo de red contenedor admite todas las versiones principales de SNMP (v1, v2c y v3), incluidas Traps e Informs. Además, SNMP v3 admite las siguientes configuraciones de autenticación y privacidad: - + @@ -278,51 +253,33 @@ Nuestro Monitoreo de red contenedor admite todas las versiones principales de SN ## Configurar el monitoreo de datos SNMP en New Relic [#setup-snmp-monitoring] -
+
- - 1. Ir a **[one.newrelic.com > All capabilities](https://one.newrelic.com/all-capabilities) > Add more data** + + 1. Ir a **[one.newrelic.com > All capabilities](https://one.newrelic.com/all-capabilities) > Add more data** 2. Desplácese hacia abajo hasta que vea **Network** y haga clic en **SNMP**. 3. Siga los pasos descritos en el proceso de instalación guiada. Puede emplear Docker, Podman o Linux. - + Agregar datos SNMP - SNMP guided setup + SNMP guided setup
- **[one.newrelic.com > All capabilities](https://one.newrelic.com/ll-capabilities) > Add more data > Network > SNMP** para configurar el monitoreo de datos SNMP. + **[one.newrelic.com > All capabilities](https://one.newrelic.com/ll-capabilities) > Add more data > Network > SNMP** para configurar el monitoreo de datos SNMP.
- 4. Investigue los datos de rendimiento de su red en la New Relic UI. + 4. Investigue los datos de rendimiento de su red en la New Relic UI.
- + Antes de leer sobre la instalación manual del agente SNMP, considere utilizar nuestro proceso de instalación guiada para evitar errores: - + Agregar datos SNMP @@ -346,13 +303,10 @@ Nuestro Monitoreo de red contenedor admite todas las versiones principales de SN 1. En un host Linux con Docker instalado, descargue la imagen **ktranslate** ejecutando una de las siguientes opciones: * [Centro Docker](https://hub.docker.com/): - ```shell docker pull kentik/ktranslate:v2 ``` - * [Quay.io](https://quay.io/): - ```shell docker pull quay.io/kentik/ktranslate:v2 ``` @@ -366,7 +320,7 @@ Nuestro Monitoreo de red contenedor admite todas las versiones principales de SN docker rm -v $id ``` - 3. Edite el archivo `snmp-base.yaml` y defina los atributos `discovery.cidrs` y `discovery.default_communities` con los valores apropiados para su red. Recomendamos configurar `discovery.add_mibs: true` para automatizar la adición de todos los MIB descubiertos al atributo `global.mibs_enabled` . Además, recomendamos configurar `discovery.check_all_ips: true` para evitar problemas de detección en [dispositivos con posturas de seguridad estrictas](/docs/network-performance-monitoring/troubleshooting/snmp-discovery-no-devices). + 3. Edite el archivo `snmp-base.yaml` y defina los atributos `discovery.cidrs` y `discovery.default_communities` con los valores apropiados para su red. Recomendamos configurar `discovery.add_mibs: true` para automatizar la incorporación de todos los MIB detectados en el atributo `global.mibs_enabled` . Además, recomendamos configurar `discovery.check_all_ips: true` para evitar problemas de detección en [dispositivos con niveles de seguridad más estrictos](/docs/network-performance-monitoring/troubleshooting/snmp-discovery-no-devices). 4. Inicie el Monitoreo de red agente para sondear los dispositivos objetivo y escuchar mensajes de captura SNMP entrantes. Reemplace `$CONTAINER_SERVICE` con un nombre único para el contenedor y sustituya`$YOUR_NR_LICENSE_KEY` y `$YOUR_NR_ACCOUNT_ID` con sus valores: @@ -389,14 +343,13 @@ Nuestro Monitoreo de red contenedor admite todas las versiones principales de SN No es necesario ejecutar un agente dedicado para la recopilación de trampas, ya que todos los agentes de sondeo SNMP ejecutarán un oyente pasivo. De forma predeterminada, el contenedor escuchará en el puerto 162 (UDP) del host; pero puede cambiar el mapeo [del puerto publicado](https://docs.docker.com/network/#published-ports) en el comando de ejecución docker : `-p 162:1620/udp`. Si desea configurar un contenedor dedicado, puede seguir los pasos de [esta sección](/docs/network-performance-monitoring/setup-performance-monitoring/snmp-performance-monitoring/#optional-installation-for-snmp-traps). - 5. Investigue los datos de rendimiento de su red en la New Relic UI. + 5. Investigue los datos de rendimiento de su red en la New Relic UI. 1. En un host con Podman instalado, descargue la imagen **ktranslate** ejecutando el siguiente comando: * [Centro Docker](https://hub.docker.com/): - ```shell podman pull docker.io/kentik/ktranslate:v2 ``` @@ -410,7 +363,7 @@ Nuestro Monitoreo de red contenedor admite todas las versiones principales de SN podman rm -v $id ``` - 3. Edite el archivo `snmp-base.yaml` y defina los atributos `discovery.cidrs` y `discovery.default_communities` con los valores apropiados para su red. Recomendamos configurar `discovery.add_mibs: true` para automatizar la adición de todos los MIB descubiertos al atributo `global.mibs_enabled` . Además, recomendamos configurar `discovery.check_all_ips: true` para evitar problemas de detección en [dispositivos con posturas de seguridad estrictas](/docs/network-performance-monitoring/troubleshooting/snmp-discovery-no-devices). + 3. Edite el archivo `snmp-base.yaml` y defina los atributos `discovery.cidrs` y `discovery.default_communities` con los valores apropiados para su red. Recomendamos configurar `discovery.add_mibs: true` para automatizar la incorporación de todos los MIB detectados en el atributo `global.mibs_enabled` . Además, recomendamos configurar `discovery.check_all_ips: true` para evitar problemas de detección en [dispositivos con niveles de seguridad más estrictos](/docs/network-performance-monitoring/troubleshooting/snmp-discovery-no-devices). 4. El contenedor Rootless Podman no puede vincular a puertos inferiores a 1024. Para manejar la redirección de paquetes para mensajes de captura, deberá crear una regla `iptables` que apunte a los paquetes que llegan al puerto UDP 162: @@ -439,21 +392,18 @@ Nuestro Monitoreo de red contenedor admite todas las versiones principales de SN No es necesario ejecutar un agente dedicado para la recopilación de trampas, ya que todos los agentes de sondeo SNMP ejecutarán un oyente pasivo. De forma predeterminada, el contenedor escuchará en el puerto 162 (UDP) del host, pero puede cambiar el mapeo [del puerto publicado](https://docs.docker.com/network/#published-ports) en el comando docker Run: `-p 162:1620/udp`. Si desea configurar un contenedor dedicado, puede seguir los pasos de [esta sección](/docs/network-performance-monitoring/setup-performance-monitoring/snmp-performance-monitoring/#optional-installation-for-snmp-traps). - 6. Investigue los datos de rendimiento de su red en la New Relic UI. + 6. Investigue los datos de rendimiento de su red en la New Relic UI. 1. Dependiendo de su administrador de paquetes, use uno de los siguientes comandos para instalar `ktranslate` * Yum: - ```shell curl -s https://packagecloud.io/install/repositories/kentik/ktranslate/script.rpm.sh | sudo bash && \ sudo yum install ktranslate ``` - * Apt: - ```shell curl -s https://packagecloud.io/install/repositories/kentik/ktranslate/script.deb.sh | sudo bash && \ sudo apt-get install ktranslate @@ -517,7 +467,7 @@ Nuestro Monitoreo de red contenedor admite todas las versiones principales de SN sudo chown ktranslate:ktranslate /etc/ktranslate/snmp-base.yaml ``` - 4. Edite el archivo `snmp-base.yaml` y defina los atributos `discovery.cidrs` y `discovery.default_communities` con los valores apropiados para su red. Recomendamos configurar `discovery.add_mibs: true` para automatizar la adición de todos los MIB descubiertos al atributo `global.mibs_enabled` . Además, se recomienda configurar `discovery.check_all_ips: true` para evitar problemas de descubrimiento en [dispositivos con posturas de seguridad estrictas](/docs/network-performance-monitoring/troubleshooting/snmp-discovery-no-devices). + 4. Edite el archivo `snmp-base.yaml` y defina los atributos `discovery.cidrs` y `discovery.default_communities` con los valores apropiados para su red. Recomendamos configurar `discovery.add_mibs: true` para automatizar la incorporación de todos los MIB detectados en el atributo `global.mibs_enabled` . Además, se recomienda configurar `discovery.check_all_ips: true` para evitar problemas de detección en [dispositivos con niveles de seguridad más estrictos](/docs/network-performance-monitoring/troubleshooting/snmp-discovery-no-devices). 5. Resetear el servicio `ktranslate` para aplicar los cambios al archivo `snmp-base.yaml` : @@ -525,7 +475,7 @@ Nuestro Monitoreo de red contenedor admite todas las versiones principales de SN sudo systemctl restart ktranslate ``` - 6. Investigue los datos de rendimiento de su red en la New Relic UI. + 6. Investigue los datos de rendimiento de su red en la New Relic UI. @@ -541,10 +491,7 @@ Nota: No puede monitor capturas `v2c` y `v3` con el mismo contenedor. Si desea m 1. Configure sus capturas `v3` para que se envíen a través de otro puerto, como `163`. 2. Cambie ligeramente los argumentos del contenedor Docker, de `-p 162:1620/udp` a `-p $src:1620/udp` donde `$src` es el puerto al que llegan sus `v3` capturas. - + @@ -709,6 +656,6 @@ Puede configurar más agentes para complementar sus datos SNMP: * Para obtener una mejor visibilidad de cómo se utiliza su red, [configure el monitoreo de datos de flujo de red](/docs/network-performance-monitoring/setup-performance-monitoring/network-flow-monitoring). * Para obtener información valiosa en los mensajes del sistema desde sus dispositivos, [configure la recopilación de syslog de red](/docs/network-performance-monitoring/setup-performance-monitoring/network-syslog-monitoring). -
+
- + \ No newline at end of file diff --git a/src/i18n/content/es/docs/serverless-function-monitoring/azure-function-monitoring/install-serverless-azure-monitoring.mdx b/src/i18n/content/es/docs/serverless-function-monitoring/azure-function-monitoring/install-serverless-azure-monitoring.mdx index 4bf021714a1..efed1bd7ba3 100644 --- a/src/i18n/content/es/docs/serverless-function-monitoring/azure-function-monitoring/install-serverless-azure-monitoring.mdx +++ b/src/i18n/content/es/docs/serverless-function-monitoring/azure-function-monitoring/install-serverless-azure-monitoring.mdx @@ -23,7 +23,7 @@ Cerciorar de que sus Azure Functions cumplan con nuestros [requisitos y compatib - Funciones en contenedores de Linux y Windows + Linux y WindowsFunciones en contenedores de diff --git a/src/i18n/content/jp/docs/apis/nerdgraph/examples/export-import-dashboards-using-api.mdx b/src/i18n/content/jp/docs/apis/nerdgraph/examples/export-import-dashboards-using-api.mdx index 3a7b9727120..29ed262b9c2 100644 --- a/src/i18n/content/jp/docs/apis/nerdgraph/examples/export-import-dashboards-using-api.mdx +++ b/src/i18n/content/jp/docs/apis/nerdgraph/examples/export-import-dashboards-using-api.mdx @@ -12,7 +12,7 @@ translationType: machine [ダッシュボード](/docs/query-your-data/explore-query-data/dashboards/introduction-dashboards) をエクスポートしたり、 [NerdGraph](/docs/apis/nerdgraph/get-started/introduction-new-relic-nerdgraph) のクエリやミューテーションを使って新しいアカウントにインポートしたりすることができます。 - を[画像として](/docs/apis/nerdgraph/examples/export-dashboards-pdfpng-using-api)エクスポートすることもできます。 + を[画像として](/docs/apis/nerdgraph/examples/export-dashboards-pdfpng-using-api)エクスポートすることもできます。 そのためには @@ -26,7 +26,7 @@ translationType: machine 以下のクエリを使用して、既存のダッシュボードのリストを取得します。 -``` +```graphql { actor { entitySearch(queryBuilder: {type: DASHBOARD}) { @@ -48,10 +48,10 @@ translationType: machine 次のクエリを使用してエクスポートし、出力からダッシュボードのエンティティ情報を抽出します。 -``` +```graphql { actor { - entity(guid: "your_guid_xxxxxxx") { + entity(guid: "YOUR_DASHBOARD_GUID") { ... on DashboardEntity { name permissions @@ -72,19 +72,15 @@ translationType: machine GraphiQLの出力に含まれるエンティティ情報の例。 -dashboards_api_entity_section.png +dashboards_api_entity_section.png ## ダッシュボードを新しいアカウントにインポートする [#import] ダッシュボードを別のアカウントにインポートするには、以下の変異を使用します。 -``` +```graphql mutation create($dashboard: DashboardInput!) { - dashboardCreate(accountId: your_new_AccountID, dashboard: $dashboard) { + dashboardCreate(accountId: YOUR_NEW_ACCOUNT_ID, dashboard: $dashboard) { entityResult { guid name @@ -104,8 +100,4 @@ mutation create($dashboard: DashboardInput!) { 3. `entity`を`dashboard`に変更します。 - dashboards_api_paste_entity.png + dashboards_api_paste_entity.png \ No newline at end of file diff --git a/src/i18n/content/jp/docs/apis/nerdgraph/examples/manage-accounts-nerdgraph.mdx b/src/i18n/content/jp/docs/apis/nerdgraph/examples/manage-accounts-nerdgraph.mdx index 3d656de7e7f..177f9f1a7ff 100644 --- a/src/i18n/content/jp/docs/apis/nerdgraph/examples/manage-accounts-nerdgraph.mdx +++ b/src/i18n/content/jp/docs/apis/nerdgraph/examples/manage-accounts-nerdgraph.mdx @@ -59,7 +59,9 @@ NerdGraphを使用してアカウントを管理する前に、次のことを ```graphql mutation { - accountManagementCreateAccount(managedAccount: {name: "NEW_ACCOUNT_NAME"}) { + accountManagementCreateAccount( + managedAccount: {name: "NEW_ACCOUNT_NAME"} + ) { managedAccount { id name @@ -73,7 +75,9 @@ mutation { ```graphql mutation { - accountManagementCreateAccount(managedAccount: {name: "NEW_ACCOUNT_NAME", regionCode: "eu01"}) { + accountManagementCreateAccount( + managedAccount: { name: "NEW_ACCOUNT_NAME", regionCode: "eu01" } + ) { managedAccount { id name @@ -89,7 +93,9 @@ mutation { ```graphql mutation { - accountManagementUpdateAccount(managedAccount: {name: "UPDATED_ACCOUNT_NAME", id: 101010101}) { + accountManagementUpdateAccount( + managedAccount: { name: "UPDATED_ACCOUNT_NAME", id: 101010101 } + ) { managedAccount { id name @@ -144,9 +150,10 @@ mutation {
@@ -158,9 +165,9 @@ mutation { diff --git a/src/i18n/content/jp/docs/apis/nerdgraph/examples/manage-live-chart-urls-via-api.mdx b/src/i18n/content/jp/docs/apis/nerdgraph/examples/manage-live-chart-urls-via-api.mdx index ab55ecfcff3..5b52ff07d5e 100644 --- a/src/i18n/content/jp/docs/apis/nerdgraph/examples/manage-live-chart-urls-via-api.mdx +++ b/src/i18n/content/jp/docs/apis/nerdgraph/examples/manage-live-chart-urls-via-api.mdx @@ -25,7 +25,7 @@ translationType: machine 既存のライブチャートのURLの一覧を取得するには、以下のクエリを使用します。 -``` +```graphql { actor { dashboard { @@ -49,9 +49,9 @@ translationType: machine 指定したライブチャートのURLを失効させるには、以下のクエリを使用します。 -``` +```graphql mutation { - dashboardWidgetRevokeLiveUrl(uuid: "") { + dashboardWidgetRevokeLiveUrl(uuid: "LIVE_CHART_UUID") { uuid errors { description @@ -59,4 +59,4 @@ mutation { } } } -``` +``` \ No newline at end of file diff --git a/src/i18n/content/jp/docs/apis/nerdgraph/examples/mobile-monitoring-config-nerdgraph.mdx b/src/i18n/content/jp/docs/apis/nerdgraph/examples/mobile-monitoring-config-nerdgraph.mdx index 8e40ffc8992..23af396019c 100644 --- a/src/i18n/content/jp/docs/apis/nerdgraph/examples/mobile-monitoring-config-nerdgraph.mdx +++ b/src/i18n/content/jp/docs/apis/nerdgraph/examples/mobile-monitoring-config-nerdgraph.mdx @@ -27,17 +27,15 @@ mutation CreateExampleMobileApplication($accountId: Int!, $name: String!) { name } } - ``` 変数: -```JSON +```json { "accountId": Int!, "name": String! } - ``` ## アプリケーション トークンの取得 [#get-mobile-token] @@ -64,7 +62,7 @@ query FetchMobileApplicationToken($guid: EntityGuid!) { 変数: -```JSON +```json { "guid": EntityGuid! } @@ -77,7 +75,10 @@ query FetchMobileApplicationToken($guid: EntityGuid!) { 突然変異: ```graphql -mutation UpdateMobileApplicationAlias($guid: EntityGuid!, $settings: $AgentApplicationSettingsUpdateInput) { +mutation UpdateMobileApplicationAlias( + $guid: EntityGuid!, + $settings: $AgentApplicationSettingsUpdateInput +) { agentApplicationSettingsUpdate(guid: $guid, settings: $settings) { alias guid @@ -92,7 +93,7 @@ mutation UpdateMobileApplicationAlias($guid: EntityGuid!, $settings: $AgentAppli 変数: -```JSON +```json { "guid": EntityGuid!, "settings": { @@ -103,12 +104,15 @@ mutation UpdateMobileApplicationAlias($guid: EntityGuid!, $settings: $AgentAppli ## モバイル監視の構成例 [#configure-mobile-application] -設定方法の例は次のとおりです NerdGraph による設定: +NerdGraph 経由で設定を構成する方法の例を次に示します。 突然変異: ```graphql -mutation UpdateMobileSettingsExample($guid: EntityGuid!, $settings: AgentApplicationSettingsUpdateInput!) { +mutation UpdateMobileSettingsExample( + $guid: EntityGuid! + $settings: AgentApplicationSettingsUpdateInput! +) { agentApplicationSettingsUpdate(guid: $guid, settings: $settings) { guid errors { @@ -139,7 +143,7 @@ mutation UpdateMobileSettingsExample($guid: EntityGuid!, $settings: AgentApplica 変数: -```JSON +```json { "guid": EntityGuid!, "settings": { @@ -166,4 +170,4 @@ mutation UpdateMobileSettingsExample($guid: EntityGuid!, $settings: AgentApplica } } } -``` +``` \ No newline at end of file diff --git a/src/i18n/content/jp/docs/apis/nerdgraph/examples/nerdgraph-cloud-integrations-api-tutorial.mdx b/src/i18n/content/jp/docs/apis/nerdgraph/examples/nerdgraph-cloud-integrations-api-tutorial.mdx index 52d91531a57..45455a4770b 100644 --- a/src/i18n/content/jp/docs/apis/nerdgraph/examples/nerdgraph-cloud-integrations-api-tutorial.mdx +++ b/src/i18n/content/jp/docs/apis/nerdgraph/examples/nerdgraph-cloud-integrations-api-tutorial.mdx @@ -35,20 +35,17 @@ NerdGraph GraphiQL エクスプローラーにアクセスするには、以下 クエリとは、データを取得することだけを目的としたリクエストである(副作用はない)。NerdGraphのクエリは固定的なものではなく、必要に応じてより多くのデータを要求することも、より少ないデータを要求することも可能である。各クエリでは、スキーマでサポートされている限り、取得したいデータを正確に指定することができます。 - + このクエリは、インフラストラクチャ データで使用可能なすべてのプロバイダー アカウントのリストを返します。プロバイダーによっては、追加のプロパティを要求できます。たとえば、GCP の場合、新しい GCP プロジェクトを New Relic にリンクするときに必要な`serviceAccountId`プロパティを要求することもできます。 **Anonymous:** - ``` + ```graphql { actor { - account(id: ) { + account(id: YOUR_ACCOUNT_ID) { cloud { providers { id @@ -68,10 +65,10 @@ NerdGraph GraphiQL エクスプローラーにアクセスするには、以下 **Named:** - ``` + ```graphql query cloudProviders { actor { - account(id: ) { + account(id: YOUR_ACCOUNT_ID) { cloud { providers { id @@ -85,16 +82,13 @@ NerdGraph GraphiQL エクスプローラーにアクセスするには、以下 ``` - + このクエリは、AWS 統合の特定のプロバイダー アカウントに関する情報を返します。プロパティ`id` 、 `name` 、 `slug`が、監視可能な統合のリストとともに要求されます。 - ``` + ```graphql { actor { - account(id: ) { + account(id: YOUR_ACCOUNT_ID) { cloud { provider(slug: "aws") { id @@ -113,16 +107,13 @@ NerdGraph GraphiQL エクスプローラーにアクセスするには、以下 ``` - + このクエリは、プロバイダーの特定のクラウド サービス統合に関する情報を返します。この例では、統合は[AWS ALB モニタリング統合](/docs/integrations/amazon-integrations/aws-integrations-list/aws-alb-monitoring-integration)であり、プロバイダーは AWS です。プロパティー`id` 、 `name` 、 `slug` 、および`isAllowed`が、使用可能な構成パラメーターとともに要求されます。 - ``` + ```graphql { actor { - account(id: ) { + account(id: YOUR_ACCOUNT_ID) { cloud { provider(slug: "aws") { service(slug: "alb") { @@ -139,16 +130,13 @@ NerdGraph GraphiQL エクスプローラーにアクセスするには、以下 ``` - + このクエリは、お客様の New Relic アカウントで有効になっているクラウドアカウントのリストを返します。(クラウドアカウントは、お客様のNew Relicアカウントと特定のプロバイダーのアカウントを関連付けて統合を行います)。同じNew Relicアカウントで複数のクラウドプロバイダーのアカウントを有効にすることができ、同じクラウドプロバイダーであっても有効にすることができます。 - ``` + ```graphql { actor { - account(id: ) { + account(id: YOUR_ACCOUNT_ID) { cloud { linkedAccounts { id @@ -166,18 +154,15 @@ NerdGraph GraphiQL エクスプローラーにアクセスするには、以下 ``` - + このクエリは、プロパティ`name` 、 `providerId` 、監視が有効になっているクラウド統合のリストなど、リンクされたアカウントに関する情報を返します。 - ``` + ```graphql { actor { - account(id: ) { + account(id: YOUR_ACCOUNT_ID) { cloud { - linkedAccount(id: ) { + linkedAccount(id: LINKED_CLOUD_ACCOUNT_ID) { name provider { id @@ -197,16 +182,13 @@ NerdGraph GraphiQL エクスプローラーにアクセスするには、以下 ``` - + このクエリは、すべてのプロバイダのクラウド・アカウントについて、監視されているすべての統合機能を返します。 - ``` + ```graphql { actor { - account(id: ) { + account(id: YOUR_ACCOUNT_ID) { cloud { linkedAccounts { name @@ -232,24 +214,21 @@ NerdGraph GraphiQL エクスプローラーにアクセスするには、以下 ``` - + このクエリは、特定のリンクされたアカウントから特定の統合に関する情報を返します。 - ``` + ```graphql { actor { - account(id: ) { + account(id: YOUR_ACCOUNT_ID) { cloud { - linkedAccount(id: ) { + linkedAccount(id: LINKED_CLOUD_ACCOUNT_ID) { name provider { id name } - integration(id: ) { + integration(id: INTEGRATION_ID) { id name service { @@ -273,36 +252,33 @@ NerdGraph GraphiQL エクスプローラーにアクセスするには、以下 ミューテーションは、サーバー上でデータを作成または更新するなどの副作用を意図したリクエストです。ミューテーションには、キーワード`mutation`とミューテーションの名前が必要です。NerdGraph のミューテーションは、可能なすべてのミューテーションのサブセットに制限されています。 - + このミューテーションにより、クラウド プロバイダー アカウントを New Relic アカウントにリンクし、1 つ以上のリンクされたアカウントを作成できます。1 つの特定のクラウド プロバイダー アカウント (例: `aws` ) を New Relic アカウントにリンクしたり、複数のクラウド プロバイダー アカウントを 1 つの New Relic アカウントにリンクしたりできます。 **Required:** - * パラメーター``は必須であり、空にすることはできません。New Relic アカウント内で一意である必要があります。 + * パラメーター`PROVIDER_ACCOUNT_NAME`は必須であり、空にすることはできません。New Relic アカウント内で一意である必要があります。 * その他のパラメーターはプロバイダー (AWS、GCP、および Azure) に固有であり、これも必須です。次のセクションでは、各プロバイダー アカウントに必要なパラメーターを確認できます。アカウントをリンクすると、 `createdAt`と`updatedAt`の値が等しくなります。 - ``` + ```graphql mutation { cloudLinkAccount( accounts: { - accountId: , + accountId: YOUR_ACCOUNT_ID, aws: [{ - name: , - + name: PROVIDER_ACCOUNT_NAME, + # other parameters }] azure: [{ - name: , - + name: PROVIDER_ACCOUNT_NAME, + # other parameters }] gcp: [{ - name: , - + name: PROVIDER_ACCOUNT_NAME, + # other parameters }] } ) { @@ -319,20 +295,17 @@ NerdGraph GraphiQL エクスプローラーにアクセスするには、以下 ``` - + この変異は、AWSプロバイダアカウントをNew Relicアカウントにリンクします。 - ``` + ```graphql mutation { cloudLinkAccount( - accountId: , + accountId: YOUR_ACCOUNT_ID, accounts: { aws: [{ - name: , - arn: + name: PROVIDER_ACCOUNT_NAME, + arn: AWS_ROLE_ARN }] } ) { @@ -349,20 +322,17 @@ NerdGraph GraphiQL エクスプローラーにアクセスするには、以下 ``` - + この変異は、CloudWatch Metric Streamsを通じてデータを送信しているAWSアカウントをNew Relicアカウントにリンクします。 - ``` + ```graphql mutation { cloudLinkAccount( - accountId: , + accountId: YOUR_ACCOUNT_ID, accounts: { aws: [{ - name: , - arn: , + name: PROVIDER_ACCOUNT_NAME, + arn: AWS_ROLE_ARN, metricCollectionMode: PUSH }] } @@ -380,23 +350,20 @@ NerdGraph GraphiQL エクスプローラーにアクセスするには、以下 ``` - + この変異は、Microsoft Azure クラウドのサブスクリプションを New Relic アカウントにリンクします。 - ``` + ```graphql mutation { cloudLinkAccount( - accountId: , + accountId: YOUR_ACCOUNT_ID, accounts: { azure: [{ - name: , - applicationId: , - clientSecret: , - tenantId: , - subscriptionId: + name: PROVIDER_ACCOUNT_NAME, + applicationId: AZURE_APP_ID, + clientSecret: AZURE_APP_KEY, + tenantId: AZURE_TENANT_ID, + subscriptionId: AZURE_SUBSCRIPTION_ID }] } ) { @@ -412,20 +379,17 @@ NerdGraph GraphiQL エクスプローラーにアクセスするには、以下 ``` - + このミューテーションは、既存の Microsoft Azure アカウントのクライアント シークレットをローテーションします。 - ``` + ```graphql mutation { cloudUpdateAccount( - accountId: + accountId: YOUR_ACCOUNT_ID accounts: { azure: { - linkedAccountId: , - clientSecret: + linkedAccountId: NR_LINKED_ACCOUNT_ID, + clientSecret: AZURE_SECRET_TOKEN } } ) { @@ -441,20 +405,17 @@ NerdGraph GraphiQL エクスプローラーにアクセスするには、以下 ``` - + この変異は、GCPプロジェクトをNew Relicアカウントにリンクします。 - ``` + ```graphql mutation { cloudLinkAccount( - accountId: , + accountId: YOUR_ACCOUNT_ID, accounts: { gcp: [{ - name: , - projectId: + name: PROVIDER_ACCOUNT_NAME, + projectId: GCP_PROJECT_ID }] } ) { @@ -470,24 +431,21 @@ NerdGraph GraphiQL エクスプローラーにアクセスするには、以下 ``` - + この変更により、リンクされた 1 つ以上のプロバイダー アカウントの名前を変更できます。`name`パラメーターは必須で、空にすることはできず、New Relic アカウント内で一意でなければなりません。 - ``` + ```graphql mutation { cloudRenameAccount( - accountId: , + accountId: YOUR_ACCOUNT_ID, accounts: [ { - id: , - name: + id: LINKED_CLOUD_ACCOUNT_ID_1, + name: PROVIDER_ACCOUNT_NAME }, { - id: , - name: + id: LINKED_CLOUD_ACCOUNT_ID_2, + name: PROVIDER_ACCOUNT_NAME } ] ) { @@ -500,21 +458,18 @@ NerdGraph GraphiQL エクスプローラーにアクセスするには、以下 ``` - + この変異により、既存のクラウドアカウントで1つまたは複数の特定のクラウド統合のモニタリングを有効にすることができます。この変異により、New Relic はプロバイダアカウントから有効化された統合のデータを記録します。プロバイダーアカウントごとに、利用可能なサービスに合わせた異なる入力パラメータにアクセスできます。 - ``` + ```graphql mutation { cloudConfigureIntegration ( - accountId: , + accountId: YOUR_ACCOUNT_ID, integrations: { - : { - : [{ - linkedAccountId: , - + PROVIDER_SLUG : { + INTEGRATION_SLUG: [{ + linkedAccountId: LINKED_CLOUD_ACCOUNT_ID, + # other parameters }] } } @@ -535,23 +490,20 @@ NerdGraph GraphiQL エクスプローラーにアクセスするには、以下 ``` - + 多くのプロバイダーのアカウントがリンクされている場合、多くのクラウドのアカウントで同時に同じ統合を有効にすることができます。 操作の出力には、 [GraphQLフラグメント](https://graphql.org/learn/queries/#fragments) を使用して、統合に特化した設定パラメータを得ることができます。 - ``` + ```graphql mutation { cloudConfigureIntegration ( - accountId: , + accountId: YOUR_ACCOUNT_ID, integrations: { - : { - : [ - { linkedAccountId: }, - { linkedAccountId: } + PROVIDER_SLUG : { + INTEGRATION_SLUG : [ + { linkedAccountId: LINKED_CLOUD_ACCOUNT_ID_1 }, + { linkedAccountId: LINKED_CLOUD_ACCOUNT_ID_2 } ] } } @@ -572,31 +524,28 @@ NerdGraph GraphiQL エクスプローラーにアクセスするには、以下 ``` - + 複数のクラウドアカウントが連携している場合は、連携している複数のクラウドアカウントで同時に複数の統合を有効にすることもできます。 操作の出力には、 [GraphQL フラグメント](https://graphql.org/learn/queries/#fragments) を使用して、インテグレーション固有の設定パラメータを求めることができます。 - ``` + ```graphql mutation { cloudConfigureIntegration ( - accountId: , + accountId: YOUR_ACCOUNT_ID, integrations: { - : { - : [ - { linkedAccountId: } + PROVIDER_SLUG_1: { + INTEGRATION_SLUG_1: [ + { linkedAccountId: LINKED_CLOUD_ACCOUNT_ID_1 } ] - : [ - { linkedAccountId: } + INTEGRATION_SLUG_2: [ + { linkedAccountId: LINKED_CLOUD_ACCOUNT_ID_2 } ] }, - : { - : [ - { linkedAccountId: }, - { linkedAccountId: } + PROVIDER_SLUG_2: { + INTEGRATION_SLUG_3: [ + { linkedAccountId: LINKED_CLOUD_ACCOUNT_ID_3}, + { linkedAccountId: LINKED_CLOUD_ACCOUNT_ID_4} ] } } @@ -617,25 +566,22 @@ NerdGraph GraphiQL エクスプローラーにアクセスするには、以下 ``` - + この変異では、1つ以上のクラウド統合を修正したり、1つ以上の構成パラメータを変更したりすることもできます。各サービスには、変更可能な特定のパラメータがあります。 型リスト ( `awsRegion`など) のパラメーターについては、完全なリストを指定してください。操作の出力については、 [GraphQL フラグメント](https://graphql.org/learn/queries/#fragments)を使用して、統合固有の構成パラメーターを要求できます。 - ``` + ```graphql mutation { cloudConfigureIntegration ( - accountId: , + accountId: YOUR_ACCOUNT_ID, integrations: { - : { - : [{ - linkedAccountId: , - metricsPollingInterval: , - : , - : , + PROVIDER_SLUG: { + INTEGRATION_SLUG: [{ + linkedAccountId: LINKED_CLOUD_ACCOUNT_ID, + metricsPollingInterval: NEW_POLLING_INTERVAL, + PARAMETER_1: VALUE_1, + PARAMETER_N: VALUE_N, }] } } @@ -649,8 +595,8 @@ NerdGraph GraphiQL エクスプローラーにアクセスするには、以下 } ... on SqsIntegration { metricsPollingInterval, - , - + PARAMETER_1, + PARAMETER_N } } errors { @@ -662,20 +608,17 @@ NerdGraph GraphiQL エクスプローラーにアクセスするには、以下 ``` - + この変異により、統合を無効にして、特定のクラウド統合のデータ収集を停止することができます。 - ``` + ```graphql mutation { cloudDisableIntegration ( - accountId: , + accountId: YOUR_ACCOUNT_ID, integrations: { : { : [ - { linkedAccountId: } + { linkedAccountId: LINKED_CLOUD_ACCOUNT_ID } ] } } @@ -697,22 +640,19 @@ NerdGraph GraphiQL エクスプローラーにアクセスするには、以下 ``` - + この変異により、クラウドプロバイダーのアカウントをNew Relicアカウントからリンク解除できるようになりました。 この操作は元に戻すことはできません。ただし、再びアカウントをリンクさせることはできますが、アカウントの履歴は失われます。 - ``` + ```graphql mutation { cloudUnlinkAccount ( - accountId: , + accountId: YOUR_ACCOUNT_ID, accounts: { - { linkedAccountId: } + { linkedAccountId: LINKED_CLOUD_ACCOUNT_ID } } ) { unlinkedAccounts { @@ -736,16 +676,13 @@ NerdGraph GraphiQL エクスプローラーにアクセスするには、以下 AWSとの連携を有効にするには - + アカウントに関するデータ、特に利用可能なプロバイダや作成済みのプロバイダ・アカウントを取得するためのクエリを送信します。 - ``` + ```graphql { actor { - account(id: ) { + account(id: YOUR_ACCOUNT_ID) { cloud { providers { id @@ -766,26 +703,23 @@ AWSとの連携を有効にするには ``` - + AWSプロバイダーのアカウントをリンクします。まだリンクされていない場合や、別のAWSアカウントをリンクしたい場合に使用します。 - 1. ``パラメータで New Relic アカウント識別子を使用します。 + 1. `YOUR_ACCOUNT_ID`パラメータで New Relic アカウント識別子を使用します。 - 2. ``でプロバイダ アカウントの名前を指定します。 + 2. `PROVIDER_ACCOUNT_NAME`でプロバイダ アカウントの名前を指定します。 3. AWSアカウントからデータを取得するために使用するAWSロールのARNを含めます。 - ``` + ```graphql mutation { cloudLinkAccount( - accountId: , + accountId: YOUR_ACCOUNT_ID, accounts: { aws: [{ - name: , - arn: }] + name: PROVIDER_ACCOUNT_NAME, + arn: AWS_ROLE_ARN }] } ) { linkedAccounts { @@ -804,20 +738,17 @@ AWSとの連携を有効にするには ``` - - ``パラメータで New Relic アカウント ID を使用し、 ``パラメータ値でプロバイダー アカウントの ID を使用します。 + + `YOUR_ACCOUNT_ID`パラメータで New Relic アカウント ID を使用し、 `LINKED_CLOUD_ACCOUNT_ID`パラメータ値でプロバイダー アカウントの ID を使用します。 - ``` + ```graphql mutation { cloudConfigureIntegration ( - accountId: , + accountId: YOUR_ACCOUNT_ID, integrations: { aws: { sqs: [ - { linkedAccountId: } + { linkedAccountId: LINKED_CLOUD_ACCOUNT_ID } ] } } @@ -839,21 +770,24 @@ AWSとの連携を有効にするには ``` - - 同じプロバイダー アカウントを持つ複数のアカウントがある場合、複数のプロバイダー アカウントで同時に同じ統合を有効にすることができます。``パラメータで New Relic アカウント ID を使用し、 ``パラメータ値でプロバイダー アカウントの ID を使用します。 + + 同じプロバイダー アカウントを持つ複数のアカウントがある場合、複数のプロバイダー アカウントで同時に同じ統合を有効にすることができます。`YOUR_ACCOUNT_ID`パラメータで New Relic アカウント ID を使用し、 `LINKED_CLOUD_ACCOUNT_ID_N`パラメータ値でプロバイダー アカウントの ID を使用します。 - ``` + ```graphql mutation { cloudConfigureIntegration ( - accountId: , + accountId: YOUR_ACCOUNT_ID, integrations: { aws: { sqs: [ - { linkedAccountId: }, - { linkedAccountId: , configuration_param_1: value_1, configuration_param_2: value_2 } + { + linkedAccountId: LINKED_CLOUD_ACCOUNT_ID_1 + }, + { + linkedAccountId: LINKED_CLOUD_ACCOUNT_ID_2, + configuration_param_1: value_1, + configuration_param_2: value_2 + } ] } } @@ -881,20 +815,20 @@ AWSとの連携を有効にするには この例では、 [AWS SQS](/docs/integrations/amazon-integrations/aws-integrations-list/aws-sqs-monitoring-integration) 統合を使っており、 [AWS アカウントを New Relic](/docs/integrations/amazon-integrations/get-started/connect-aws-services-infrastructure) に接続していることを想定しています。AWS統合のポーリング間隔を変更するには。 - - AWS SQS 統合のポーリング間隔を更新するには、 ``パラメータで New Relic アカウント ID を使用し、 ``パラメータ値でリンクされたプロバイダー アカウントの`id`を使用します。 + + AWS SQS 統合のポーリング間隔を更新するには、 `YOUR_ACCOUNT_ID`パラメータで New Relic アカウント ID を使用し、 `LINKED_ACCOUNT_ID`パラメータ値でリンクされたプロバイダー アカウントの`id`を使用します。 - ``` + ```graphql mutation { cloudConfigureIntegration( - accountId: , + accountId: YOUR_ACCOUNT_ID, integrations: { aws : { sqs: [ - { linkedAccountId: , metricsPollingInterval: 300 } + { + linkedAccountId: LINKED_CLOUD_ACCOUNT_ID, + metricsPollingInterval: 300 + } ] } } @@ -925,28 +859,21 @@ AWSとの連携を有効にするには この例では、 [AWS SQS](/docs/integrations/amazon-integrations/aws-integrations-list/aws-sqs-monitoring-integration) 統合を使っており、 [AWS アカウントを New Relic](/docs/integrations/amazon-integrations/get-started/connect-aws-services-infrastructure) に接続していることを想定しています。AWS統合を無効化するには - - ``パラメータで New Relic アカウント識別子を使用し、リンクされたクラウド アカウントの ID を``パラメータ値で使用します。 + + `YOUR_ACCOUNT_ID`パラメータで New Relic アカウント識別子を使用し、リンクされたクラウド アカウントの ID を`LINKED_ACCOUNT_ID`パラメータ値で使用します。 - ``` + ```graphql mutation { - cloudDisableIntegration ( - accountId: , + cloudDisableIntegration( + accountId: YOUR_ACCOUNT_ID integrations: { - aws: { - sqs: [ - { linkedAccountId: } - ] - } + aws: { sqs: [{ linkedAccountId: LINKED_CLOUD_ACCOUNT_ID }] } } ) { - disabledIntegrations { - id + disabledIntegrations { + id accountId - name + name } errors { type @@ -956,4 +883,4 @@ AWSとの連携を有効にするには } ``` - + \ No newline at end of file diff --git a/src/i18n/content/jp/docs/apis/nerdgraph/examples/nerdgraph-concurrency-tutorial.mdx b/src/i18n/content/jp/docs/apis/nerdgraph/examples/nerdgraph-concurrency-tutorial.mdx index c32a3cbfb56..0a558db02fd 100644 --- a/src/i18n/content/jp/docs/apis/nerdgraph/examples/nerdgraph-concurrency-tutorial.mdx +++ b/src/i18n/content/jp/docs/apis/nerdgraph/examples/nerdgraph-concurrency-tutorial.mdx @@ -15,34 +15,36 @@ New Relic の NerdGraph API では、 **25 concurrent requests per user**' //GraphQL User Key -const MAX_CONCURRENCY = 25; //Maximum amount of requests in queue at a given time - -const GRAPH_API = 'https://api.newrelic.com/graphql'; -const HEADERS = { 'Content-Type': 'application/json', 'Api-Key': API_KEY }; +const API_KEY = "YOUR_GRAPHQL_USER_KEY"; // GraphQL User Key +const MAX_CONCURRENCY = 25; // Maximum amount of requests in queue at a given time +const GRAPH_API = "https://api.newrelic.com/graphql"; +const HEADERS = { "Content-Type": "application/json", "Api-Key": API_KEY }; async function main() { - let accounts = await getAccounts(); //All accounts to run a query against + let accounts = await getAccounts(); // All accounts to run a query against var allResults = []; //Queue initialization const q = async.queue(async (task, cb) => { - let result = await makeRequest(task.acct) - allResults.push({'transactionCount': result[0].count, 'account': task.acct.id}); + let result = await makeRequest(task.acct); + allResults.push({ + transactionCount: result[0].count, + account: task.acct.id, + }); cb(); }, MAX_CONCURRENCY); - //Push requests on to the queue (one for each account) - accounts.forEach(acct => { - q.push({acct: acct}); + // Push requests on to the queue (one for each account) + accounts.forEach((acct) => { + q.push({ acct: acct }); }); - await q.drain(); //Drain event listener when all tasks are complete + await q.drain(); // Drain event listener when all tasks are complete console.log(allResults); } @@ -50,53 +52,51 @@ async function main() { async function makeRequest(acct) { let nrql = `SELECT count(*) FROM Transaction`; let gql = `{ - actor { - account(id: ${acct.id}) { - nrql(query: "${nrql}", timeout: 90) { - results - } - } - } - }`; + actor { + account(id: ${acct.id}) { + nrql(query: "${nrql}", timeout: 90) { + results + } + } + } + }`; let opts = { url: GRAPH_API, headers: HEADERS, - json: {'query': gql, 'variables': {}} + json: { query: gql, variables: {} }, }; let response = await got.post(opts).json(); if (!response.errors) { return response.data.actor.account.nrql.results; } else { - console.log('Query Error'); + console.log("Query Error"); console.log(response.errors); } } async function getAccounts() { var q = `{ - actor { - accounts { - id - name - } - } - }` + actor { + accounts { + id + name + } + } + }`; var opts = { url: GRAPH_API, headers: HEADERS, - json: {'query': q, 'variables': {}} - } + json: { query: q, variables: {} }, + }; let resp = await got.post(opts).json(); return resp.data.actor.accounts; } - main(); - ``` ## Python @@ -108,35 +108,33 @@ main(); 以下では同時同時リクエスト数を管理する[セマフォ](https://docs.python.org/3/library/asyncio-sync.html?highlight=semaphore#asyncio.Semaphore)を設定します。次に、 `asyncio.gather()`を使用して複数のコルーチンを同時に実行し、それらの完了を待ちます。 -``` +```py import aiohttp import asyncio -API_KEY = '' +API_KEY = "YOUR_GRAPHQL_USER_KEY" MAX_CONCURRENCY = 25 -GRAPHQL_API = 'https://api.newrelic.com/graphql' -HEADERS = {'Content-Type': 'application/json', 'Api-Key': API_KEY} - +GRAPHQL_API = "https://api.newrelic.com/graphql" +HEADERS = {"Content-Type": "application/json", "Api-Key": API_KEY} async def main(): - #All accounts to run a query against + # All accounts to run a query against accounts = await get_accounts() # Semaphore for controlling concurrency limit = asyncio.Semaphore(MAX_CONCURRENCY) - #Add all accounts to run a query against + # Add all accounts to run a query against tasks = [send_request(acct, limit) for acct in accounts] - #Schedule all tasks to run concurrently + # Schedule all tasks to run concurrently allResults = await asyncio.gather(*tasks) print(allResults) - async def send_request(acct, limit): nrql = "SELECT count(*) FROM Transaction" - gql = f''' + gql = f""" {{ actor {{ account(id: {acct['id']}) {{ @@ -146,19 +144,22 @@ async def send_request(acct, limit): }} }} }} - ''' + """ async with limit: try: async with aiohttp.ClientSession() as session: - async with session.post(GRAPHQL_API, json={"query": gql, "variables":{}}, headers=HEADERS) as response: + async with session.post( + GRAPHQL_API, json={"query": gql, "variables": {}}, headers=HEADERS + ) as response: result = await response.json() - return {'transactionCount': result['data']['actor']['account']['nrql']['results'][0]['count'], 'account': acct['id']} + return { + "transactionCount": result["data"]["actor"]["account"]["nrql"]["results"][0]["count"],"account": acct["id"], + } except Exception as error: print("Query Error") raise error - async def get_accounts(): gql = """ { @@ -167,19 +168,19 @@ async def get_accounts(): id name } - } - } + } + } """ async with aiohttp.ClientSession() as session: - async with session.post(GRAPHQL_API, json={"query": gql, "variables":{}}, headers=HEADERS) as response: + async with session.post( + GRAPHQL_API, json={"query": gql, "variables": {}}, headers=HEADERS + ) as response: result = await response.json() - return result['data']['actor']['accounts'] - - -if __name__ == '__main__': - asyncio.run(main()) #Run event loop + return result["data"]["actor"]["accounts"] +if __name__ == "__main__": + asyncio.run(main()) # Run event loop ``` -NerdGraph の制限の詳細については、 [「NerdGraph の使用制限」](/docs/apis/nerdgraph/nerdgraph-usage-limits)を参照してください。 +NerdGraph の制限の詳細については、 [「NerdGraph の使用制限」](/docs/apis/nerdgraph/nerdgraph-usage-limits)を参照してください。 \ No newline at end of file diff --git a/src/i18n/content/jp/docs/apis/nerdgraph/examples/nerdgraph-dashboards.mdx b/src/i18n/content/jp/docs/apis/nerdgraph/examples/nerdgraph-dashboards.mdx index cc6d953de4b..400c654a6d8 100644 --- a/src/i18n/content/jp/docs/apis/nerdgraph/examples/nerdgraph-dashboards.mdx +++ b/src/i18n/content/jp/docs/apis/nerdgraph/examples/nerdgraph-dashboards.mdx @@ -251,7 +251,7 @@ NerdGraph を[使用すると、複数の New Relic アカウントからデー - ```graphql + ```graphql lineHighlight=21,37,53 mutation { dashboardCreate( accountId: 1 @@ -272,7 +272,7 @@ NerdGraph を[使用すると、複数の New Relic アカウントからデー legend: { enabled: true } nrqlQueries: [ { - accountIds: [1, 1606862, 2212585] + accountIds: [1, 1606862, 2212585] query: "SELECT count(*) FROM Transaction" } ] @@ -288,7 +288,7 @@ NerdGraph を[使用すると、複数の New Relic アカウントからデー legend: { enabled: true } nrqlQueries: [ { - accountIds: [1, 1606862, 2212585] + accountIds: [1, 1606862, 2212585] query: "SELECT count(*) FROM Transaction FACET accountId()" } ] @@ -304,7 +304,7 @@ NerdGraph を[使用すると、複数の New Relic アカウントからデー legend: { enabled: true } nrqlQueries: [ { - accountIds: [1, 1606862, 2212585] + accountIds: [1, 1606862, 2212585] query: "SELECT count(*) FROM Transaction FACET accountId() TIMESERIES" } ] @@ -551,18 +551,18 @@ NerdGraph を[使用すると、複数の New Relic アカウントからデー - ``` + ```graphql mutation { - dashboardMutation(guid: "MY_EXISTING_DASHBOARD_GUID") { - mutationResult { - result - } - errors { - description - type - } + dashboardMutation(guid: "MY_EXISTING_DASHBOARD_GUID") { + mutationResult { + result + } + errors { + description + type } } + } ``` diff --git a/src/i18n/content/jp/docs/apis/nerdgraph/examples/nerdgraph-synthetics-tutorial.mdx b/src/i18n/content/jp/docs/apis/nerdgraph/examples/nerdgraph-synthetics-tutorial.mdx index 69cc5680c62..706d8305764 100644 --- a/src/i18n/content/jp/docs/apis/nerdgraph/examples/nerdgraph-synthetics-tutorial.mdx +++ b/src/i18n/content/jp/docs/apis/nerdgraph/examples/nerdgraph-synthetics-tutorial.mdx @@ -51,7 +51,7 @@ translationType: machine スクリプト内の[プライベートロケーション](/docs/synthetics/synthetic-monitoring/private-locations/private-locations-overview-monitor-internal-sites-add-new-locations)を識別するには、プライベートロケーションのエンティティ GUID を使用します。 [検証済みのスクリプトの実行を](/docs/synthetics/synthetic-monitoring/private-locations/verified-script-execution-private-locations/)使用するようにプライベートロケーションが構成されている場合は、 `vsePassword`プロパティも含めます。 例えば: - ``` + ```graphql locations: { private: { guid: LOCATION_ENTITY_GUID, @@ -62,7 +62,7 @@ translationType: machine [パブリックの場所](/docs/synthetics/synthetic-monitoring/administration/synthetic-public-minion-ips/#location)では、AWS\_ プレフィックスを付けずに場所識別子を使用します。次に例を示します。 - ``` + ```graphql locations: { public: ["US_EAST_2", "US_WEST_1"] } @@ -168,7 +168,7 @@ translationType: machine 外形監視モニターを使用して、データに関する現在のステータス情報やモニター設定の詳細を取得できます。 多くのモニター設定がタグとして表示されます。 - ``` + ```graphql { actor { entitySearch(query: "domain = 'SYNTH' AND type = 'MONITOR'") { @@ -195,7 +195,7 @@ translationType: machine あなたはあなたのプライベートな場所を照会することができます: - ``` + ```graphql { actor { entitySearch(query: "domain = 'SYNTH' AND type = 'PRIVATE_LOCATION'") { @@ -219,7 +219,7 @@ translationType: machine クエリ 既存のモニターのダウンタイム。 設定の詳細はタグに保存されます。 - ``` + ```graphql { actor { entitySearch(query: "domain = 'SYNTH' AND type = 'MONITOR_DOWNTIME'") { @@ -243,7 +243,7 @@ translationType: machine 安全なクレデンシャルをクエリすると、メタデータのみを取得できますが、クレデンシャル値自体は取得できません。 - ``` + ```graphql { actor { entitySearch(query: "domain = 'SYNTH' AND type = 'SECURE_CRED'") { @@ -270,10 +270,10 @@ translationType: machine スクリプト化されたAPIまたはスクリプト化されたブラウザーモニターで使用されるスクリプトを取得します。他の種類のモニターはエラーを返します。 - ``` + ```graphql { actor { - account(id: YOUR_ACCOUNT_ID) { + account(id: ACCOUNT_ID) { synthetics { script(monitorGuid: "ENTITY_GUID") { text @@ -288,10 +288,10 @@ translationType: machine ステップモニター用に構成されたステップを取得します。他の種類のモニターはエラーを返します。 - ``` + ```graphql { actor { - account(id: YOUR_ACCOUNT_ID) { + account(id: ACCOUNT_ID) { synthetics { steps(monitorGuid: "ENTITY_GUID") { ordinal @@ -308,7 +308,7 @@ translationType: machine モニター ID を使用して合成モニターのエンティティ GUID を取得します。 - ``` + ```graphql { actor { entitySearch( @@ -332,7 +332,7 @@ translationType: machine レガシー ランタイム モニターのすべてのランタイム アップグレード テストのステータスを取得します。 これらのテストは[、ランタイム アップグレード UI](/docs/synthetics/synthetic-monitoring/using-monitors/runtime-upgrade-ui/)にデータを入力します。 テスト結果は`validationStatus`タグに保存されます。 アップグレード テストが失敗した場合は、エラー メッセージが`validationError`タグに表示されます。 - ``` + ```graphql { actor { entitySearch(query: "domain = 'SYNTH' AND type = 'RUNTIME_VALIDATION'") { @@ -356,10 +356,12 @@ translationType: machine 単一のレガシー ランタイム モニターのランタイム アップグレード テストのステータスを取得します。 これらのテスト結果は[、ランタイム アップグレード UI](/docs/synthetics/synthetic-monitoring/using-monitors/runtime-upgrade-ui/)に表示されます。 テスト結果は`validationStatus`タグに保存されます。 アップグレード テストが失敗した場合は、エラー メッセージが`validationError`タグに表示されます。 - ``` + ```graphql { actor { - entitySearch(query: "domain = 'SYNTH' AND type = 'RUNTIME_VALIDATION' and domainId = 'MONITOR_ID'") { + entitySearch( + query: "domain = 'SYNTH' AND type = 'RUNTIME_VALIDATION' AND domainId = 'MONITOR_ID'" + ) { results { entities { accountId @@ -397,31 +399,26 @@ translationType: machine Pingモニターは、アプリケーションが実行されていることを確認します。 NerdGraphで作成する例を次に示します。 - ``` + ```graphql mutation { - syntheticsCreateSimpleMonitor ( - accountId: YOUR_ACCOUNT_ID + syntheticsCreateSimpleMonitor( + accountId: ACCOUNT_ID monitor: { - locations: { - public: ["LOCATION_1", "LOCATION_2"] - }, - name: "YOUR_MONITOR_NAME", - period: PERIOD, - status: STATUS, - uri: "MONITORED_URI", + locations: { public: ["LOCATION_1", "LOCATION_2"] } + name: "YOUR_MONITOR_NAME" + period: PERIOD + status: STATUS + uri: "MONITORED_URI" advancedOptions: { - customHeaders: { - name: "HEADER_NAME", - value: "HEADER_VALUE" - }, - redirectIsFailure: REDIRECT_IS_FAILURE, - responseValidationText: "VALIDATION_TEXT", - shouldBypassHeadRequest: BYPASS_HEAD_REQUEST, + customHeaders: { name: "HEADER_NAME", value: "HEADER_VALUE" } + redirectIsFailure: REDIRECT_IS_FAILURE + responseValidationText: "VALIDATION_TEXT" + shouldBypassHeadRequest: BYPASS_HEAD_REQUEST useTlsValidation: TLS_VALIDATION - }, + } apdexTarget: APDEX_TARGET } - ) { + ) { errors { description type @@ -434,155 +431,143 @@ translationType: machine シンプルなブラウザモニターは、Chromeインスタンスを使用して顧客の訪問を模倣します。 NerdGraphで作成する例を次に示します。 - ``` - mutation { - syntheticsCreateSimpleBrowserMonitor ( - accountId: YOUR_ACCOUNT_ID, - monitor: { - browsers: [BROWSERS], - devices: [DEVICES], - locations: { - public: ["LOCATION_1", "LOCATION_2"] - }, - name: "YOUR_MONITOR_NAME", - period: PERIOD, - runtime: { - runtimeType: "RUNTIME_TYPE", - runtimeTypeVersion: "RUNTIME_TYPE_VERSION", - scriptLanguage: "SCRIPT_LANGUAGE" - } - status: STATUS, - uri: "MONITORED_URI", - advancedOptions: { - customHeaders: { - name: "HEADER_NAME", - value: "HEADER_VALUE" - }, - enableScreenshotOnFailureAndScript: ENABLE_SCREENSHOT, - responseValidationText: "VALIDATION_TEXT", - useTlsValidation: TLS_VALIDATION - }, - apdexTarget: APDEX_TARGET - ) { - errors { - description - type + ```graphql + mutation { + syntheticsCreateSimpleBrowserMonitor( + accountId: ACCOUNT_ID + monitor: { + browsers: [BROWSERS] + devices: [DEVICES] + locations: { public: ["LOCATION_1", "LOCATION_2"] } + name: "YOUR_MONITOR_NAME" + period: PERIOD + runtime: { + runtimeType: "RUNTIME_TYPE" + runtimeTypeVersion: "RUNTIME_TYPE_VERSION" + scriptLanguage: "SCRIPT_LANGUAGE" } + status: STATUS + uri: "MONITORED_URI" + advancedOptions: { + customHeaders: { name: "HEADER_NAME", value: "HEADER_VALUE" } + enableScreenshotOnFailureAndScript: ENABLE_SCREENSHOT + responseValidationText: "VALIDATION_TEXT" + useTlsValidation: TLS_VALIDATION + } + apdexTarget: APDEX_TARGET + } + ) { + errors { + description + type } } + } ``` [スクリプト化されたブラウザモニター](/docs/synthetics/synthetic-monitoring/scripting-monitors/introduction-scripted-browser-monitors)は、ページやアプリケーションとのより複雑な相互作用です。 NerdGraphで作成する例を次に示します。 - ``` - mutation { - syntheticsCreateScriptBrowserMonitor ( - accountId: YOUR_ACCOUNT_ID, - monitor: { - browsers: [BROWSERS], - devices: [DEVICES], - locations: { - public: ["LOCATION_1", "LOCATION_2"] - }, - name: "MONITOR_NAME", - period: PERIOD, - runtime: { - runtimeType: "RUNTIME_TYPE", - runtimeTypeVersion: "RUNTIME_TYPE_VERSION", - scriptLanguage: "SCRIPT_LANGUAGE" - } - script: "SCRIPT_CONTENT", - status: STATUS, - advancedOptions: { - enableScreenshotOnFailureAndScript: ENABLE_SCREENSHOT - }, - apdexTarget: APDEX_TARGET - } - ) { - errors { - description - type + ```graphql + mutation { + syntheticsCreateScriptBrowserMonitor( + accountId: ACCOUNT_ID + monitor: { + browsers: [BROWSERS] + devices: [DEVICES] + locations: { public: ["LOCATION_1", "LOCATION_2"] } + name: "MONITOR_NAME" + period: PERIOD + runtime: { + runtimeType: "RUNTIME_TYPE" + runtimeTypeVersion: "RUNTIME_TYPE_VERSION" + scriptLanguage: "SCRIPT_LANGUAGE" } + script: "SCRIPT_CONTENT" + status: STATUS + advancedOptions: { enableScreenshotOnFailureAndScript: ENABLE_SCREENSHOT } + apdexTarget: APDEX_TARGET + } + ) { + errors { + description + type } } + } ``` [スクリプト化されたAPIモニターは](/docs/synthetics/synthetic-monitoring/scripting-monitors/write-synthetic-api-tests)、APIエンドポイントをチェックします。 NerdGraphで作成する例を次に示します。 - ``` - mutation { - syntheticsCreateScriptApiMonitor ( - accountId: YOUR_ACCOUNT_ID, - monitor: { - locations: { - public: ["LOCATION_1", "LOCATION_2"] - }, - name: "YOUR_MONITOR_NAME", - period: PERIOD, - runtime: { - runtimeType: "RUNTIME_TYPE", - runtimeTypeVersion: "RUNTIME_TYPE_VERSION", - scriptLanguage: "SCRIPT_LANGUAGE" - } - script: "SCRIPT_CONTENT", - status: STATUS, - apdexTarget: APDEX_TARGET - } - ) { - errors { - description - type + ```graphql + mutation { + syntheticsCreateScriptApiMonitor( + accountId: ACCOUNT_ID + monitor: { + locations: { public: ["LOCATION_1", "LOCATION_2"] } + name: "YOUR_MONITOR_NAME" + period: PERIOD + runtime: { + runtimeType: "RUNTIME_TYPE" + runtimeTypeVersion: "RUNTIME_TYPE_VERSION" + scriptLanguage: "SCRIPT_LANGUAGE" } + script: "SCRIPT_CONTENT" + status: STATUS + apdexTarget: APDEX_TARGET + } + ) { + errors { + description + type } } + } ``` ステップモニターは、コードレスのマルチステップブラウザーベースのモニターを提供します。 NerdGraphで作成する例を次に示します。 - ``` + ```graphql mutation { - syntheticsCreateStepMonitor ( - accountId: NR_ACCOUNT_ID, - monitor: { - browsers: [BROWSERS], - devices: [DEVICES], - locations: { - public: ["LOCATION_1", "LOCATION_2"] - }, - name: "MONITOR_NAME", - period: PERIOD, - runtime: { - runtimeType: "RUNTIME_TYPE", - runtimeTypeVersion: "RUNTIME_TYPE_VERSION", - scriptLanguage: "SCRIPT_LANGUAGE" + syntheticsCreateStepMonitor( + accountId: ACCOUNT_ID + monitor: { + browsers: [BROWSERS] + devices: [DEVICES] + locations: { public: ["LOCATION_1", "LOCATION_2"] } + name: "MONITOR_NAME" + period: PERIOD + runtime: { + runtimeType: "RUNTIME_TYPE" + runtimeTypeVersion: "RUNTIME_TYPE_VERSION" + scriptLanguage: "SCRIPT_LANGUAGE" } - status: STATUS, - steps: [{ - ordinal: 0, - type: NAVIGATE, - values: ["MONITORED_URI"],["USER_AGENT"] - },{ - ordinal: STEP_NUMBER, - type: STEP_TYPE, - values: ["CONDITIONAL_TYPE","VALUE"] - }] - advancedOptions: { - enableScreenshotOnFailureAndScript: ENABLE_SCREENSHOT - }, - apdexTarget: APDEX_TARGET - } - ) { + status: STATUS + steps: [ + { + ordinal: 0, + type: NAVIGATE, + values: ["MONITORED_URI", "USER_AGENT"] } + { + ordinal: STEP_NUMBER + type: STEP_TYPE + values: ["CONDITIONAL_TYPE", "VALUE"] + } + ] + advancedOptions: { enableScreenshotOnFailureAndScript: ENABLE_SCREENSHOT } + apdexTarget: APDEX_TARGET + } + ) { errors { description type } - } + } } ``` @@ -590,60 +575,52 @@ translationType: machine SSL証明書の有効期限が近づいたときに通知するようにモニターを設定します。 NerdGraphで作成する例を次に示します。 - ``` - mutation { - syntheticsCreateCertCheckMonitor ( - accountId: YOUR_ACCOUNT_ID, - monitor: { - domain: "DOMAIN", - locations: { - public: ["LOCATION_1", "LOCATION_2"] - }, - name: "YOUR_MONITOR_NAME", - numberDaysToFailBeforeCertExpires: DAYS_UNTIL_EXPIRATION, - period: PERIOD, - status: STATUS, - apdexTarget: APDEX_TARGET - } - ) { - errors { - description - type - } + ```graphql + mutation { + syntheticsCreateCertCheckMonitor( + accountId: ACCOUNT_ID + monitor: { + domain: "DOMAIN" + locations: { public: ["LOCATION_1", "LOCATION_2"] } + name: "YOUR_MONITOR_NAME" + numberDaysToFailBeforeCertExpires: DAYS_UNTIL_EXPIRATION + period: PERIOD + status: STATUS + apdexTarget: APDEX_TARGET + } + ) { + errors { + description + type } } + } ``` 壊れたリンクモニターは、Webページ上のリンクに障害がないかチェックします。 NerdGraphで作成する例を次に示します。 - ``` + ```graphql mutation { - syntheticsCreateBrokenLinksMonitor ( - accountId: YOUR_ACCOUNT_ID, + syntheticsCreateBrokenLinksMonitor( + accountId: ACCOUNT_ID monitor: { - locations: { - public: ["LOCATION_1", "LOCATION_2"] - }, - name: "YOUR_MONITOR_NAME", - period: PERIOD, - status: STATUS, - apdexTarget: APDEX_TARGET, - uri: "MONITOR_URI", - tags: { - key: "YOUR_TAG_NAME", - values: "TAG_VALUE" - } - } - ) { - errors { - description - type - } + locations: { public: ["LOCATION_1", "LOCATION_2"] } + name: "YOUR_MONITOR_NAME" + period: PERIOD + status: STATUS + apdexTarget: APDEX_TARGET + uri: "MONITOR_URI" + tags: { key: "YOUR_TAG_NAME", values: "TAG_VALUE" } + } + ) { + errors { + description + type + } } } - ``` @@ -660,28 +637,23 @@ translationType: machine これを使用して、pingモニターを更新します。 - ``` + ```graphql mutation { - syntheticsUpdateSimpleMonitor ( - guid: "ENTITY_GUID", + syntheticsUpdateSimpleMonitor( + guid: "ENTITY_GUID" monitor: { - locations: { - public: ["LOCATION_1", "LOCATION_2"] - }, - name: "YOUR_MONITOR_NAME", - period: PERIOD, - status: STATUS, - uri: "MONITORED_URI", + locations: { public: ["LOCATION_1", "LOCATION_2"] } + name: "YOUR_MONITOR_NAME" + period: PERIOD + status: STATUS + uri: "MONITORED_URI" advancedOptions: { - customHeaders: { - name: "HEADER_NAME", - value: "HEADER_VALUE" - }, - redirectIsFailure: REDIRECT_IS_FAILURE, - responseValidationText: "VALIDATION_TEXT", - shouldBypassHeadRequest: BYPASS_HEAD_REQUEST, + customHeaders: { name: "HEADER_NAME", value: "HEADER_VALUE" } + redirectIsFailure: REDIRECT_IS_FAILURE + responseValidationText: "VALIDATION_TEXT" + shouldBypassHeadRequest: BYPASS_HEAD_REQUEST useTlsValidation: TLS_VALIDATION - }, + } apdexTarget: APDEX_TARGET } ) { @@ -697,155 +669,143 @@ translationType: machine 単純なブラウザーモニター(ランタイムバージョンをアップグレードする機能を含む)を更新するには、次を使用します。 - ``` - mutation { - syntheticsUpdateSimpleBrowserMonitor ( - guid: ENTITY_GUID, - monitor: { - browsers: [BROWSERS], - devices: [DEVICES], - locations: { - public: ["LOCATION_1", "LOCATION_2"] - }, - name: "YOUR_MONITOR_NAME", - period: PERIOD, - runtime: { - runtimeType: "RUNTIME_TYPE", - runtimeTypeVersion: "RUNTIME_TYPE_VERSION", - scriptLanguage: "SCRIPT_LANGUAGE" - } - status: STATUS, - uri: "MONITORED_URI", - advancedOptions: { - customHeaders: { - name: "HEADER_NAME", - value: "HEADER_VALUE" - }, - enableScreenshotOnFailureAndScript: ENABLE_SCREENSHOT, - responseValidationText: "VALIDATION_TEXT", - useTlsValidation: TLS_VALIDATION - }, - apdexTarget: APDEX_TARGET - ) { - errors { - description - type + ```graphql + mutation { + syntheticsUpdateSimpleBrowserMonitor( + guid: ENTITY_GUID + monitor: { + browsers: [BROWSERS] + devices: [DEVICES] + locations: { public: ["LOCATION_1", "LOCATION_2"] } + name: "YOUR_MONITOR_NAME" + period: PERIOD + runtime: { + runtimeType: "RUNTIME_TYPE" + runtimeTypeVersion: "RUNTIME_TYPE_VERSION" + scriptLanguage: "SCRIPT_LANGUAGE" + } + status: STATUS + uri: "MONITORED_URI" + advancedOptions: { + customHeaders: { name: "HEADER_NAME", value: "HEADER_VALUE" } + enableScreenshotOnFailureAndScript: ENABLE_SCREENSHOT + responseValidationText: "VALIDATION_TEXT" + useTlsValidation: TLS_VALIDATION } + apdexTarget: APDEX_TARGET + } + ) { + errors { + description + type } } + } ``` スクリプト化されたブラウザーモニター(ランタイムバージョンをアップグレードする機能を含む)を更新するには、次を使用します。 - ``` - mutation { - syntheticsUpdateScriptBrowserMonitor ( - guid: ENTITY_GUID, - monitor: { - browsers: [BROWSERS], - devices: [DEVICES], - locations: { - public: ["LOCATION_1", "LOCATION_2"] - }, - name: "MONITOR_NAME", - period: PERIOD, - runtime: { - runtimeType: "RUNTIME_TYPE", - runtimeTypeVersion: "RUNTIME_TYPE_VERSION", - scriptLanguage: "SCRIPT_LANGUAGE" - } - script: "SCRIPT_CONTENT", - status: STATUS, - advancedOptions: { - enableScreenshotOnFailureAndScript: ENABLE_SCREENSHOT - }, - apdexTarget: APDEX_TARGET - } - ) { - errors { - description - type + ```graphql + mutation { + syntheticsUpdateScriptBrowserMonitor( + guid: ENTITY_GUID + monitor: { + browsers: [BROWSERS] + devices: [DEVICES] + locations: { public: ["LOCATION_1", "LOCATION_2"] } + name: "MONITOR_NAME" + period: PERIOD + runtime: { + runtimeType: "RUNTIME_TYPE" + runtimeTypeVersion: "RUNTIME_TYPE_VERSION" + scriptLanguage: "SCRIPT_LANGUAGE" } + script: "SCRIPT_CONTENT" + status: STATUS + advancedOptions: { enableScreenshotOnFailureAndScript: ENABLE_SCREENSHOT } + apdexTarget: APDEX_TARGET + } + ) { + errors { + description + type } } + } ``` スクリプト化されたAPIモニター(ランタイムバージョンをアップグレードする機能を含む)を更新するには、次を使用します。 - ``` - mutation { - syntheticsUpdateScriptApiMonitor ( - guid: ENTITY_GUID, - monitor: { - locations: { - public: ["LOCATION_1", "LOCATION_2"] - }, - name: "YOUR_MONITOR_NAME", - period: PERIOD, - runtime: { - runtimeType: "RUNTIME_TYPE", - runtimeTypeVersion: "RUNTIME_TYPE_VERSION", - scriptLanguage: "SCRIPT_LANGUAGE" - } - script: "SCRIPT_CONTENT", - status: STATUS, - apdexTarget: APDEX_TARGET - } - ) { - errors { - description - type + ```graphql + mutation { + syntheticsUpdateScriptApiMonitor( + guid: ENTITY_GUID + monitor: { + locations: { public: ["LOCATION_1", "LOCATION_2"] } + name: "YOUR_MONITOR_NAME" + period: PERIOD + runtime: { + runtimeType: "RUNTIME_TYPE" + runtimeTypeVersion: "RUNTIME_TYPE_VERSION" + scriptLanguage: "SCRIPT_LANGUAGE" } + script: "SCRIPT_CONTENT" + status: STATUS + apdexTarget: APDEX_TARGET + } + ) { + errors { + description + type } } - + } ``` これを使用して、ステップモニターを更新します。 - ``` + ```graphql mutation { - syntheticsUpdateStepMonitor ( - guid: ENTITY_GUID, + syntheticsUpdateStepMonitor( + guid: ENTITY_GUID monitor: { - browsers: [BROWSERS], - devices: [DEVICES], - locations: { - public: ["LOCATION_1", "LOCATION_2"] - }, - name: "MONITOR_NAME", - period: PERIOD, + browsers: [BROWSERS] + devices: [DEVICES] + locations: { public: ["LOCATION_1", "LOCATION_2"] } + name: "MONITOR_NAME" + period: PERIOD runtime: { - runtimeType: "RUNTIME_TYPE", - runtimeTypeVersion: "RUNTIME_TYPE_VERSION", + runtimeType: "RUNTIME_TYPE" + runtimeTypeVersion: "RUNTIME_TYPE_VERSION" scriptLanguage: "SCRIPT_LANGUAGE" + } + status: STATUS + steps: [ + { + ordinal: 0, + type: NAVIGATE, + values: ["MONITORED_URI", "USER_AGENT"] } - status: STATUS, - steps: [{ - ordinal: 0, - type: NAVIGATE, - values: ["MONITORED_URI"],["USER_AGENT"] - },{ - ordinal: STEP_NUMBER, - type: STEP_TYPE, - values: ["VALUE_1","VALUE_2"] - }] - advancedOptions: { - enableScreenshotOnFailureAndScript: ENABLE_SCREENSHOT - }, + { + ordinal: STEP_NUMBER, + type: STEP_TYPE, + values: ["VALUE_1", "VALUE_2"] + } + ] + advancedOptions: { enableScreenshotOnFailureAndScript: ENABLE_SCREENSHOT } apdexTarget: APDEX_TARGET } ) { - errors { - description - type - } + errors { + description + type + } } } ``` @@ -854,57 +814,53 @@ translationType: machine これを使用して、証明書チェックモニターを更新します。 - ``` - mutation { - syntheticsUpdateCertCheckMonitor ( - guid: ENTITY_GUID, - monitor: { - domain: "DOMAIN", - locations: { - public: ["LOCATION_1", "LOCATION_2"] - }, - name: "YOUR_MONITOR_NAME", - numberDaysToFailBeforeCertExpires: DAYS_UNTIL_EXPIRATION, - period: PERIOD, - status: STATUS, - apdexTarget: APDEX_TARGET - } - ) { - errors { - description - type - } + ```graphql + mutation { + syntheticsUpdateCertCheckMonitor( + guid: ENTITY_GUID + monitor: { + domain: "DOMAIN" + locations: { public: ["LOCATION_1", "LOCATION_2"] } + name: "YOUR_MONITOR_NAME" + numberDaysToFailBeforeCertExpires: DAYS_UNTIL_EXPIRATION + period: PERIOD + status: STATUS + apdexTarget: APDEX_TARGET + } + ) { + errors { + description + type } } + } ``` これを使用して、壊れたリンクモニターを更新します。 - ``` + ```graphql mutation { - syntheticsUpdateBrokenLinksMonitor ( - guid: ENTITY_GUID, + syntheticsUpdateBrokenLinksMonitor( + guid: ENTITY_GUID monitor: { - locations: { - public: ["LOCATION_1", "LOCATION_2"] - }, - name: "YOUR_MONITOR_NAME", - period: PERIOD, - status: STATUS, - apdexTarget: APDEX_TARGET, - uri: "MONITOR_URI", - tags: { + locations: { public: ["LOCATION_1", "LOCATION_2"] } + name: "YOUR_MONITOR_NAME" + period: PERIOD + status: STATUS + apdexTarget: APDEX_TARGET + uri: "MONITOR_URI" + tags: { key: "YOUR_TAG_NAME", - values: "TAG_VALUE" - } - } - ) { - errors { - description - type + values: "TAG_VALUE" } + } + ) { + errors { + description + type + } } } ``` @@ -918,10 +874,10 @@ translationType: machine 実行時設定の詳細については、 [optional-fields](#optional-fields)を確認してください。 - ``` + ```graphql mutation { syntheticsUpdateScriptBrowserMonitor ( - guid: "", + guid: "ENTITY_GUID", monitor: { runtime: { runtimeType: "RUNTIME_TYPE", @@ -947,10 +903,10 @@ translationType: machine 実行時設定の詳細については、 [optional-fields](#optional-fields)を確認してください。 - ``` + ```graphql mutation { syntheticsUpdateScriptBrowserMonitor ( - guid: "", + guid: "ENTITY_GUID", monitor: { runtime: { runtimeType: "", @@ -977,11 +933,11 @@ translationType: machine モニターエンティティGUIDを使用してモニターを削除します。 - ``` + ```graphql mutation { syntheticsDeleteMonitor ( guid: "ENTITY_GUID" - ) { + ) { deletedGuid } } @@ -995,10 +951,10 @@ translationType: machine - ``` - mutation{ + ```graphql + mutation { syntheticsCreatePrivateLocation ( - accountId: NR_ACCOUNT_ID, + accountId: ACCOUNT_ID, name: "PrivateLocationName", description: "Optional description", verifiedScriptExecution: false @@ -1014,18 +970,18 @@ translationType: machine - ``` + ```graphql mutation { syntheticsUpdatePrivateLocation ( - guid: YOUR_ENTITY_GUID, + guid: ENTITY_GUID, description: "EnterYourDescription", verifiedScriptExecution: true ) { - description - verifiedScriptExecution - errors { description - type + verifiedScriptExecution + errors { + description + type } } } @@ -1033,11 +989,11 @@ translationType: machine - ``` + ```graphql mutation { syntheticsDeletePrivateLocation ( - guid: YOUR_ENTITY_GUID - ) { + guid: ENTITY_GUID + ) { errors { description type @@ -1050,11 +1006,11 @@ translationType: machine 扱いにくいバックログをクリアする必要がある場合は、次を使用してください。 - ``` + ```graphql mutation { syntheticsPurgePrivateLocationQueue ( - guid: YOUR_ENTITY_GUID - ) { + guid: ENTITY_GUID + ) { errors { description type @@ -1071,14 +1027,14 @@ translationType: machine - ``` + ```graphql mutation { syntheticsCreateSecureCredential ( - accountId: YOUR_ENTITY_GUID, + accountId: ACCOUNT_ID, description: "YourOptionalDescription", key: SECURE_CREDENTIAL_NAME, value: SECURE_CREDENTIAL_VALUE - ) { + ) { errors { description } @@ -1088,13 +1044,14 @@ translationType: machine - ``` + ```graphql mutation { - syntheticsUpdateSecureCredential ( - accountId: YOUR_ACCOUNT_ID, - description: "YourOptionalDescription", - key: SECURE_CREDENTIAL_NAME, - value: SECURE_CREDENTIAL_VALUE) { + syntheticsUpdateSecureCredential( + accountId: ACCOUNT_ID + description: "YourOptionalDescription" + key: SECURE_CREDENTIAL_NAME + value: SECURE_CREDENTIAL_VALUE + ) { createdAt lastUpdate errors { @@ -1106,12 +1063,12 @@ translationType: machine - ``` + ```graphql mutation { syntheticsDeleteSecureCredential ( - accountId: YOUR_ACCOUNT_ID, + accountId: ACCOUNT_ID, key: SECURE_CREDENTIAL_NAME - ) { + ) { errors { description } @@ -1127,13 +1084,13 @@ translationType: machine - ``` + ```graphql mutation { syntheticsCreateOnceMonitorDowntime ( - accountId: NR_ACCOUNT_ID, + accountId: ACCOUNT_ID, name: "MonitorDowntimeName", monitorGuids: ["OptionalMonitorEntityGuid", "OptionalMonitorEntityGuid"], - timezone: "Timezone", + timezone: "TIMEZONE", startTime: "yyyy-MM-ddTHH:mm:ss", endTime: "yyyy-MM-ddTHH:mm:ss" ) { @@ -1150,13 +1107,13 @@ translationType: machine - ``` + ```graphql mutation { syntheticsCreateDailyMonitorDowntime ( - accountId: NR_ACCOUNT_ID, + accountId: ACCOUNT_ID, name: "MonitorDowntimeName", monitorGuids: ["OptionalMonitorEntityGuid", "AnotherOptionalMonitorEntityGuid"], - timezone: "Timezone", + timezone: "TIMEZONE", startTime: "yyyy-MM-ddTHH:mm:ss", endTime: "yyyy-MM-ddTHH:mm:ss", endRepeat: { @@ -1181,13 +1138,13 @@ translationType: machine - ``` + ```graphql mutation { syntheticsCreateWeeklyMonitorDowntime ( - accountId: NR_ACCOUNT_ID, + accountId: ACCOUNT_ID, name: "MonitorDowntimeName", monitorGuids: ["OptionalMonitorEntityGuid", "AnotherOptionalMonitorEntityGuid"], - timezone: "Timezone", + timezone: "TIMEZONE", startTime: "yyyy-MM-ddTHH:mm:ss", endTime: "yyyy-MM-ddTHH:mm:ss", endRepeat: { @@ -1214,13 +1171,13 @@ translationType: machine - ``` + ```graphql mutation { syntheticsCreateMonthlyMonitorDowntime ( - accountId: NR_ACCOUNT_ID, + accountId: ACCOUNT_ID, name: "MonitorDowntimeName", monitorGuids: ["OptionalMonitorEntityGuid", "AnotherOptionalMonitorEntityGuid"], - timezone: "Timezone", + timezone: "TIMEZONE", startTime: "yyyy-MM-ddTHH:mm:ss", endTime: "yyyy-MM-ddTHH:mm:ss", endRepeat: { @@ -1259,19 +1216,19 @@ translationType: machine - ``` + ```graphql mutation { syntheticsEditMonitorDowntime ( guid: "MonitorDowntimeEntityGuid", name: "MONITOR_DOWNTIME_NAME", monitorGuids: ["OptionalMonitorEntityGuid", "AnotherOptionalMonitorEntityGuid"], once: { - timezone: "Timezone", + timezone: "TIMEZONE", startTime: "yyyy-MM-ddTHH:mm:ss", endTime: "yyyy-MM-ddTHH:mm:ss" }, daily: { - timezone: "Timezone", + timezone: "TIMEZONE", startTime: "yyyy-MM-ddTHH:mm:ss", endTime: "yyyy-MM-ddTHH:mm:ss", endRepeat: { @@ -1280,7 +1237,7 @@ translationType: machine } }, weekly: { - timezone: "Timezone", + timezone: "TIMEZONE", startTime: "yyyy-MM-ddTHH:mm:ss", endTime: "yyyy-MM-ddTHH:mm:ss", endRepeat: { @@ -1290,7 +1247,7 @@ translationType: machine maintenanceDays: [WeekDaysEnums] }, monthly: { - timezone: "Timezone", + timezone: "TIMEZONE", startTime: "yyyy-MM-ddTHH:mm:ss", endTime: "yyyy-MM-ddTHH:mm:ss", endRepeat: { @@ -1330,7 +1287,7 @@ translationType: machine - ``` + ```graphql mutation { syntheticsDeleteMonitorDowntime ( guid: DOWNTIME_ENTITY_GUID diff --git a/src/i18n/content/jp/docs/change-tracking/change-tracking-view-analyze.mdx b/src/i18n/content/jp/docs/change-tracking/change-tracking-view-analyze.mdx index a0b4ae5e9bb..9923fab2300 100644 --- a/src/i18n/content/jp/docs/change-tracking/change-tracking-view-analyze.mdx +++ b/src/i18n/content/jp/docs/change-tracking/change-tracking-view-analyze.mdx @@ -21,6 +21,10 @@ New Relic の変更追跡機能を使用すると、デプロイなどの最近 ダッシュボードまたはエンティティの概要ページにアクセスしても、期待していた追跡された変更が表示されない場合は、時間ピッカーの選択を確認してください。あなたが見ている窓の外にそれがあるかもしれません。 + + それでも予期したマーカーが表示されない場合は、「変更追跡 (変更追跡) 機能」イベント[がグラフに基づいてどのように選択されるかについて詳しく、「グラフに含めるマーカーがどのように選択されるか」](#nrql-markers-inclusion)セクションを参照してください。わたし。 + + * **Entity sidebar:** 変更の表を表示するには、変更が記録されているエンティティの**Change tracking**をクリックします。 時間範囲セレクターとテーブルのフィルタリングおよび並べ替えオプションを備えています。 これらを使用して、変更の範囲を絞り込んだり、特定の変更を見つけたりします。 追跡された変更を表示するには、このページで選択した期間を調整する必要がある場合があります。また、デフォルトでは、テーブルは最大 2,000 件の変更のみを遅延読み込みします。フィルタリング、検索、期間の調整を行うときは、この点に留意してください。 * **New Relic & Detection:** 変更が問題に関連している場合は、 **Issues**ページの**Root Cause Analysis**セクションにリストされます。 @@ -181,6 +185,64 @@ GraphQL を使用してマーカーを作成した後、[クエリ ビルダー] +#### チャートに含めるマーカーの選択方法 [#nrql-markers-inclusion] + +ほとんどのチャートは NRQL クエリによって駆動され、タイルの右上隅にある 3 つのドットをクリックすると表示できます。 クエリを操作するときは、次の手順に従って、結果のグラフに含めるマーカーを決定します。 + +1. クエリで直接言及されているエンティティと関連エンティティの両方を含む関連エンティティのセットを導出します。 詳細については、以下のセクションを参照してください。 +2. このエンティティ セットに対して記録された変更追跡 (変更追跡機能) イベントごとにマーカーをペイントし、最大 5,000 イベントの制限でマーカーをプロットします。 + +チャートに関連するエンティティは、次のロジックに基づいて NRQL クエリから派生します。 + +* `IN`または`=`演算子を使用してチャートのクエリで直接指定されたエンティティ(例: `WHERE entity.guid IN ('MTE2NjAxMzJ8QVBNfEFQUExJQ0FUSU9OfDEyMDk1MjY5')`句を含むクエリ)。 ここでは`entity.guid`例として使用しますが、クエリのエンティティを明示的に指定するために他のプロパティを使用することもできます。 彼らです: + + * `entity.guid` + * `entityGuid` + * `entity.name` + * `entityName` + * `appName` + * `service.name` + +* 上記の方法で指定されたエンティティに[関連する](https://docs.newrelic.com/docs/new-relic-solutions/new-relic-one/core-concepts/what-entity-new-relic/#related-entities)エンティティ。 次の関係タイプのみが考慮されます。 + + * `CALLS` + * `SERVES` + * `IS` + * `CONTAINS` + * `HOSTS` + +**チャートの NRQL クエリは現在、単一のアカウントに限定されている**ことに注意してください。 つまり、複数のアカウントに属するエンティティ GUID を指定すると、1 つのアカウントのマーカーのみが視覚化されます。 + +たとえば、チャートのクエリが次のようになっているとします。 + +``` +FROM Transaction SELECT count(*) WHERE entityGuid IN ('MTE2NjAxMzJ8QVBNfEFQUExJQ0FUSU9OfDg0MTY1OTI','MTEwNjI2OTl8QVBNfEFQUExJQ0FUSU9OfDg5ODEwMDk5') TIMESERIES MAX SINCE 2 weeks AGO +``` + +両方のエンティティからのマーカーがチャート上に表示されます。 さらに、関連エンティティからのマーカーもチャートに含まれます。 関連エンティティのリストを確認するには、次の例のような GraphQL クエリを実行します。 + +``` +{ + actor { + entity(guid: "MTEwNjI2OTl8QVBNfEFQUExJQ0FUSU9OfDg5ODEwMDk5") { + relatedEntities( + filter: {relationshipTypes: {include: [CALLS, SERVES, IS, CONTAINS, HOSTS]}} + ) { + results { + type + source { + guid + } + target { + guid + } + } + } + } + } +} +``` + ### NerdGraph(GraphQL) [#graphql-markers] [NerdGraph エクスプローラー](/docs/apis/nerdgraph/get-started/nerdgraph-explorer#find)で次の NerdGraph クエリを試してください。 diff --git a/src/i18n/content/jp/docs/network-performance-monitoring/setup-performance-monitoring/snmp-performance-monitoring.mdx b/src/i18n/content/jp/docs/network-performance-monitoring/setup-performance-monitoring/snmp-performance-monitoring.mdx index 2fd5134678c..15d3e5299de 100644 --- a/src/i18n/content/jp/docs/network-performance-monitoring/setup-performance-monitoring/snmp-performance-monitoring.mdx +++ b/src/i18n/content/jp/docs/network-performance-monitoring/setup-performance-monitoring/snmp-performance-monitoring.mdx @@ -17,40 +17,26 @@ translationType: machine 始める前に、 [New Relic アカウントにサインアップする](https://newrelic.com/signup)必要があります。エージェントを手動でインストールすることを選択した場合は、以下も必要です。 * NewRelic[アカウントID](/docs/accounts/accounts-billing/account-setup/account-id) 。 - -* New Relic - - - - 。 +* New Relic 。 SNMP 監視エージェントをDockerまたは Podman のコンテナーとしてデプロイすることをお勧めします。 必要であれば、Linux でベアメタル サービスとしてインストールすることもできます。 - + SNMP 監視用のエージェントをデプロイするには、Docker コンテナを使用することをお勧めします。これを使用するには、次のものが必要です。 * Docker[がサポートする Linux Docker](https://docs.docker.com/engine/install/#supported-platforms)プラットフォーム の 1 つに がインストールされます。 * コマンドライン経由で新しいコンテナを起動する機能。 - + Podman コンテナを使用してエージェントをリリースする場合は、次のものが必要です。 * [PodmanがサポートするLinuxプラットフォーム](https://podman.io/docs/installation#installing-on-linux)のいずれかにインストールされたPodman * コマンドライン経由で新しいコンテナを起動する機能 - + Linux を使用してエージェントをサービスとしてインストールする場合は、次のものが必要です。 * ホストへの SSH アクセス @@ -63,7 +49,7 @@ SNMP 監視エージェントをDockerまたは Podman のコンテナーとし * Debian 12 (本の虫) * Debian 11 (ブルズアイ) * Debian 10 (バスター) - * レッドハットエンタープライズリナックス9 + * RedHat Enterprise Linux 9 から 9.5 まで * Ubuntu 20.04 (フォーカル LTS) * Ubuntu 22.04 (ジャミー LTS) * Ubuntu 23.04 (月版) @@ -79,10 +65,7 @@ SNMP 監視エージェントをDockerまたは Podman のコンテナーとし ネットワーク環境とネットワーク デバイス自体にも前提条件があります。 - + エージェントのホスト IP アドレスからの SNMP ポーリングを受け入れるようにターゲット デバイスを構成する必要があります。 基本的な SNMP 設定のサンプルはここにあります (これはすべてを網羅したリストではありません)。 * シスコ @@ -91,18 +74,13 @@ SNMP 監視エージェントをDockerまたは Podman のコンテナーとし * [NX-OS](https://www.cisco.com/c/en/us/td/docs/switches/datacenter/sw/4_2/nx-os/system_management/configuration/guide/sm_nx_os_cli/sm_9snmp.html#wp1056898) * ジュニパー - * [Junos OS](https://www.juniper.net/documentation/us/en/software/junos/network-mgmt/topics/topic-map/configuring-basic-snmp.html) * パロアルト - * [PAN-OS](https://docs.paloaltonetworks.com/pan-os/10-1/pan-os-web-interface-help/device/device-setup-operations/enable-snmp-monitoring.html) - + [SNMP のネットワーク セキュリティの前提条件](/install/npm)を確認します。 @@ -111,10 +89,7 @@ SNMP 監視エージェントをDockerまたは Podman のコンテナーとし 当社のネットワーク監視コンテナは、Traps と Informs の両方を含む、SNMP のすべてのメジャー バージョン (v1、v2c、および v3) をサポートしています。さらに、SNMP v3 は次の認証およびプライバシー設定をサポートしています。 - +
- ```"unauthorized", { - extensions: { nerdGraphExtensions: { errorClass: "ACCESS_DENIED" } } - } + ``` + "unauthorized", { + extensions: { nerdGraphExtensions: { errorClass: "ACCESS_DENIED" } } + } ```
``` - cannot create subaccount -- multiple parent account ids found. Please use Partnership API.", { - extensions: { nerdGraphExtensions: { errorClass: "SERVER_ERROR" } } - } + "cannot create subaccount -- multiple parent account ids found. Please use Partnership API.", { + extensions: { nerdGraphExtensions: { errorClass: "SERVER_ERROR" } } + } ```
@@ -278,51 +253,33 @@ SNMP 監視エージェントをDockerまたは Podman のコンテナーとし ## NewRelicでSNMPデータ監視を設定する [#setup-snmp-monitoring] -
+
- - 1. に行く **[one.newrelic.com > All capabilities](https://one.newrelic.com/all-capabilities) > Add more data** + + 1. に行く **[one.newrelic.com > All capabilities](https://one.newrelic.com/all-capabilities) > Add more data** 2. **Network**が表示されるまで下にスクロールし、 **SNMP**をクリックします。 3. ガイド付きインストール プロセスで説明されている手順に従ってください。 docker 、Podman、Linux を使用できます。 - + SNMPデータを追加する - SNMP guided setup + SNMP guided setup
- **[one.newrelic.com > All capabilities](https://one.newrelic.com/ll-capabilities) > Add more data > Network > SNMP** SNMP データ監視を設定します。 + **[one.newrelic.com > All capabilities](https://one.newrelic.com/ll-capabilities) > Add more data > Network > SNMP** SNMP データ監視を設定します。
- 4. New Relic UI でネットワーク パフォーマンス データを調査します。 + 4. New Relic UI でネットワーク パフォーマンス データを調査します。
- + SNMP エージェントの手動インストールについて読む前に、エラーを避けるためにガイド付きインストール プロセスの使用を検討してください。 - + SNMPデータを追加する @@ -346,13 +303,10 @@ SNMP 監視エージェントをDockerまたは Podman のコンテナーとし 1. Dockerがインストールされている Linux ホストで、次のいずれかを実行して **ktranslate** イメージをダウンロードします。 * [Dockerハブ](https://hub.docker.com/): - ```shell docker pull kentik/ktranslate:v2 ``` - * [Quay.io](https://quay.io/) : - ```shell docker pull quay.io/kentik/ktranslate:v2 ``` @@ -366,7 +320,7 @@ SNMP 監視エージェントをDockerまたは Podman のコンテナーとし docker rm -v $id ``` - 3. `snmp-base.yaml`ファイルを編集し、 `discovery.cidrs`属性と`discovery.default_communities`属性をネットワークに適切な値に定義します。 検出されたすべての MIB を`global.mibs_enabled`属性に自動的に追加するには、 `discovery.add_mibs: true`を設定することをお勧めします。また、[セキュリティ体制が強化されたデバイス](/docs/network-performance-monitoring/troubleshooting/snmp-discovery-no-devices)での検出の問題を回避するには、 `discovery.check_all_ips: true`設定することをお勧めします。 + 3. `snmp-base.yaml`ファイルを編集し、 `discovery.cidrs`属性と`discovery.default_communities`属性をネットワークに適切な値に定義します。 検出されたすべての MIB を`global.mibs_enabled`属性に自動的に追加するには、 `discovery.add_mibs: true`を設定することをお勧めします。また、[セキュリティ体制が強化されたデバイス](/docs/network-performance-monitoring/troubleshooting/snmp-discovery-no-devices)での検出の問題を回避するには、 `discovery.check_all_ips: true`を設定することをお勧めします。 4. ネットワーク監視エージェントを起動して、ターゲット デバイスをポーリングし、受信 SNMP トラップ メッセージをリッスンします。`$CONTAINER_SERVICE`をコンテナの一意の名前に置き換え、 `$YOUR_NR_LICENSE_KEY`と`$YOUR_NR_ACCOUNT_ID`を実際の値に置き換えます。 @@ -389,14 +343,13 @@ SNMP 監視エージェントをDockerまたは Podman のコンテナーとし すべての SNMP ポーリング エージェントはパッシブ リスナーを実行するため、トラップ収集専用のエージェントを実行する必要はありません。 デフォルトでは、コンテナはホストのポート 162 (UDP) をリッスンしますが、 docker run コマンド - `-p 162:1620/udp`で[公開されたポート](https://docs.docker.com/network/#published-ports)マッピングを変更できます。 専用のコンテナを設定する場合は、 [このセクション](/docs/network-performance-monitoring/setup-performance-monitoring/snmp-performance-monitoring/#optional-installation-for-snmp-traps)の手順に従ってください。 - 5. New Relic UI でネットワーク パフォーマンス データを調査します。 + 5. New Relic UI でネットワーク パフォーマンス データを調査します。 1. Podman がインストールされているホストで、次のコマンドを実行して**ktranslate**イメージをダウンロードします。 * [Dockerハブ](https://hub.docker.com/): - ```shell podman pull docker.io/kentik/ktranslate:v2 ``` @@ -410,7 +363,7 @@ SNMP 監視エージェントをDockerまたは Podman のコンテナーとし podman rm -v $id ``` - 3. `snmp-base.yaml`ファイルを編集し、 `discovery.cidrs`属性と`discovery.default_communities`属性をネットワークに適切な値に定義します。 検出されたすべての MIB を`global.mibs_enabled`属性に自動的に追加するには、 `discovery.add_mibs: true`を設定することをお勧めします。また、[セキュリティ体制が強化されたデバイス](/docs/network-performance-monitoring/troubleshooting/snmp-discovery-no-devices)での検出の問題を回避するには、 `discovery.check_all_ips: true`設定することをお勧めします。 + 3. `snmp-base.yaml`ファイルを編集し、 `discovery.cidrs`属性と`discovery.default_communities`属性をネットワークに適切な値に定義します。 検出されたすべての MIB を`global.mibs_enabled`属性に自動的に追加するには、 `discovery.add_mibs: true`を設定することをお勧めします。また、[セキュリティ体制が強化されたデバイス](/docs/network-performance-monitoring/troubleshooting/snmp-discovery-no-devices)での検出の問題を回避するには、 `discovery.check_all_ips: true`を設定することをお勧めします。 4. ルートレス Podman コンテナーは 1024 未満のポートにバインドできません。 トラップ メッセージのパケット リダイレクトを処理するには、UDP ポート 162 に到着するパケットをターゲットとする`iptables`ルールを作成する必要があります。 @@ -439,21 +392,18 @@ SNMP 監視エージェントをDockerまたは Podman のコンテナーとし すべての SNMP ポーリング エージェントはパッシブ リスナーを実行するため、トラップ収集専用のエージェントを実行する必要はありません。 デフォルトでは、コンテナはホストのポート 162 (UDP) をリッスンしますが、 docker run コマンド - `-p 162:1620/udp`で[公開されたポート](https://docs.docker.com/network/#published-ports)マッピングを変更できます。 専用のコンテナを設定する場合は、 [このセクション](/docs/network-performance-monitoring/setup-performance-monitoring/snmp-performance-monitoring/#optional-installation-for-snmp-traps)の手順に従ってください。 - 6. New Relic UI でネットワーク パフォーマンス データを調査します。 + 6. New Relic UI でネットワーク パフォーマンス データを調査します。 1. パッケージマネージャーに応じて、以下のいずれかのコマンドを使用してインストールします。 `ktranslate` * Yum: - ```shell curl -s https://packagecloud.io/install/repositories/kentik/ktranslate/script.rpm.sh | sudo bash && \ sudo yum install ktranslate ``` - * Apt: - ```shell curl -s https://packagecloud.io/install/repositories/kentik/ktranslate/script.deb.sh | sudo bash && \ sudo apt-get install ktranslate @@ -525,7 +475,7 @@ SNMP 監視エージェントをDockerまたは Podman のコンテナーとし sudo systemctl restart ktranslate ``` - 6. New Relic UI でネットワーク パフォーマンス データを調査します。 + 6. New Relic UI でネットワーク パフォーマンス データを調査します。 @@ -541,10 +491,7 @@ SNMP 監視エージェントをDockerまたは Podman のコンテナーとし 1. `v3`トラップを`163`などの別のポート経由で送信するように設定します。 2. dockerコンテナーの引数を `-p 162:1620/udp` から `-p $src:1620/udp` に少し変更します。ここで、`$src` は `v3` トラップが到着するポートです。 - + @@ -709,6 +656,6 @@ SNMP データを補完するために、さらに多くのエージェントを * ネットワークがどのように使用されているかをよりよく把握するには、[ネットワーク フロー データの監視を設定します](/docs/network-performance-monitoring/setup-performance-monitoring/network-flow-monitoring)。 * デバイスからシステムメッセージを洞察するには、 [ネットワークsyslogコレクションを設定](/docs/network-performance-monitoring/setup-performance-monitoring/network-syslog-monitoring)します。 -
+
- + \ No newline at end of file diff --git a/src/i18n/content/kr/docs/apis/intro-apis/new-relic-api-keys.mdx b/src/i18n/content/kr/docs/apis/intro-apis/new-relic-api-keys.mdx index 316dafc6e24..4dcbf627306 100644 --- a/src/i18n/content/kr/docs/apis/intro-apis/new-relic-api-keys.mdx +++ b/src/i18n/content/kr/docs/apis/intro-apis/new-relic-api-keys.mdx @@ -282,7 +282,7 @@ API 키를 순환하는 가장 일반적인 4가지 방법은 다음과 같습 2. [**one.newrelic.com/api-keys**](https://one.newrelic.com/api-keys) (또는 EU 데이터센터의 경우 [**one.eu.newrelic.com/api-keys**](https://one.eu.newrelic.com/api-keys) )으로 이동하세요. - 3. 페이지 왼쪽에서 **Looking for other keys?** 섹션을 찾아 교체하려는 키 유형에 대한 링크를 클릭합니다. + 3. 페이지 오른쪽에서 **Looking for other keys?** 섹션을 찾아 순환하려는 키 유형의 링크를 클릭하세요. Screenshot of links to Insights keys @@ -306,7 +306,7 @@ API 키를 순환하는 가장 일반적인 4가지 방법은 다음과 같습 2. [**one.newrelic.com/api-keys**](https://one.newrelic.com/api-keys) (또는 EU 데이터센터의 경우 [**one.eu.newrelic.com/api-keys**](https://one.eu.newrelic.com/api-keys) )으로 이동하세요. - 3. 페이지 왼쪽에서 **Looking for other keys?** 섹션을 찾아 **REST API key** 클릭합니다. + 3. 페이지 오른쪽에서 **Looking for other keys?** 섹션을 찾아 **REST API key** 클릭하세요. Screenshot of links to legacy REST API keys diff --git a/src/i18n/content/kr/docs/apis/nerdgraph/examples/export-import-dashboards-using-api.mdx b/src/i18n/content/kr/docs/apis/nerdgraph/examples/export-import-dashboards-using-api.mdx index c52270ce21f..4bef5e38a4e 100644 --- a/src/i18n/content/kr/docs/apis/nerdgraph/examples/export-import-dashboards-using-api.mdx +++ b/src/i18n/content/kr/docs/apis/nerdgraph/examples/export-import-dashboards-using-api.mdx @@ -12,7 +12,7 @@ translationType: machine [NerdGraph](/docs/apis/nerdgraph/get-started/introduction-new-relic-nerdgraph) 의 쿼리 및 변형을 사용하여 [대시보드](/docs/query-your-data/explore-query-data/dashboards/introduction-dashboards) 를 내보내고 새 계정으로 가져올 수 있습니다. - (를[) 이미지로](/docs/apis/nerdgraph/examples/export-dashboards-pdfpng-using-api) 내보낼 수도 있습니다. + (를[) 이미지로](/docs/apis/nerdgraph/examples/export-dashboards-pdfpng-using-api) 내보낼 수도 있습니다. 이렇게 하려면: @@ -26,7 +26,7 @@ translationType: machine 다음 쿼리를 사용하여 기존 대시보드 목록을 검색합니다. -``` +```graphql { actor { entitySearch(queryBuilder: {type: DASHBOARD}) { @@ -48,10 +48,10 @@ translationType: machine 다음 쿼리를 사용하여 내보낸 다음 출력에서 대시보드의 엔터티 정보를 추출합니다. -``` +```graphql { actor { - entity(guid: "your_guid_xxxxxxx") { + entity(guid: "YOUR_DASHBOARD_GUID") { ... on DashboardEntity { name permissions @@ -72,19 +72,15 @@ translationType: machine GraphiQL 출력의 엔티티 정보 예시: -dashboards_api_entity_section.png +dashboards_api_entity_section.png ## 대시보드를 새 계정으로 가져오기 [#import] 다음 변형을 사용하여 대시보드를 다른 계정으로 가져옵니다. -``` +```graphql mutation create($dashboard: DashboardInput!) { - dashboardCreate(accountId: your_new_AccountID, dashboard: $dashboard) { + dashboardCreate(accountId: YOUR_NEW_ACCOUNT_ID, dashboard: $dashboard) { entityResult { guid name @@ -104,8 +100,4 @@ mutation create($dashboard: DashboardInput!) { 3. `entity` 을 `dashboard` 로 변경합니다. - dashboards_api_paste_entity.png + dashboards_api_paste_entity.png \ No newline at end of file diff --git a/src/i18n/content/kr/docs/apis/nerdgraph/examples/manage-accounts-nerdgraph.mdx b/src/i18n/content/kr/docs/apis/nerdgraph/examples/manage-accounts-nerdgraph.mdx index 1b24920c9c3..b0e37156616 100644 --- a/src/i18n/content/kr/docs/apis/nerdgraph/examples/manage-accounts-nerdgraph.mdx +++ b/src/i18n/content/kr/docs/apis/nerdgraph/examples/manage-accounts-nerdgraph.mdx @@ -59,7 +59,9 @@ NerdGraph를 사용하여 계정을 관리하기 전에 다음 사항을 이해 ```graphql mutation { - accountManagementCreateAccount(managedAccount: {name: "NEW_ACCOUNT_NAME"}) { + accountManagementCreateAccount( + managedAccount: {name: "NEW_ACCOUNT_NAME"} + ) { managedAccount { id name @@ -73,7 +75,9 @@ mutation { ```graphql mutation { - accountManagementCreateAccount(managedAccount: {name: "NEW_ACCOUNT_NAME", regionCode: "eu01"}) { + accountManagementCreateAccount( + managedAccount: { name: "NEW_ACCOUNT_NAME", regionCode: "eu01" } + ) { managedAccount { id name @@ -89,7 +93,9 @@ mutation { ```graphql mutation { - accountManagementUpdateAccount(managedAccount: {name: "UPDATED_ACCOUNT_NAME", id: 101010101}) { + accountManagementUpdateAccount( + managedAccount: { name: "UPDATED_ACCOUNT_NAME", id: 101010101 } + ) { managedAccount { id name @@ -144,9 +150,10 @@ mutation {
@@ -158,9 +165,9 @@ mutation { diff --git a/src/i18n/content/kr/docs/apis/nerdgraph/examples/manage-live-chart-urls-via-api.mdx b/src/i18n/content/kr/docs/apis/nerdgraph/examples/manage-live-chart-urls-via-api.mdx index 00f9dd306af..f18ca8e6f2e 100644 --- a/src/i18n/content/kr/docs/apis/nerdgraph/examples/manage-live-chart-urls-via-api.mdx +++ b/src/i18n/content/kr/docs/apis/nerdgraph/examples/manage-live-chart-urls-via-api.mdx @@ -25,7 +25,7 @@ translationType: machine 다음 쿼리를 사용하여 기존 라이브 차트 URL 목록을 검색합니다. -``` +```graphql { actor { dashboard { @@ -49,9 +49,9 @@ translationType: machine 다음 쿼리를 사용하여 지정한 라이브 차트 URL을 취소합니다. -``` +```graphql mutation { - dashboardWidgetRevokeLiveUrl(uuid: "") { + dashboardWidgetRevokeLiveUrl(uuid: "LIVE_CHART_UUID") { uuid errors { description @@ -59,4 +59,4 @@ mutation { } } } -``` +``` \ No newline at end of file diff --git a/src/i18n/content/kr/docs/apis/nerdgraph/examples/mobile-monitoring-config-nerdgraph.mdx b/src/i18n/content/kr/docs/apis/nerdgraph/examples/mobile-monitoring-config-nerdgraph.mdx index 7b58130dae0..5e0b0524078 100644 --- a/src/i18n/content/kr/docs/apis/nerdgraph/examples/mobile-monitoring-config-nerdgraph.mdx +++ b/src/i18n/content/kr/docs/apis/nerdgraph/examples/mobile-monitoring-config-nerdgraph.mdx @@ -27,17 +27,15 @@ mutation CreateExampleMobileApplication($accountId: Int!, $name: String!) { name } } - ``` 변수: -```JSON +```json { "accountId": Int!, "name": String! } - ``` ## 애플리케이션 토큰 검색 [#get-mobile-token] @@ -64,7 +62,7 @@ query FetchMobileApplicationToken($guid: EntityGuid!) { 변수: -```JSON +```json { "guid": EntityGuid! } @@ -77,7 +75,10 @@ query FetchMobileApplicationToken($guid: EntityGuid!) { 돌연변이: ```graphql -mutation UpdateMobileApplicationAlias($guid: EntityGuid!, $settings: $AgentApplicationSettingsUpdateInput) { +mutation UpdateMobileApplicationAlias( + $guid: EntityGuid!, + $settings: $AgentApplicationSettingsUpdateInput +) { agentApplicationSettingsUpdate(guid: $guid, settings: $settings) { alias guid @@ -92,7 +93,7 @@ mutation UpdateMobileApplicationAlias($guid: EntityGuid!, $settings: $AgentAppli 변수: -```JSON +```json { "guid": EntityGuid!, "settings": { @@ -103,12 +104,15 @@ mutation UpdateMobileApplicationAlias($guid: EntityGuid!, $settings: $AgentAppli ## 모바일 모니터링 구성 예시 [#configure-mobile-application] -구성 방법의 예는 다음과 같습니다. NerdGraph를 통한 설정: +다음은 NerdGraph를 통해 설정을 구성하는 방법의 예입니다. 돌연변이: ```graphql -mutation UpdateMobileSettingsExample($guid: EntityGuid!, $settings: AgentApplicationSettingsUpdateInput!) { +mutation UpdateMobileSettingsExample( + $guid: EntityGuid! + $settings: AgentApplicationSettingsUpdateInput! +) { agentApplicationSettingsUpdate(guid: $guid, settings: $settings) { guid errors { @@ -139,7 +143,7 @@ mutation UpdateMobileSettingsExample($guid: EntityGuid!, $settings: AgentApplica 변수: -```JSON +```json { "guid": EntityGuid!, "settings": { @@ -166,4 +170,4 @@ mutation UpdateMobileSettingsExample($guid: EntityGuid!, $settings: AgentApplica } } } -``` +``` \ No newline at end of file diff --git a/src/i18n/content/kr/docs/apis/nerdgraph/examples/nerdgraph-cloud-integrations-api-tutorial.mdx b/src/i18n/content/kr/docs/apis/nerdgraph/examples/nerdgraph-cloud-integrations-api-tutorial.mdx index e286a797738..6841fddbd8e 100644 --- a/src/i18n/content/kr/docs/apis/nerdgraph/examples/nerdgraph-cloud-integrations-api-tutorial.mdx +++ b/src/i18n/content/kr/docs/apis/nerdgraph/examples/nerdgraph-cloud-integrations-api-tutorial.mdx @@ -35,20 +35,17 @@ NerdGraph GraphiQL 탐색기에 액세스하려면: 쿼리는 데이터만 가져오기 위한 요청입니다(부작용 없음). NerdGraph의 쿼리는 정적이지 않습니다. 즉, 필요에 따라 더 많거나 적은 데이터를 요청할 수 있습니다. 각 쿼리에 대해 스키마에서 지원하는 한 검색하려는 데이터를 정확히 지정할 수 있습니다. - + 이 쿼리는 인프라 데이터에서 사용 가능한 모든 공급자 계정 목록을 반환합니다. 공급자에 따라 추가 속성을 요청할 수 있습니다. 예를 들어 GCP의 경우 새 GCP 프로젝트를 New Relic에 연결할 때 필요한 `serviceAccountId` 속성을 요청할 수도 있습니다. **Anonymous:** - ``` + ```graphql { actor { - account(id: ) { + account(id: YOUR_ACCOUNT_ID) { cloud { providers { id @@ -68,10 +65,10 @@ NerdGraph GraphiQL 탐색기에 액세스하려면: **Named:** - ``` + ```graphql query cloudProviders { actor { - account(id: ) { + account(id: YOUR_ACCOUNT_ID) { cloud { providers { id @@ -85,16 +82,13 @@ NerdGraph GraphiQL 탐색기에 액세스하려면: ``` - + 이 쿼리는 AWS 통합을 위한 특정 공급자 계정에 대한 정보를 반환합니다. 모니터링할 수 있는 통합 목록과 함께 `id` , `name` , `slug` 속성이 요청됩니다. - ``` + ```graphql { actor { - account(id: ) { + account(id: YOUR_ACCOUNT_ID) { cloud { provider(slug: "aws") { id @@ -113,16 +107,13 @@ NerdGraph GraphiQL 탐색기에 액세스하려면: ``` - + 이 쿼리는 공급자의 특정 클라우드 서비스 통합에 대한 정보를 반환합니다. 이 예에서 통합은 [AWS ALB 모니터링 통합](/docs/integrations/amazon-integrations/aws-integrations-list/aws-alb-monitoring-integration) 이고 공급자는 AWS입니다. `id` , `name` , `slug` 및 `isAllowed` 속성은 사용 가능한 구성 매개변수와 함께 요청됩니다. - ``` + ```graphql { actor { - account(id: ) { + account(id: YOUR_ACCOUNT_ID) { cloud { provider(slug: "aws") { service(slug: "alb") { @@ -139,16 +130,13 @@ NerdGraph GraphiQL 탐색기에 액세스하려면: ``` - + 이 쿼리는 New Relic 계정으로 활성화된 클라우드 계정 목록을 반환합니다. (귀하의 클라우드 계정은 New Relic 계정과 특정 공급자 계정을 통합과 연결합니다.) 동일한 클라우드 공급자가 있더라도 동일한 New Relic 계정에서 여러 클라우드 공급자 계정을 활성화할 수 있습니다. - ``` + ```graphql { actor { - account(id: ) { + account(id: YOUR_ACCOUNT_ID) { cloud { linkedAccounts { id @@ -166,18 +154,15 @@ NerdGraph GraphiQL 탐색기에 액세스하려면: ``` - + 이 쿼리는 `name` , `providerId` 속성 및 모니터링에 사용할 수 있는 클라우드 통합 목록을 포함하여 연결된 계정에 대한 정보를 반환합니다. - ``` + ```graphql { actor { - account(id: ) { + account(id: YOUR_ACCOUNT_ID) { cloud { - linkedAccount(id: ) { + linkedAccount(id: LINKED_CLOUD_ACCOUNT_ID) { name provider { id @@ -197,16 +182,13 @@ NerdGraph GraphiQL 탐색기에 액세스하려면: ``` - + 이 쿼리는 모든 공급자 클라우드 계정에 대해 모니터링되는 모든 통합을 반환합니다. - ``` + ```graphql { actor { - account(id: ) { + account(id: YOUR_ACCOUNT_ID) { cloud { linkedAccounts { name @@ -232,24 +214,21 @@ NerdGraph GraphiQL 탐색기에 액세스하려면: ``` - + 이 쿼리는 특정 연결 계정의 특정 통합에 대한 정보를 반환합니다. - ``` + ```graphql { actor { - account(id: ) { + account(id: YOUR_ACCOUNT_ID) { cloud { - linkedAccount(id: ) { + linkedAccount(id: LINKED_CLOUD_ACCOUNT_ID) { name provider { id name } - integration(id: ) { + integration(id: INTEGRATION_ID) { id name service { @@ -273,36 +252,33 @@ NerdGraph GraphiQL 탐색기에 액세스하려면: 돌연변이는 서버에서 데이터를 생성하거나 업데이트하는 것과 같은 부작용이 있는 요청입니다. 변형에는 키워드 `mutation` 와 변형 이름이 필요합니다. NerdGraph 돌연변이는 가능한 모든 돌연변이의 하위 집합으로 제한됩니다. - + 이 변형을 통해 클라우드 공급자 계정을 New Relic 계정에 연결하여 하나 이상의 연결된 계정을 만들 수 있습니다. 하나의 특정 클라우드 제공자 계정(예: `aws` )을 New Relic 계정에 연결하거나 여러 클라우드 제공자 계정을 하나의 New Relic 계정에 연결할 수 있습니다. **Required:** - * 매개변수 `` 은(는) 필수이며 비워 둘 수 없습니다. New Relic 계정에서 고유해야 합니다. + * 매개변수 `PROVIDER_ACCOUNT_NAME` 은(는) 필수이며 비워 둘 수 없습니다. New Relic 계정에서 고유해야 합니다. * 다른 매개변수는 공급자(AWS, GCP 및 Azure)에 따라 다르며 또한 필수입니다. 다음 섹션에서는 각 공급자 계정에 필요한 매개변수를 확인할 수 있습니다. 계정을 연결한 후 `createdAt` 및 `updatedAt` 값이 동일합니다. - ``` + ```graphql mutation { cloudLinkAccount( accounts: { - accountId: , + accountId: YOUR_ACCOUNT_ID, aws: [{ - name: , - + name: PROVIDER_ACCOUNT_NAME, + # other parameters }] azure: [{ - name: , - + name: PROVIDER_ACCOUNT_NAME, + # other parameters }] gcp: [{ - name: , - + name: PROVIDER_ACCOUNT_NAME, + # other parameters }] } ) { @@ -319,20 +295,17 @@ NerdGraph GraphiQL 탐색기에 액세스하려면: ``` - + 이 변형은 AWS 공급자 계정을 New Relic 계정에 연결합니다. - ``` + ```graphql mutation { cloudLinkAccount( - accountId: , + accountId: YOUR_ACCOUNT_ID, accounts: { aws: [{ - name: , - arn: + name: PROVIDER_ACCOUNT_NAME, + arn: AWS_ROLE_ARN }] } ) { @@ -349,20 +322,17 @@ NerdGraph GraphiQL 탐색기에 액세스하려면: ``` - + 이 변형은 CloudWatch Metric Streams를 통해 데이터를 전송하는 AWS 계정을 New Relic 계정에 연결합니다. - ``` + ```graphql mutation { cloudLinkAccount( - accountId: , + accountId: YOUR_ACCOUNT_ID, accounts: { aws: [{ - name: , - arn: , + name: PROVIDER_ACCOUNT_NAME, + arn: AWS_ROLE_ARN, metricCollectionMode: PUSH }] } @@ -380,23 +350,20 @@ NerdGraph GraphiQL 탐색기에 액세스하려면: ``` - + 이 변형은 Microsoft Azure 클라우드 구독을 New Relic 계정에 연결합니다. - ``` + ```graphql mutation { cloudLinkAccount( - accountId: , + accountId: YOUR_ACCOUNT_ID, accounts: { azure: [{ - name: , - applicationId: , - clientSecret: , - tenantId: , - subscriptionId: + name: PROVIDER_ACCOUNT_NAME, + applicationId: AZURE_APP_ID, + clientSecret: AZURE_APP_KEY, + tenantId: AZURE_TENANT_ID, + subscriptionId: AZURE_SUBSCRIPTION_ID }] } ) { @@ -412,20 +379,17 @@ NerdGraph GraphiQL 탐색기에 액세스하려면: ``` - + 이 변형은 기존 Microsoft Azure 계정에서 클라이언트 암호를 순환합니다. - ``` + ```graphql mutation { cloudUpdateAccount( - accountId: + accountId: YOUR_ACCOUNT_ID accounts: { azure: { - linkedAccountId: , - clientSecret: + linkedAccountId: NR_LINKED_ACCOUNT_ID, + clientSecret: AZURE_SECRET_TOKEN } } ) { @@ -441,20 +405,17 @@ NerdGraph GraphiQL 탐색기에 액세스하려면: ``` - + 이 돌연변이는 GCP 프로젝트를 New Relic 계정에 연결합니다. - ``` + ```graphql mutation { cloudLinkAccount( - accountId: , + accountId: YOUR_ACCOUNT_ID, accounts: { gcp: [{ - name: , - projectId: + name: PROVIDER_ACCOUNT_NAME, + projectId: GCP_PROJECT_ID }] } ) { @@ -470,24 +431,21 @@ NerdGraph GraphiQL 탐색기에 액세스하려면: ``` - + 이 변형을 사용하면 하나 이상의 연결된 공급자 계정의 이름을 바꿀 수 있습니다. `name` 매개변수는 필수이며 비워둘 수 없으며 New Relic 계정 내에서 고유해야 합니다. - ``` + ```graphql mutation { cloudRenameAccount( - accountId: , + accountId: YOUR_ACCOUNT_ID, accounts: [ { - id: , - name: + id: LINKED_CLOUD_ACCOUNT_ID_1, + name: PROVIDER_ACCOUNT_NAME }, { - id: , - name: + id: LINKED_CLOUD_ACCOUNT_ID_2, + name: PROVIDER_ACCOUNT_NAME } ] ) { @@ -500,21 +458,18 @@ NerdGraph GraphiQL 탐색기에 액세스하려면: ``` - + 이 변형을 통해 기존 클라우드 계정에서 하나 이상의 특정 클라우드 통합을 모니터링할 수 있습니다. 이 변형을 통해 New Relic은 공급자 계정에서 활성화된 통합에 대한 데이터를 기록합니다. 각 공급자 계정에 대해 사용 가능한 각 서비스와 일치하는 다른 입력 매개변수에 액세스할 수 있습니다. - ``` + ```graphql mutation { cloudConfigureIntegration ( - accountId: , + accountId: YOUR_ACCOUNT_ID, integrations: { - : { - : [{ - linkedAccountId: , - + PROVIDER_SLUG : { + INTEGRATION_SLUG: [{ + linkedAccountId: LINKED_CLOUD_ACCOUNT_ID, + # other parameters }] } } @@ -535,23 +490,20 @@ NerdGraph GraphiQL 탐색기에 액세스하려면: ``` - + 연결된 제공자 계정이 많은 경우 동시에 여러 클라우드 계정에서 동일한 통합을 활성화할 수 있습니다. 작업 출력의 경우 통합 관련 구성 매개변수에 [GraphQL 조각](https://graphql.org/learn/queries/#fragments) 을 사용할 수 있습니다. - ``` + ```graphql mutation { cloudConfigureIntegration ( - accountId: , + accountId: YOUR_ACCOUNT_ID, integrations: { - : { - : [ - { linkedAccountId: }, - { linkedAccountId: } + PROVIDER_SLUG : { + INTEGRATION_SLUG : [ + { linkedAccountId: LINKED_CLOUD_ACCOUNT_ID_1 }, + { linkedAccountId: LINKED_CLOUD_ACCOUNT_ID_2 } ] } } @@ -572,31 +524,28 @@ NerdGraph GraphiQL 탐색기에 액세스하려면: ``` - + 여러 클라우드 계정이 연결된 경우 연결된 여러 클라우드 계정에서 동시에 여러 통합을 활성화할 수도 있습니다. 작업 출력의 경우 [GraphQL 조각](https://graphql.org/learn/queries/#fragments) 을 사용하여 통합 관련 구성 매개변수를 요청할 수 있습니다. - ``` + ```graphql mutation { cloudConfigureIntegration ( - accountId: , + accountId: YOUR_ACCOUNT_ID, integrations: { - : { - : [ - { linkedAccountId: } + PROVIDER_SLUG_1: { + INTEGRATION_SLUG_1: [ + { linkedAccountId: LINKED_CLOUD_ACCOUNT_ID_1 } ] - : [ - { linkedAccountId: } + INTEGRATION_SLUG_2: [ + { linkedAccountId: LINKED_CLOUD_ACCOUNT_ID_2 } ] }, - : { - : [ - { linkedAccountId: }, - { linkedAccountId: } + PROVIDER_SLUG_2: { + INTEGRATION_SLUG_3: [ + { linkedAccountId: LINKED_CLOUD_ACCOUNT_ID_3}, + { linkedAccountId: LINKED_CLOUD_ACCOUNT_ID_4} ] } } @@ -617,25 +566,22 @@ NerdGraph GraphiQL 탐색기에 액세스하려면: ``` - + 또한 이 변형을 통해 하나 이상의 클라우드 통합을 수정하고 하나 이상의 구성 매개변수를 변경할 수 있습니다. 각 서비스에는 수정할 수 있는 특정 매개변수가 있습니다. 유형 목록의 매개변수(예: `awsRegion` )의 경우 전체 목록을 제공합니다. 작업 출력의 경우 [GraphQL 조각](https://graphql.org/learn/queries/#fragments) 을 사용하여 통합 관련 구성 매개변수를 요청할 수 있습니다. - ``` + ```graphql mutation { cloudConfigureIntegration ( - accountId: , + accountId: YOUR_ACCOUNT_ID, integrations: { - : { - : [{ - linkedAccountId: , - metricsPollingInterval: , - : , - : , + PROVIDER_SLUG: { + INTEGRATION_SLUG: [{ + linkedAccountId: LINKED_CLOUD_ACCOUNT_ID, + metricsPollingInterval: NEW_POLLING_INTERVAL, + PARAMETER_1: VALUE_1, + PARAMETER_N: VALUE_N, }] } } @@ -649,8 +595,8 @@ NerdGraph GraphiQL 탐색기에 액세스하려면: } ... on SqsIntegration { metricsPollingInterval, - , - + PARAMETER_1, + PARAMETER_N } } errors { @@ -662,20 +608,17 @@ NerdGraph GraphiQL 탐색기에 액세스하려면: ``` - + 이 변형을 통해 통합을 비활성화하고 특정 클라우드 통합에 대한 데이터 수집을 중지할 수 있습니다. - ``` + ```graphql mutation { cloudDisableIntegration ( - accountId: , + accountId: YOUR_ACCOUNT_ID, integrations: { : { : [ - { linkedAccountId: } + { linkedAccountId: LINKED_CLOUD_ACCOUNT_ID } ] } } @@ -697,22 +640,19 @@ NerdGraph GraphiQL 탐색기에 액세스하려면: ``` - + 이 변형을 사용하면 New Relic 계정에서 클라우드 공급자 계정의 연결을 해제할 수 있습니다. 이 작업은 취소할 수 없습니다. 그러나 계정을 다시 연결할 수 있지만 계정 기록은 계속 손실됩니다. - ``` + ```graphql mutation { cloudUnlinkAccount ( - accountId: , + accountId: YOUR_ACCOUNT_ID, accounts: { - { linkedAccountId: } + { linkedAccountId: LINKED_CLOUD_ACCOUNT_ID } } ) { unlinkedAccounts { @@ -736,16 +676,13 @@ NerdGraph GraphiQL 탐색기에 액세스하려면: AWS 통합을 활성화하려면: - + 계정, 특히 사용 가능한 공급자 및 이미 생성된 공급자 계정에 대한 데이터를 가져오는 쿼리를 보냅니다. - ``` + ```graphql { actor { - account(id: ) { + account(id: YOUR_ACCOUNT_ID) { cloud { providers { id @@ -766,26 +703,23 @@ AWS 통합을 활성화하려면: ``` - + AWS 공급자 계정이 아직 연결되어 있지 않거나 다른 AWS 계정을 연결하려는 경우 연결합니다. - 1. `` 매개변수에서 New Relic 계정 식별자를 사용하세요. + 1. `YOUR_ACCOUNT_ID` 매개변수에서 New Relic 계정 식별자를 사용하세요. - 2. `` 에 제공자 계정의 이름을 제공합니다. + 2. `PROVIDER_ACCOUNT_NAME` 에 제공자 계정의 이름을 제공합니다. 3. AWS 계정에서 데이터를 가져오는 데 사용되는 AWS 역할의 ARN을 포함합니다. - ``` + ```graphql mutation { cloudLinkAccount( - accountId: , + accountId: YOUR_ACCOUNT_ID, accounts: { aws: [{ - name: , - arn: }] + name: PROVIDER_ACCOUNT_NAME, + arn: AWS_ROLE_ARN }] } ) { linkedAccounts { @@ -804,20 +738,17 @@ AWS 통합을 활성화하려면: ``` - - `` 매개변수에 New Relic 계정 ID를 사용하고 `` 매개변수 값에 제공자 계정 ID를 사용합니다. + + `YOUR_ACCOUNT_ID` 매개변수에 New Relic 계정 ID를 사용하고 `LINKED_CLOUD_ACCOUNT_ID` 매개변수 값에 제공자 계정 ID를 사용합니다. - ``` + ```graphql mutation { cloudConfigureIntegration ( - accountId: , + accountId: YOUR_ACCOUNT_ID, integrations: { aws: { sqs: [ - { linkedAccountId: } + { linkedAccountId: LINKED_CLOUD_ACCOUNT_ID } ] } } @@ -839,21 +770,24 @@ AWS 통합을 활성화하려면: ``` - - 동일한 공급자 계정을 가진 여러 계정이 있는 경우 동시에 여러 공급자 계정에서 동일한 통합을 활성화할 수 있습니다. `` 매개변수에 New Relic 계정 ID를 사용하고 `` 매개변수 값에 제공자 계정 ID를 사용합니다. + + 동일한 공급자 계정을 가진 여러 계정이 있는 경우 동시에 여러 공급자 계정에서 동일한 통합을 활성화할 수 있습니다. `YOUR_ACCOUNT_ID` 매개변수에 New Relic 계정 ID를 사용하고 `LINKED_CLOUD_ACCOUNT_ID_N` 매개변수 값에 제공자 계정 ID를 사용합니다. - ``` + ```graphql mutation { cloudConfigureIntegration ( - accountId: , + accountId: YOUR_ACCOUNT_ID, integrations: { aws: { sqs: [ - { linkedAccountId: }, - { linkedAccountId: , configuration_param_1: value_1, configuration_param_2: value_2 } + { + linkedAccountId: LINKED_CLOUD_ACCOUNT_ID_1 + }, + { + linkedAccountId: LINKED_CLOUD_ACCOUNT_ID_2, + configuration_param_1: value_1, + configuration_param_2: value_2 + } ] } } @@ -881,20 +815,20 @@ AWS 통합을 활성화하려면: 이 예에서는 [AWS SQS](/docs/integrations/amazon-integrations/aws-integrations-list/aws-sqs-monitoring-integration) 통합을 사용하고 [AWS 계정을 New Relic에 연결](/docs/integrations/amazon-integrations/get-started/connect-aws-services-infrastructure) 했다고 가정합니다. AWS 통합의 폴링 간격을 변경하려면: - - AWS SQS 통합을 위한 폴링 간격을 업데이트하려면 `` 매개변수에 New Relic 계정 ID를 사용하고 `` 매개변수 값에 연결된 공급자 계정의 `id` 를 사용합니다. + + AWS SQS 통합을 위한 폴링 간격을 업데이트하려면 `YOUR_ACCOUNT_ID` 매개변수에 New Relic 계정 ID를 사용하고 `LINKED_ACCOUNT_ID` 매개변수 값에 연결된 공급자 계정의 `id` 를 사용합니다. - ``` + ```graphql mutation { cloudConfigureIntegration( - accountId: , + accountId: YOUR_ACCOUNT_ID, integrations: { aws : { sqs: [ - { linkedAccountId: , metricsPollingInterval: 300 } + { + linkedAccountId: LINKED_CLOUD_ACCOUNT_ID, + metricsPollingInterval: 300 + } ] } } @@ -925,28 +859,21 @@ AWS 통합을 활성화하려면: 이 예에서는 [AWS SQS](/docs/integrations/amazon-integrations/aws-integrations-list/aws-sqs-monitoring-integration) 통합을 사용하고 [AWS 계정을 New Relic에 연결](/docs/integrations/amazon-integrations/get-started/connect-aws-services-infrastructure) 했다고 가정합니다. AWS 통합을 비활성화하려면: - - `` 매개변수에 New Relic 계정 식별자를 사용하고 `` 매개변수 값에 연결된 클라우드 계정의 ID를 사용합니다. + + `YOUR_ACCOUNT_ID` 매개변수에 New Relic 계정 식별자를 사용하고 `LINKED_ACCOUNT_ID` 매개변수 값에 연결된 클라우드 계정의 ID를 사용합니다. - ``` + ```graphql mutation { - cloudDisableIntegration ( - accountId: , + cloudDisableIntegration( + accountId: YOUR_ACCOUNT_ID integrations: { - aws: { - sqs: [ - { linkedAccountId: } - ] - } + aws: { sqs: [{ linkedAccountId: LINKED_CLOUD_ACCOUNT_ID }] } } ) { - disabledIntegrations { - id + disabledIntegrations { + id accountId - name + name } errors { type @@ -956,4 +883,4 @@ AWS 통합을 활성화하려면: } ``` - + \ No newline at end of file diff --git a/src/i18n/content/kr/docs/apis/nerdgraph/examples/nerdgraph-concurrency-tutorial.mdx b/src/i18n/content/kr/docs/apis/nerdgraph/examples/nerdgraph-concurrency-tutorial.mdx index 8f8746d9615..16bd4a85e3b 100644 --- a/src/i18n/content/kr/docs/apis/nerdgraph/examples/nerdgraph-concurrency-tutorial.mdx +++ b/src/i18n/content/kr/docs/apis/nerdgraph/examples/nerdgraph-concurrency-tutorial.mdx @@ -15,34 +15,36 @@ translationType: machine 동시성을 처리하는 한 가지 방법은 작업자 풀을 사용하는 것입니다. 아래 예제에서는 이를 위해 [비동기 모듈을](https://caolan.github.io/async/v3/docs.html#queue) 사용합니다. 동시 실행 제한이 설정된 큐를 생성하고, 요청을 해당 큐에 작업으로 푸시하고, 모든 작업이 완료되면 큐를 비웁니다. -```node -import got from 'got'; -import async from 'async'; +```js +import got from "got"; +import async from "async"; -const API_KEY = '' //GraphQL User Key -const MAX_CONCURRENCY = 25; //Maximum amount of requests in queue at a given time - -const GRAPH_API = 'https://api.newrelic.com/graphql'; -const HEADERS = { 'Content-Type': 'application/json', 'Api-Key': API_KEY }; +const API_KEY = "YOUR_GRAPHQL_USER_KEY"; // GraphQL User Key +const MAX_CONCURRENCY = 25; // Maximum amount of requests in queue at a given time +const GRAPH_API = "https://api.newrelic.com/graphql"; +const HEADERS = { "Content-Type": "application/json", "Api-Key": API_KEY }; async function main() { - let accounts = await getAccounts(); //All accounts to run a query against + let accounts = await getAccounts(); // All accounts to run a query against var allResults = []; //Queue initialization const q = async.queue(async (task, cb) => { - let result = await makeRequest(task.acct) - allResults.push({'transactionCount': result[0].count, 'account': task.acct.id}); + let result = await makeRequest(task.acct); + allResults.push({ + transactionCount: result[0].count, + account: task.acct.id, + }); cb(); }, MAX_CONCURRENCY); - //Push requests on to the queue (one for each account) - accounts.forEach(acct => { - q.push({acct: acct}); + // Push requests on to the queue (one for each account) + accounts.forEach((acct) => { + q.push({ acct: acct }); }); - await q.drain(); //Drain event listener when all tasks are complete + await q.drain(); // Drain event listener when all tasks are complete console.log(allResults); } @@ -50,53 +52,51 @@ async function main() { async function makeRequest(acct) { let nrql = `SELECT count(*) FROM Transaction`; let gql = `{ - actor { - account(id: ${acct.id}) { - nrql(query: "${nrql}", timeout: 90) { - results - } - } - } - }`; + actor { + account(id: ${acct.id}) { + nrql(query: "${nrql}", timeout: 90) { + results + } + } + } + }`; let opts = { url: GRAPH_API, headers: HEADERS, - json: {'query': gql, 'variables': {}} + json: { query: gql, variables: {} }, }; let response = await got.post(opts).json(); if (!response.errors) { return response.data.actor.account.nrql.results; } else { - console.log('Query Error'); + console.log("Query Error"); console.log(response.errors); } } async function getAccounts() { var q = `{ - actor { - accounts { - id - name - } - } - }` + actor { + accounts { + id + name + } + } + }`; var opts = { url: GRAPH_API, headers: HEADERS, - json: {'query': q, 'variables': {}} - } + json: { query: q, variables: {} }, + }; let resp = await got.post(opts).json(); return resp.data.actor.accounts; } - main(); - ``` ## 파이썬 @@ -108,35 +108,33 @@ main(); 다음은 동시 동시 요청량을 관리하는 [Semaphore를](https://docs.python.org/3/library/asyncio-sync.html?highlight=semaphore#asyncio.Semaphore) 설정합니다. 그런 다음 `asyncio.gather()` 사용하여 여러 코루틴을 동시에 실행하고 완료될 때까지 기다립니다. -``` +```py import aiohttp import asyncio -API_KEY = '' +API_KEY = "YOUR_GRAPHQL_USER_KEY" MAX_CONCURRENCY = 25 -GRAPHQL_API = 'https://api.newrelic.com/graphql' -HEADERS = {'Content-Type': 'application/json', 'Api-Key': API_KEY} - +GRAPHQL_API = "https://api.newrelic.com/graphql" +HEADERS = {"Content-Type": "application/json", "Api-Key": API_KEY} async def main(): - #All accounts to run a query against + # All accounts to run a query against accounts = await get_accounts() # Semaphore for controlling concurrency limit = asyncio.Semaphore(MAX_CONCURRENCY) - #Add all accounts to run a query against + # Add all accounts to run a query against tasks = [send_request(acct, limit) for acct in accounts] - #Schedule all tasks to run concurrently + # Schedule all tasks to run concurrently allResults = await asyncio.gather(*tasks) print(allResults) - async def send_request(acct, limit): nrql = "SELECT count(*) FROM Transaction" - gql = f''' + gql = f""" {{ actor {{ account(id: {acct['id']}) {{ @@ -146,19 +144,22 @@ async def send_request(acct, limit): }} }} }} - ''' + """ async with limit: try: async with aiohttp.ClientSession() as session: - async with session.post(GRAPHQL_API, json={"query": gql, "variables":{}}, headers=HEADERS) as response: + async with session.post( + GRAPHQL_API, json={"query": gql, "variables": {}}, headers=HEADERS + ) as response: result = await response.json() - return {'transactionCount': result['data']['actor']['account']['nrql']['results'][0]['count'], 'account': acct['id']} + return { + "transactionCount": result["data"]["actor"]["account"]["nrql"]["results"][0]["count"],"account": acct["id"], + } except Exception as error: print("Query Error") raise error - async def get_accounts(): gql = """ { @@ -167,19 +168,19 @@ async def get_accounts(): id name } - } - } + } + } """ async with aiohttp.ClientSession() as session: - async with session.post(GRAPHQL_API, json={"query": gql, "variables":{}}, headers=HEADERS) as response: + async with session.post( + GRAPHQL_API, json={"query": gql, "variables": {}}, headers=HEADERS + ) as response: result = await response.json() - return result['data']['actor']['accounts'] - - -if __name__ == '__main__': - asyncio.run(main()) #Run event loop + return result["data"]["actor"]["accounts"] +if __name__ == "__main__": + asyncio.run(main()) # Run event loop ``` -NerdGraph 제한에 대한 자세한 내용은 [NerdGraph 사용 제한을](/docs/apis/nerdgraph/nerdgraph-usage-limits) 참조하세요. +NerdGraph 제한에 대한 자세한 내용은 [NerdGraph 사용 제한을](/docs/apis/nerdgraph/nerdgraph-usage-limits) 참조하세요. \ No newline at end of file diff --git a/src/i18n/content/kr/docs/apis/nerdgraph/examples/nerdgraph-dashboards.mdx b/src/i18n/content/kr/docs/apis/nerdgraph/examples/nerdgraph-dashboards.mdx index 4daf02ee22b..44847b2b3db 100644 --- a/src/i18n/content/kr/docs/apis/nerdgraph/examples/nerdgraph-dashboards.mdx +++ b/src/i18n/content/kr/docs/apis/nerdgraph/examples/nerdgraph-dashboards.mdx @@ -251,7 +251,7 @@ NerdGraph를 사용하면 [둘 이상의 New Relic 계정에서 데이터 쿼리 - ```graphql + ```graphql lineHighlight=21,37,53 mutation { dashboardCreate( accountId: 1 @@ -272,7 +272,7 @@ NerdGraph를 사용하면 [둘 이상의 New Relic 계정에서 데이터 쿼리 legend: { enabled: true } nrqlQueries: [ { - accountIds: [1, 1606862, 2212585] + accountIds: [1, 1606862, 2212585] query: "SELECT count(*) FROM Transaction" } ] @@ -288,7 +288,7 @@ NerdGraph를 사용하면 [둘 이상의 New Relic 계정에서 데이터 쿼리 legend: { enabled: true } nrqlQueries: [ { - accountIds: [1, 1606862, 2212585] + accountIds: [1, 1606862, 2212585] query: "SELECT count(*) FROM Transaction FACET accountId()" } ] @@ -304,7 +304,7 @@ NerdGraph를 사용하면 [둘 이상의 New Relic 계정에서 데이터 쿼리 legend: { enabled: true } nrqlQueries: [ { - accountIds: [1, 1606862, 2212585] + accountIds: [1, 1606862, 2212585] query: "SELECT count(*) FROM Transaction FACET accountId() TIMESERIES" } ] @@ -551,18 +551,18 @@ NerdGraph를 사용하면 [둘 이상의 New Relic 계정에서 데이터 쿼리 - ``` + ```graphql mutation { - dashboardMutation(guid: "MY_EXISTING_DASHBOARD_GUID") { - mutationResult { - result - } - errors { - description - type - } + dashboardMutation(guid: "MY_EXISTING_DASHBOARD_GUID") { + mutationResult { + result + } + errors { + description + type } } + } ``` diff --git a/src/i18n/content/kr/docs/apis/nerdgraph/examples/nerdgraph-synthetics-tutorial.mdx b/src/i18n/content/kr/docs/apis/nerdgraph/examples/nerdgraph-synthetics-tutorial.mdx index 83e8f5d8cac..ee5463f5aa5 100644 --- a/src/i18n/content/kr/docs/apis/nerdgraph/examples/nerdgraph-synthetics-tutorial.mdx +++ b/src/i18n/content/kr/docs/apis/nerdgraph/examples/nerdgraph-synthetics-tutorial.mdx @@ -51,7 +51,7 @@ translationType: machine 펼쳐에서 [위치 로케이션을](/docs/synthetics/synthetic-monitoring/private-locations/private-locations-overview-monitor-internal-sites-add-new-locations) 식별하려면, 위치 로케이션의 엔터티 GUID를 사용하세요. 형식이 [검증된 실행을](/docs/synthetics/synthetic-monitoring/private-locations/verified-script-execution-private-locations/) 사용하도록 구성된 경우 `vsePassword` 속성도 포함합니다. 예를 들어: - ``` + ```graphql locations: { private: { guid: LOCATION_ENTITY_GUID, @@ -62,7 +62,7 @@ translationType: machine [공개 위치](/docs/synthetics/synthetic-monitoring/administration/synthetic-public-minion-ips/#location) 는 AWS\_ 접두사 없이 위치 식별자를 사용합니다. 예를 들면 다음과 같습니다. - ``` + ```graphql locations: { public: ["US_EAST_2", "US_WEST_1"] } @@ -168,7 +168,7 @@ translationType: machine 신세틱스 모니터를 조회하여 데이터에 대한 현재 상태 정보나 모니터 설정에 대한 세부정보를 얻을 수 있습니다. 많은 모니터 설정이 태그로 표시됩니다. - ``` + ```graphql { actor { entitySearch(query: "domain = 'SYNTH' AND type = 'MONITOR'") { @@ -195,7 +195,7 @@ translationType: machine 개인 위치를 쿼리할 수 있습니다. - ``` + ```graphql { actor { entitySearch(query: "domain = 'SYNTH' AND type = 'PRIVATE_LOCATION'") { @@ -219,7 +219,7 @@ translationType: machine 기존 모니터 다운타임을 쿼리합니다. 설정 세부정보는 태그에 저장됩니다. - ``` + ```graphql { actor { entitySearch(query: "domain = 'SYNTH' AND type = 'MONITOR_DOWNTIME'") { @@ -243,7 +243,7 @@ translationType: machine 보안 자격 증명을 쿼리하면 메타데이터만 검색할 수 있지만 자격 증명 값 자체는 검색할 수 없습니다. - ``` + ```graphql { actor { entitySearch(query: "domain = 'SYNTH' AND type = 'SECURE_CRED'") { @@ -270,10 +270,10 @@ translationType: machine 스크립팅된 API 또는 스크립팅된 브라우저 모니터에서 사용된 스크립트를 검색합니다. 다른 모니터 유형은 오류를 반환합니다. - ``` + ```graphql { actor { - account(id: YOUR_ACCOUNT_ID) { + account(id: ACCOUNT_ID) { synthetics { script(monitorGuid: "ENTITY_GUID") { text @@ -288,10 +288,10 @@ translationType: machine 단계 모니터에 대해 구성된 단계를 검색합니다. 다른 모니터 유형은 오류를 반환합니다. - ``` + ```graphql { actor { - account(id: YOUR_ACCOUNT_ID) { + account(id: ACCOUNT_ID) { synthetics { steps(monitorGuid: "ENTITY_GUID") { ordinal @@ -308,7 +308,7 @@ translationType: machine 모니터 ID를 사용하여 합성 모니터에 대한 엔터티 GUID를 검색합니다. - ``` + ```graphql { actor { entitySearch( @@ -332,7 +332,7 @@ translationType: machine 구형 런타임 모니터에 대한 모든 런타임 업그레이드 테스트 상태를 검색합니다. 이러한 테스트는 [런타임 업그레이드 UI를](/docs/synthetics/synthetic-monitoring/using-monitors/runtime-upgrade-ui/) 채웁니다. 테스트 결과는 `validationStatus` 태그에 저장됩니다. 업그레이드 테스트가 실패한 경우 `validationError` 태그에서 오류 메시지를 볼 수 있습니다. - ``` + ```graphql { actor { entitySearch(query: "domain = 'SYNTH' AND type = 'RUNTIME_VALIDATION'") { @@ -356,10 +356,12 @@ translationType: machine 단일 구형 런타임 모니터에 대한 런타임 업그레이드 테스트 상태를 검색합니다. 이러한 테스트 결과는 [런타임 업그레이드 UI를](/docs/synthetics/synthetic-monitoring/using-monitors/runtime-upgrade-ui/) 채웁니다. 테스트 결과는 `validationStatus` 태그에 저장됩니다. 업그레이드 테스트가 실패한 경우 `validationError` 태그에서 오류 메시지를 볼 수 있습니다. - ``` + ```graphql { actor { - entitySearch(query: "domain = 'SYNTH' AND type = 'RUNTIME_VALIDATION' and domainId = 'MONITOR_ID'") { + entitySearch( + query: "domain = 'SYNTH' AND type = 'RUNTIME_VALIDATION' AND domainId = 'MONITOR_ID'" + ) { results { entities { accountId @@ -397,31 +399,26 @@ translationType: machine Ping 모니터는 애플리케이션이 실행 중인지 확인합니다. 다음은 NerdGraph에서 생성하는 예입니다. - ``` + ```graphql mutation { - syntheticsCreateSimpleMonitor ( - accountId: YOUR_ACCOUNT_ID + syntheticsCreateSimpleMonitor( + accountId: ACCOUNT_ID monitor: { - locations: { - public: ["LOCATION_1", "LOCATION_2"] - }, - name: "YOUR_MONITOR_NAME", - period: PERIOD, - status: STATUS, - uri: "MONITORED_URI", + locations: { public: ["LOCATION_1", "LOCATION_2"] } + name: "YOUR_MONITOR_NAME" + period: PERIOD + status: STATUS + uri: "MONITORED_URI" advancedOptions: { - customHeaders: { - name: "HEADER_NAME", - value: "HEADER_VALUE" - }, - redirectIsFailure: REDIRECT_IS_FAILURE, - responseValidationText: "VALIDATION_TEXT", - shouldBypassHeadRequest: BYPASS_HEAD_REQUEST, + customHeaders: { name: "HEADER_NAME", value: "HEADER_VALUE" } + redirectIsFailure: REDIRECT_IS_FAILURE + responseValidationText: "VALIDATION_TEXT" + shouldBypassHeadRequest: BYPASS_HEAD_REQUEST useTlsValidation: TLS_VALIDATION - }, + } apdexTarget: APDEX_TARGET } - ) { + ) { errors { description type @@ -434,155 +431,143 @@ translationType: machine 단순 브라우저 모니터는 Chrome 인스턴스를 사용하여 고객 방문을 모방합니다. 다음은 NerdGraph에서 생성하는 예입니다. - ``` - mutation { - syntheticsCreateSimpleBrowserMonitor ( - accountId: YOUR_ACCOUNT_ID, - monitor: { - browsers: [BROWSERS], - devices: [DEVICES], - locations: { - public: ["LOCATION_1", "LOCATION_2"] - }, - name: "YOUR_MONITOR_NAME", - period: PERIOD, - runtime: { - runtimeType: "RUNTIME_TYPE", - runtimeTypeVersion: "RUNTIME_TYPE_VERSION", - scriptLanguage: "SCRIPT_LANGUAGE" - } - status: STATUS, - uri: "MONITORED_URI", - advancedOptions: { - customHeaders: { - name: "HEADER_NAME", - value: "HEADER_VALUE" - }, - enableScreenshotOnFailureAndScript: ENABLE_SCREENSHOT, - responseValidationText: "VALIDATION_TEXT", - useTlsValidation: TLS_VALIDATION - }, - apdexTarget: APDEX_TARGET - ) { - errors { - description - type + ```graphql + mutation { + syntheticsCreateSimpleBrowserMonitor( + accountId: ACCOUNT_ID + monitor: { + browsers: [BROWSERS] + devices: [DEVICES] + locations: { public: ["LOCATION_1", "LOCATION_2"] } + name: "YOUR_MONITOR_NAME" + period: PERIOD + runtime: { + runtimeType: "RUNTIME_TYPE" + runtimeTypeVersion: "RUNTIME_TYPE_VERSION" + scriptLanguage: "SCRIPT_LANGUAGE" } + status: STATUS + uri: "MONITORED_URI" + advancedOptions: { + customHeaders: { name: "HEADER_NAME", value: "HEADER_VALUE" } + enableScreenshotOnFailureAndScript: ENABLE_SCREENSHOT + responseValidationText: "VALIDATION_TEXT" + useTlsValidation: TLS_VALIDATION + } + apdexTarget: APDEX_TARGET + } + ) { + errors { + description + type } } + } ``` [스크립팅된 브라우저 모니터](/docs/synthetics/synthetic-monitoring/scripting-monitors/introduction-scripted-browser-monitors) 는 페이지 및 애플리케이션과의 보다 복잡한 상호 작용입니다. 다음은 NerdGraph에서 생성하는 예입니다. - ``` - mutation { - syntheticsCreateScriptBrowserMonitor ( - accountId: YOUR_ACCOUNT_ID, - monitor: { - browsers: [BROWSERS], - devices: [DEVICES], - locations: { - public: ["LOCATION_1", "LOCATION_2"] - }, - name: "MONITOR_NAME", - period: PERIOD, - runtime: { - runtimeType: "RUNTIME_TYPE", - runtimeTypeVersion: "RUNTIME_TYPE_VERSION", - scriptLanguage: "SCRIPT_LANGUAGE" - } - script: "SCRIPT_CONTENT", - status: STATUS, - advancedOptions: { - enableScreenshotOnFailureAndScript: ENABLE_SCREENSHOT - }, - apdexTarget: APDEX_TARGET - } - ) { - errors { - description - type + ```graphql + mutation { + syntheticsCreateScriptBrowserMonitor( + accountId: ACCOUNT_ID + monitor: { + browsers: [BROWSERS] + devices: [DEVICES] + locations: { public: ["LOCATION_1", "LOCATION_2"] } + name: "MONITOR_NAME" + period: PERIOD + runtime: { + runtimeType: "RUNTIME_TYPE" + runtimeTypeVersion: "RUNTIME_TYPE_VERSION" + scriptLanguage: "SCRIPT_LANGUAGE" } + script: "SCRIPT_CONTENT" + status: STATUS + advancedOptions: { enableScreenshotOnFailureAndScript: ENABLE_SCREENSHOT } + apdexTarget: APDEX_TARGET + } + ) { + errors { + description + type } } + } ``` [스크립팅된 API 모니터는](/docs/synthetics/synthetic-monitoring/scripting-monitors/write-synthetic-api-tests) API 엔드포인트를 확인합니다. 다음은 NerdGraph에서 생성하는 예입니다. - ``` - mutation { - syntheticsCreateScriptApiMonitor ( - accountId: YOUR_ACCOUNT_ID, - monitor: { - locations: { - public: ["LOCATION_1", "LOCATION_2"] - }, - name: "YOUR_MONITOR_NAME", - period: PERIOD, - runtime: { - runtimeType: "RUNTIME_TYPE", - runtimeTypeVersion: "RUNTIME_TYPE_VERSION", - scriptLanguage: "SCRIPT_LANGUAGE" - } - script: "SCRIPT_CONTENT", - status: STATUS, - apdexTarget: APDEX_TARGET - } - ) { - errors { - description - type + ```graphql + mutation { + syntheticsCreateScriptApiMonitor( + accountId: ACCOUNT_ID + monitor: { + locations: { public: ["LOCATION_1", "LOCATION_2"] } + name: "YOUR_MONITOR_NAME" + period: PERIOD + runtime: { + runtimeType: "RUNTIME_TYPE" + runtimeTypeVersion: "RUNTIME_TYPE_VERSION" + scriptLanguage: "SCRIPT_LANGUAGE" } + script: "SCRIPT_CONTENT" + status: STATUS + apdexTarget: APDEX_TARGET + } + ) { + errors { + description + type } } + } ``` 단계 모니터는 코드가 없는 다단계 브라우저 기반 모니터를 제공합니다. 다음은 NerdGraph에서 생성하는 예입니다. - ``` + ```graphql mutation { - syntheticsCreateStepMonitor ( - accountId: NR_ACCOUNT_ID, - monitor: { - browsers: [BROWSERS], - devices: [DEVICES], - locations: { - public: ["LOCATION_1", "LOCATION_2"] - }, - name: "MONITOR_NAME", - period: PERIOD, - runtime: { - runtimeType: "RUNTIME_TYPE", - runtimeTypeVersion: "RUNTIME_TYPE_VERSION", - scriptLanguage: "SCRIPT_LANGUAGE" + syntheticsCreateStepMonitor( + accountId: ACCOUNT_ID + monitor: { + browsers: [BROWSERS] + devices: [DEVICES] + locations: { public: ["LOCATION_1", "LOCATION_2"] } + name: "MONITOR_NAME" + period: PERIOD + runtime: { + runtimeType: "RUNTIME_TYPE" + runtimeTypeVersion: "RUNTIME_TYPE_VERSION" + scriptLanguage: "SCRIPT_LANGUAGE" } - status: STATUS, - steps: [{ - ordinal: 0, - type: NAVIGATE, - values: ["MONITORED_URI"],["USER_AGENT"] - },{ - ordinal: STEP_NUMBER, - type: STEP_TYPE, - values: ["CONDITIONAL_TYPE","VALUE"] - }] - advancedOptions: { - enableScreenshotOnFailureAndScript: ENABLE_SCREENSHOT - }, - apdexTarget: APDEX_TARGET - } - ) { + status: STATUS + steps: [ + { + ordinal: 0, + type: NAVIGATE, + values: ["MONITORED_URI", "USER_AGENT"] } + { + ordinal: STEP_NUMBER + type: STEP_TYPE + values: ["CONDITIONAL_TYPE", "VALUE"] + } + ] + advancedOptions: { enableScreenshotOnFailureAndScript: ENABLE_SCREENSHOT } + apdexTarget: APDEX_TARGET + } + ) { errors { description type } - } + } } ``` @@ -590,60 +575,52 @@ translationType: machine SSL 인증서가 만료되려고 할 때 이를 알리도록 모니터를 설정하십시오. 다음은 NerdGraph에서 생성하는 예입니다. - ``` - mutation { - syntheticsCreateCertCheckMonitor ( - accountId: YOUR_ACCOUNT_ID, - monitor: { - domain: "DOMAIN", - locations: { - public: ["LOCATION_1", "LOCATION_2"] - }, - name: "YOUR_MONITOR_NAME", - numberDaysToFailBeforeCertExpires: DAYS_UNTIL_EXPIRATION, - period: PERIOD, - status: STATUS, - apdexTarget: APDEX_TARGET - } - ) { - errors { - description - type - } + ```graphql + mutation { + syntheticsCreateCertCheckMonitor( + accountId: ACCOUNT_ID + monitor: { + domain: "DOMAIN" + locations: { public: ["LOCATION_1", "LOCATION_2"] } + name: "YOUR_MONITOR_NAME" + numberDaysToFailBeforeCertExpires: DAYS_UNTIL_EXPIRATION + period: PERIOD + status: STATUS + apdexTarget: APDEX_TARGET + } + ) { + errors { + description + type } } + } ``` 깨진 링크 모니터는 웹 페이지의 링크에 오류가 있는지 확인합니다. 다음은 NerdGraph에서 생성하는 예입니다. - ``` + ```graphql mutation { - syntheticsCreateBrokenLinksMonitor ( - accountId: YOUR_ACCOUNT_ID, + syntheticsCreateBrokenLinksMonitor( + accountId: ACCOUNT_ID monitor: { - locations: { - public: ["LOCATION_1", "LOCATION_2"] - }, - name: "YOUR_MONITOR_NAME", - period: PERIOD, - status: STATUS, - apdexTarget: APDEX_TARGET, - uri: "MONITOR_URI", - tags: { - key: "YOUR_TAG_NAME", - values: "TAG_VALUE" - } - } - ) { - errors { - description - type - } + locations: { public: ["LOCATION_1", "LOCATION_2"] } + name: "YOUR_MONITOR_NAME" + period: PERIOD + status: STATUS + apdexTarget: APDEX_TARGET + uri: "MONITOR_URI" + tags: { key: "YOUR_TAG_NAME", values: "TAG_VALUE" } + } + ) { + errors { + description + type + } } } - ``` @@ -660,28 +637,23 @@ translationType: machine 이것을 사용하여 핑 모니터를 업데이트하십시오. - ``` + ```graphql mutation { - syntheticsUpdateSimpleMonitor ( - guid: "ENTITY_GUID", + syntheticsUpdateSimpleMonitor( + guid: "ENTITY_GUID" monitor: { - locations: { - public: ["LOCATION_1", "LOCATION_2"] - }, - name: "YOUR_MONITOR_NAME", - period: PERIOD, - status: STATUS, - uri: "MONITORED_URI", + locations: { public: ["LOCATION_1", "LOCATION_2"] } + name: "YOUR_MONITOR_NAME" + period: PERIOD + status: STATUS + uri: "MONITORED_URI" advancedOptions: { - customHeaders: { - name: "HEADER_NAME", - value: "HEADER_VALUE" - }, - redirectIsFailure: REDIRECT_IS_FAILURE, - responseValidationText: "VALIDATION_TEXT", - shouldBypassHeadRequest: BYPASS_HEAD_REQUEST, + customHeaders: { name: "HEADER_NAME", value: "HEADER_VALUE" } + redirectIsFailure: REDIRECT_IS_FAILURE + responseValidationText: "VALIDATION_TEXT" + shouldBypassHeadRequest: BYPASS_HEAD_REQUEST useTlsValidation: TLS_VALIDATION - }, + } apdexTarget: APDEX_TARGET } ) { @@ -697,155 +669,143 @@ translationType: machine 간단한 브라우저 모니터를 업데이트하려면(런타임 버전 업그레이드 기능 포함) 다음을 사용하세요. - ``` - mutation { - syntheticsUpdateSimpleBrowserMonitor ( - guid: ENTITY_GUID, - monitor: { - browsers: [BROWSERS], - devices: [DEVICES], - locations: { - public: ["LOCATION_1", "LOCATION_2"] - }, - name: "YOUR_MONITOR_NAME", - period: PERIOD, - runtime: { - runtimeType: "RUNTIME_TYPE", - runtimeTypeVersion: "RUNTIME_TYPE_VERSION", - scriptLanguage: "SCRIPT_LANGUAGE" - } - status: STATUS, - uri: "MONITORED_URI", - advancedOptions: { - customHeaders: { - name: "HEADER_NAME", - value: "HEADER_VALUE" - }, - enableScreenshotOnFailureAndScript: ENABLE_SCREENSHOT, - responseValidationText: "VALIDATION_TEXT", - useTlsValidation: TLS_VALIDATION - }, - apdexTarget: APDEX_TARGET - ) { - errors { - description - type + ```graphql + mutation { + syntheticsUpdateSimpleBrowserMonitor( + guid: ENTITY_GUID + monitor: { + browsers: [BROWSERS] + devices: [DEVICES] + locations: { public: ["LOCATION_1", "LOCATION_2"] } + name: "YOUR_MONITOR_NAME" + period: PERIOD + runtime: { + runtimeType: "RUNTIME_TYPE" + runtimeTypeVersion: "RUNTIME_TYPE_VERSION" + scriptLanguage: "SCRIPT_LANGUAGE" + } + status: STATUS + uri: "MONITORED_URI" + advancedOptions: { + customHeaders: { name: "HEADER_NAME", value: "HEADER_VALUE" } + enableScreenshotOnFailureAndScript: ENABLE_SCREENSHOT + responseValidationText: "VALIDATION_TEXT" + useTlsValidation: TLS_VALIDATION } + apdexTarget: APDEX_TARGET + } + ) { + errors { + description + type } } + } ``` 스크립팅된 브라우저 모니터(런타임 버전 업그레이드 기능 포함)를 업데이트하려면 다음을 사용하십시오. - ``` - mutation { - syntheticsUpdateScriptBrowserMonitor ( - guid: ENTITY_GUID, - monitor: { - browsers: [BROWSERS], - devices: [DEVICES], - locations: { - public: ["LOCATION_1", "LOCATION_2"] - }, - name: "MONITOR_NAME", - period: PERIOD, - runtime: { - runtimeType: "RUNTIME_TYPE", - runtimeTypeVersion: "RUNTIME_TYPE_VERSION", - scriptLanguage: "SCRIPT_LANGUAGE" - } - script: "SCRIPT_CONTENT", - status: STATUS, - advancedOptions: { - enableScreenshotOnFailureAndScript: ENABLE_SCREENSHOT - }, - apdexTarget: APDEX_TARGET - } - ) { - errors { - description - type + ```graphql + mutation { + syntheticsUpdateScriptBrowserMonitor( + guid: ENTITY_GUID + monitor: { + browsers: [BROWSERS] + devices: [DEVICES] + locations: { public: ["LOCATION_1", "LOCATION_2"] } + name: "MONITOR_NAME" + period: PERIOD + runtime: { + runtimeType: "RUNTIME_TYPE" + runtimeTypeVersion: "RUNTIME_TYPE_VERSION" + scriptLanguage: "SCRIPT_LANGUAGE" } + script: "SCRIPT_CONTENT" + status: STATUS + advancedOptions: { enableScreenshotOnFailureAndScript: ENABLE_SCREENSHOT } + apdexTarget: APDEX_TARGET + } + ) { + errors { + description + type } } + } ``` 스크립팅된 API 모니터(런타임 버전 업그레이드 기능 포함)를 업데이트하려면 다음을 사용하십시오. - ``` - mutation { - syntheticsUpdateScriptApiMonitor ( - guid: ENTITY_GUID, - monitor: { - locations: { - public: ["LOCATION_1", "LOCATION_2"] - }, - name: "YOUR_MONITOR_NAME", - period: PERIOD, - runtime: { - runtimeType: "RUNTIME_TYPE", - runtimeTypeVersion: "RUNTIME_TYPE_VERSION", - scriptLanguage: "SCRIPT_LANGUAGE" - } - script: "SCRIPT_CONTENT", - status: STATUS, - apdexTarget: APDEX_TARGET - } - ) { - errors { - description - type + ```graphql + mutation { + syntheticsUpdateScriptApiMonitor( + guid: ENTITY_GUID + monitor: { + locations: { public: ["LOCATION_1", "LOCATION_2"] } + name: "YOUR_MONITOR_NAME" + period: PERIOD + runtime: { + runtimeType: "RUNTIME_TYPE" + runtimeTypeVersion: "RUNTIME_TYPE_VERSION" + scriptLanguage: "SCRIPT_LANGUAGE" } + script: "SCRIPT_CONTENT" + status: STATUS + apdexTarget: APDEX_TARGET + } + ) { + errors { + description + type } } - + } ``` 이것을 사용하여 단계 모니터를 업데이트하십시오. - ``` + ```graphql mutation { - syntheticsUpdateStepMonitor ( - guid: ENTITY_GUID, + syntheticsUpdateStepMonitor( + guid: ENTITY_GUID monitor: { - browsers: [BROWSERS], - devices: [DEVICES], - locations: { - public: ["LOCATION_1", "LOCATION_2"] - }, - name: "MONITOR_NAME", - period: PERIOD, + browsers: [BROWSERS] + devices: [DEVICES] + locations: { public: ["LOCATION_1", "LOCATION_2"] } + name: "MONITOR_NAME" + period: PERIOD runtime: { - runtimeType: "RUNTIME_TYPE", - runtimeTypeVersion: "RUNTIME_TYPE_VERSION", + runtimeType: "RUNTIME_TYPE" + runtimeTypeVersion: "RUNTIME_TYPE_VERSION" scriptLanguage: "SCRIPT_LANGUAGE" + } + status: STATUS + steps: [ + { + ordinal: 0, + type: NAVIGATE, + values: ["MONITORED_URI", "USER_AGENT"] } - status: STATUS, - steps: [{ - ordinal: 0, - type: NAVIGATE, - values: ["MONITORED_URI"],["USER_AGENT"] - },{ - ordinal: STEP_NUMBER, - type: STEP_TYPE, - values: ["VALUE_1","VALUE_2"] - }] - advancedOptions: { - enableScreenshotOnFailureAndScript: ENABLE_SCREENSHOT - }, + { + ordinal: STEP_NUMBER, + type: STEP_TYPE, + values: ["VALUE_1", "VALUE_2"] + } + ] + advancedOptions: { enableScreenshotOnFailureAndScript: ENABLE_SCREENSHOT } apdexTarget: APDEX_TARGET } ) { - errors { - description - type - } + errors { + description + type + } } } ``` @@ -854,57 +814,53 @@ translationType: machine 다음을 사용하여 인증서 확인 모니터를 업데이트합니다. - ``` - mutation { - syntheticsUpdateCertCheckMonitor ( - guid: ENTITY_GUID, - monitor: { - domain: "DOMAIN", - locations: { - public: ["LOCATION_1", "LOCATION_2"] - }, - name: "YOUR_MONITOR_NAME", - numberDaysToFailBeforeCertExpires: DAYS_UNTIL_EXPIRATION, - period: PERIOD, - status: STATUS, - apdexTarget: APDEX_TARGET - } - ) { - errors { - description - type - } + ```graphql + mutation { + syntheticsUpdateCertCheckMonitor( + guid: ENTITY_GUID + monitor: { + domain: "DOMAIN" + locations: { public: ["LOCATION_1", "LOCATION_2"] } + name: "YOUR_MONITOR_NAME" + numberDaysToFailBeforeCertExpires: DAYS_UNTIL_EXPIRATION + period: PERIOD + status: STATUS + apdexTarget: APDEX_TARGET + } + ) { + errors { + description + type } } + } ``` 다음을 사용하여 끊어진 링크 모니터를 업데이트합니다. - ``` + ```graphql mutation { - syntheticsUpdateBrokenLinksMonitor ( - guid: ENTITY_GUID, + syntheticsUpdateBrokenLinksMonitor( + guid: ENTITY_GUID monitor: { - locations: { - public: ["LOCATION_1", "LOCATION_2"] - }, - name: "YOUR_MONITOR_NAME", - period: PERIOD, - status: STATUS, - apdexTarget: APDEX_TARGET, - uri: "MONITOR_URI", - tags: { + locations: { public: ["LOCATION_1", "LOCATION_2"] } + name: "YOUR_MONITOR_NAME" + period: PERIOD + status: STATUS + apdexTarget: APDEX_TARGET + uri: "MONITOR_URI" + tags: { key: "YOUR_TAG_NAME", - values: "TAG_VALUE" - } - } - ) { - errors { - description - type + values: "TAG_VALUE" } + } + ) { + errors { + description + type + } } } ``` @@ -918,10 +874,10 @@ translationType: machine 런타임 설정에 대한 자세한 내용은 [optional-fields](#optional-fields) 를 확인하세요. - ``` + ```graphql mutation { syntheticsUpdateScriptBrowserMonitor ( - guid: "", + guid: "ENTITY_GUID", monitor: { runtime: { runtimeType: "RUNTIME_TYPE", @@ -947,10 +903,10 @@ translationType: machine 런타임 설정에 대한 자세한 내용은 [optional-fields](#optional-fields) 를 확인하세요. - ``` + ```graphql mutation { syntheticsUpdateScriptBrowserMonitor ( - guid: "", + guid: "ENTITY_GUID", monitor: { runtime: { runtimeType: "", @@ -977,11 +933,11 @@ translationType: machine 모니터 엔터티 GUID를 사용하여 모니터를 삭제합니다. - ``` + ```graphql mutation { syntheticsDeleteMonitor ( guid: "ENTITY_GUID" - ) { + ) { deletedGuid } } @@ -995,10 +951,10 @@ translationType: machine - ``` - mutation{ + ```graphql + mutation { syntheticsCreatePrivateLocation ( - accountId: NR_ACCOUNT_ID, + accountId: ACCOUNT_ID, name: "PrivateLocationName", description: "Optional description", verifiedScriptExecution: false @@ -1014,18 +970,18 @@ translationType: machine - ``` + ```graphql mutation { syntheticsUpdatePrivateLocation ( - guid: YOUR_ENTITY_GUID, + guid: ENTITY_GUID, description: "EnterYourDescription", verifiedScriptExecution: true ) { - description - verifiedScriptExecution - errors { description - type + verifiedScriptExecution + errors { + description + type } } } @@ -1033,11 +989,11 @@ translationType: machine - ``` + ```graphql mutation { syntheticsDeletePrivateLocation ( - guid: YOUR_ENTITY_GUID - ) { + guid: ENTITY_GUID + ) { errors { description type @@ -1050,11 +1006,11 @@ translationType: machine 다루기 힘든 백로그를 지워야 하는 경우 다음을 사용하십시오. - ``` + ```graphql mutation { syntheticsPurgePrivateLocationQueue ( - guid: YOUR_ENTITY_GUID - ) { + guid: ENTITY_GUID + ) { errors { description type @@ -1071,14 +1027,14 @@ translationType: machine - ``` + ```graphql mutation { syntheticsCreateSecureCredential ( - accountId: YOUR_ENTITY_GUID, + accountId: ACCOUNT_ID, description: "YourOptionalDescription", key: SECURE_CREDENTIAL_NAME, value: SECURE_CREDENTIAL_VALUE - ) { + ) { errors { description } @@ -1088,13 +1044,14 @@ translationType: machine - ``` + ```graphql mutation { - syntheticsUpdateSecureCredential ( - accountId: YOUR_ACCOUNT_ID, - description: "YourOptionalDescription", - key: SECURE_CREDENTIAL_NAME, - value: SECURE_CREDENTIAL_VALUE) { + syntheticsUpdateSecureCredential( + accountId: ACCOUNT_ID + description: "YourOptionalDescription" + key: SECURE_CREDENTIAL_NAME + value: SECURE_CREDENTIAL_VALUE + ) { createdAt lastUpdate errors { @@ -1106,12 +1063,12 @@ translationType: machine - ``` + ```graphql mutation { syntheticsDeleteSecureCredential ( - accountId: YOUR_ACCOUNT_ID, + accountId: ACCOUNT_ID, key: SECURE_CREDENTIAL_NAME - ) { + ) { errors { description } @@ -1127,13 +1084,13 @@ translationType: machine - ``` + ```graphql mutation { syntheticsCreateOnceMonitorDowntime ( - accountId: NR_ACCOUNT_ID, + accountId: ACCOUNT_ID, name: "MonitorDowntimeName", monitorGuids: ["OptionalMonitorEntityGuid", "OptionalMonitorEntityGuid"], - timezone: "Timezone", + timezone: "TIMEZONE", startTime: "yyyy-MM-ddTHH:mm:ss", endTime: "yyyy-MM-ddTHH:mm:ss" ) { @@ -1150,13 +1107,13 @@ translationType: machine - ``` + ```graphql mutation { syntheticsCreateDailyMonitorDowntime ( - accountId: NR_ACCOUNT_ID, + accountId: ACCOUNT_ID, name: "MonitorDowntimeName", monitorGuids: ["OptionalMonitorEntityGuid", "AnotherOptionalMonitorEntityGuid"], - timezone: "Timezone", + timezone: "TIMEZONE", startTime: "yyyy-MM-ddTHH:mm:ss", endTime: "yyyy-MM-ddTHH:mm:ss", endRepeat: { @@ -1181,13 +1138,13 @@ translationType: machine - ``` + ```graphql mutation { syntheticsCreateWeeklyMonitorDowntime ( - accountId: NR_ACCOUNT_ID, + accountId: ACCOUNT_ID, name: "MonitorDowntimeName", monitorGuids: ["OptionalMonitorEntityGuid", "AnotherOptionalMonitorEntityGuid"], - timezone: "Timezone", + timezone: "TIMEZONE", startTime: "yyyy-MM-ddTHH:mm:ss", endTime: "yyyy-MM-ddTHH:mm:ss", endRepeat: { @@ -1214,13 +1171,13 @@ translationType: machine - ``` + ```graphql mutation { syntheticsCreateMonthlyMonitorDowntime ( - accountId: NR_ACCOUNT_ID, + accountId: ACCOUNT_ID, name: "MonitorDowntimeName", monitorGuids: ["OptionalMonitorEntityGuid", "AnotherOptionalMonitorEntityGuid"], - timezone: "Timezone", + timezone: "TIMEZONE", startTime: "yyyy-MM-ddTHH:mm:ss", endTime: "yyyy-MM-ddTHH:mm:ss", endRepeat: { @@ -1259,19 +1216,19 @@ translationType: machine - ``` + ```graphql mutation { syntheticsEditMonitorDowntime ( guid: "MonitorDowntimeEntityGuid", name: "MONITOR_DOWNTIME_NAME", monitorGuids: ["OptionalMonitorEntityGuid", "AnotherOptionalMonitorEntityGuid"], once: { - timezone: "Timezone", + timezone: "TIMEZONE", startTime: "yyyy-MM-ddTHH:mm:ss", endTime: "yyyy-MM-ddTHH:mm:ss" }, daily: { - timezone: "Timezone", + timezone: "TIMEZONE", startTime: "yyyy-MM-ddTHH:mm:ss", endTime: "yyyy-MM-ddTHH:mm:ss", endRepeat: { @@ -1280,7 +1237,7 @@ translationType: machine } }, weekly: { - timezone: "Timezone", + timezone: "TIMEZONE", startTime: "yyyy-MM-ddTHH:mm:ss", endTime: "yyyy-MM-ddTHH:mm:ss", endRepeat: { @@ -1290,7 +1247,7 @@ translationType: machine maintenanceDays: [WeekDaysEnums] }, monthly: { - timezone: "Timezone", + timezone: "TIMEZONE", startTime: "yyyy-MM-ddTHH:mm:ss", endTime: "yyyy-MM-ddTHH:mm:ss", endRepeat: { @@ -1330,7 +1287,7 @@ translationType: machine - ``` + ```graphql mutation { syntheticsDeleteMonitorDowntime ( guid: DOWNTIME_ENTITY_GUID diff --git a/src/i18n/content/kr/docs/change-tracking/change-tracking-view-analyze.mdx b/src/i18n/content/kr/docs/change-tracking/change-tracking-view-analyze.mdx index e3401bafcce..de1c5a1f285 100644 --- a/src/i18n/content/kr/docs/change-tracking/change-tracking-view-analyze.mdx +++ b/src/i18n/content/kr/docs/change-tracking/change-tracking-view-analyze.mdx @@ -15,36 +15,25 @@ New Relic의 변경 사항 추적 기능을 사용하면 배포와 같은 최근 * **Charts in APM and dashboards:** 시계열 차트에는 핀 머리가 있는 수직선이 나타납니다. 이 마커는 기록된 변경 사항을 나타내며, 핀 머리를 클릭하면 변경 사항이 엔터티 상태와 품질에 미친 영향을 자세히 알아볼 수 있습니다. - A screenshot showing a change in a time series chart + A screenshot showing a change in a time series chart 대시보드 또는 엔터티 요약 페이지가 열렸는데 예상한 추적된 변경 내용이 표시되지 않으면 시간 선택기 선택을 확인하세요. 당신이 보고 있는 창 밖일 수도 있다. -* **Entity sidebar:** 변경사항 표를 보려면 변경사항이 기록된 엔터티에 대해 **Change tracking** 클릭하세요. 시간 범위 선택기와 테이블 필터링 및 정렬 옵션이 제공됩니다. 이를 사용하여 변경 범위를 좁히거나 특정 변경 사항을 찾습니다. 추적된 변경 사항을 보려면 이 페이지에서 선택한 기간을 조정해야 할 수도 있습니다. 또한 기본적으로 테이블은 최대 2,000개의 변경 사항만 지연 로드합니다. 시간 범위를 필터링, 검색, 조정할 때 이 점을 염두에 두십시오. + + 여전히 기대하는 마커가 표시되지 않는 경우 ["차트에 포함할 마커가 선택되는 방식"](#nrql-markers-inclusion) 섹션을 검토하여 차트 쿼리를 기반으로 변경 추적 이벤트가 포함되도록 선택되는 방식에 대한 자세한 내용을 확인하세요. + + +* **Entity sidebar:** 변경 사항 표를 보려면 변경 사항이 기록된 모든 항목에 대해 **Change tracking** 을 클릭하세요. 시간 범위 선택기, 표 필터링 및 정렬 옵션 기능이 있습니다. 이를 사용하여 변경 범위를 좁히거나 특정 변경 사항을 찾을 수 있습니다. 이 페이지에서 선택한 시간 범위를 조정해야 추적된 변경 사항을 볼 수 있습니다. 또한 기본적으로 테이블은 최대 2,000개의 변경 사항만 지연 로드합니다. 필터링, 검색 및 시간 범위를 조정할 때 이 점을 명심하세요. -* **New Relic & Detection:** 변경사항이 문제와 관련된 경우 **Issues** 페이지의 **Root Cause Analysis** 섹션에 표시됩니다. +* **New Relic & Detection:** 변경사항이 문제와 관련된 경우 **Issues** 페이지의 **Root Cause Analysis** 섹션에 표시됩니다. - A screenshot showing the root cause analysis page in the user interface + A screenshot showing the root cause analysis page in the user interface * **Activity stream component:** 뉴렐릭 UI 전반에 걸쳐 다양한 페이지의 오른쪽 축소 패널에서 활동 피드에 기록된 변경 사항을 볼 수 있습니다. - A screenshot showing the activity stream in the right pane of the UI + A screenshot showing the activity stream in the right pane of the UI ## 변경의 영향 분석 [#impact] @@ -56,11 +45,7 @@ New Relic의 변경 사항 추적 기능을 사용하면 배포와 같은 최근 이 변경 사항이 이 개체의 상태, 성능 및 품질에 어떤 영향을 미쳤을 수 있는지에 대한 다양한 통찰력을 얻을 수 있습니다. 이러한 통찰력은 오류, 주요 지표 및 로그 속성 추세, 이상치, 문제 등을 기반으로 합니다. 이 페이지에는 진행 중인 변경 사항에 대한 더 많은 컨텍스트를 보고 이해하는 데 도움이 되는 강력한 범위 지정 및 비교 도구도 포함되어 있습니다. 예를 들어 현재 변경 사항이 이전 변경 사항과 어떻게 비교되는지 확인할 수 있습니다. -A screenshot showing and example of the change details page +A screenshot showing and example of the change details page
**Change details** 페이지입니다. @@ -78,12 +63,7 @@ New Relic의 변경 사항 추적 기능을 사용하면 배포와 같은 최근 * 오류 받은 편지함, 로그 모니터링, AIOps(문제, 사고 및 이상 현상) 등을 포함한 다양한 New Relic 제품의 측면 조사 결과는 이러한 변경이 중요한 문제 해결 및 분석 기록에 어떤 영향을 미치거나 관련되는지를 보여줍니다. 여기에 소개된 통찰력과 데이터가 필터링되는 방식은 엔터티 유형에 따라 다릅니다. 페이지 섹션의 제목 위에 마우스를 올리면 여기에서 의미 있는 통찰력이 어떻게 나타나는지 자세히 알아볼 수 있습니다. - A screenshot showing some faceted findings since your change + A screenshot showing some faceted findings since your change 페이지 수준 시간 선택기는 다른 New Relic 제품의 패싯 인사이트에도 영향을 미칩니다. 당신에게 가장 중요한 변화 이후의 기간에 초점을 맞추세요. @@ -93,18 +73,13 @@ New Relic의 변경 사항 추적 기능을 사용하면 배포와 같은 최근 * 이 변경 항목과 관련된 항목에 대한 링크입니다. 이는 문제의 원인을 찾거나 이 변경으로 인한 변경의 영향을 측정할 때 스택 전체를 이동하는 데 도움이 됩니다. -* 변경 사항이 기록될 때 제공되는 모든 데이터는 변경 여부에 관계없이 누구든지 상황을 빠르게 이해하는 데 도움이 됩니다. 변경 사항을 기록할 때 변경 로그 속성에 대한 URL을 제출해 보세요. UI는 이를 소스 저장소 관리 시스템으로의 편리한 출발점 역할을 하는 클릭 가능한 링크로 렌더링합니다. +* 변경 사항이 기록될 때 제공된 모든 데이터는 변경 여부를 불문하고 누구나 맥락을 빠르게 이해하는 데 도움이 됩니다. 변경 사항을 기록할 때 변경 로그 속성에 대한 URL을 제출해 보세요. UI 이를 클릭 가능한 링크로 렌더링하여 소스 리포지터리 관리 시스템으로의 편리한 출발점으로 사용할 수 있습니다. ### 전/후 비교 기간 변경 [#change-window] **Change details** 페이지는 이 변경으로 이어지는 일정 기간 동안 생성된 기록과 신호가 이 변경 이후 동일한 길이의 기간과 비교된다는 아이디어에 달려 있습니다. 오른쪽 상단에 있는 타임 피커를 사용하여 해당 기간을 변경할 수 있습니다. 이는 시계열 차트와 기타 UI 요소 모두에 영향을 미칩니다. -A screenshot showing how to change the time window for the comparison +A screenshot showing how to change the time window for the comparison 순 영향과 평균 값의 관련성은 시간 선택기 선택에 따라 달라집니다. 예를 들어, 30분 전에 변경이 발생했고 그 이전 시간과 이후 시간을 비교하는 경우 일부 인사이트의 관련성은 말하자면 약간 구워지지 않을 수 있으며 경우에 따라 UI는 시도조차 하지 않습니다. 결과를 표시합니다. @@ -114,22 +89,13 @@ New Relic의 변경 사항 추적 기능을 사용하면 배포와 같은 최근 **Change details** 페이지 오른쪽 상단에 있는 시간 선택 도구 옆에 있는 드롭다운 메뉴 옆에 **compared with** 표시됩니다. 해당 드롭다운 메뉴를 사용하여 기록된 다른 변경 사항을 선택할 수 있습니다. 그러면 페이지가 비교 모드로 전환됩니다. -A screenshot showing how to compare with another change +A screenshot showing how to compare with another change 변경사항을 비교하는 경우: * 각 시계열 차트에는 이번 변경사항과 해당 변경사항에 대한 곡선이 표시되어 각 변경사항의 상대적 실적을 비교하는 데 도움이 됩니다. - Screenshot showing comparison curves + Screenshot showing comparison curves * 이 페이지의 다른 계산은 이 변경 사항과 해당 변경 사항의 차이점을 이해하는 데 도움이 되도록 업데이트됩니다. 합리적인 경우 요율 또는 개수(예: +11)에 대한 백분율 증가/감소를 표시할 수 있습니다. @@ -146,11 +112,7 @@ New Relic의 변경 사항 추적 기능을 사용하면 배포와 같은 최근 일반 대시보드 차트와 달리 이러한 맞춤 추세 보드는 **Change details** 페이지의 기간 및 **compared with** 설정과 완전히 통합된 차트입니다. 이를 대시보드로 내보낼 수도 있으며 모두 특정 엔터티 및 사용자 계정에 연결됩니다. -Screenshot showing a custom trend board on change details page +Screenshot showing a custom trend board on change details page
다음은 추적된 변경 사항에 대한 단일 사용자 정의 트렌드 보드의 예입니다. 이 변경 사항에 두 개의 보드가 더 추가될 수 있습니다. @@ -158,77 +120,24 @@ New Relic의 변경 사항 추적 기능을 사용하면 배포와 같은 최근 사용자 정의 트렌드 보드를 추가하려면: -1. - **[one.newrelic.com](https://one.newrelic.com/) > All Entities** - - - 으로 이동하여 엔터티를 선택하세요. - -2. 왼쪽 탐색 창에서 - - - **Change tracking** - - - 클릭하고 변경 사항을 선택합니다. - -3. - **Key impacts** - - - 에 대한 차트 아래에서 - - - **Add any metric or event** - - - 클릭합니다. - -4. - **What do you want to track** - - - 클릭하고 지표 또는 이벤트를 선택하세요. - -5. - **How do you want to aggregate that?** - - - 클릭하고 함수를 선택합니다. +1. **[one.newrelic.com](https://one.newrelic.com/) > All Entities** 으로 이동하여 엔터티를 선택하세요. +2. 왼쪽 탐색 창에서 **Change tracking** 클릭하고 변경 사항을 선택합니다. +3. **Key impacts** 에 대한 차트 아래에서 **Add any metric or event** 클릭합니다. +4. **What do you want to track** 클릭하고 지표 또는 이벤트를 선택하세요. +5. **How do you want to aggregate that?** 클릭하고 함수를 선택합니다. ### 웹 트랜잭션에 대한 변경 사항의 영향을 확인하세요. [#web-transactions] 변경 추적을 통해 웹 프로세서가 APM 변경으로 인해 어떤 영향을 받았는지 자세히 확인할 수 있습니다. APM 애플리케이션에서 변경 사항을 추적하는 경우 제목이 **Web transaction impacts** 표시됩니다. 이 섹션의 표에는 애플리케이션에서 가장 많은 시간이 소요되는 최대 10개의 웹 트랜잭션에 대한 성능 지표가 나와 있습니다. -Screenshot showing where to view the impacts to web transactions +Screenshot showing where to view the impacts to web transactions 테이블에 표시되는 내용을 제어하려면 다음을 수행하세요. -* - **Metric** - - - 드롭다운 메뉴를 사용하면 추적된 변경 사항이 다양한 지표에 어떤 영향을 미쳤는지 확인할 수 있습니다. - +* **Metric** 드롭다운 메뉴를 사용하면 추적된 변경 사항이 다양한 지표에 어떤 영향을 미쳤는지 확인할 수 있습니다. * 표에서 전후 기간을 변경함에 따라 변경 후 기간이 향후 종료될 경우 불완전한 거래 데이터가 표시될 수 있다는 점을 유의하시기 바랍니다. - -* 추적된 다른 변경 사항을 나란히 비교하여 표에 표시하려면 - - - **compared with** - - - 에서 다른 변경 사항을 선택하세요. - -* - **Transaction name** - - - 열의 값 위로 마우스를 가져가면 해당 프로세서에 대한 5개 정책 모두에 대한 성능을 요약하는 도구 설명이 표시됩니다. 도구 설명에는 APM 프로세서 세부 정보에 대한 링크도 포함되어 있어 자세한 프로세서 수준 데이터를 자세히 알아볼 수 있습니다. +* 추적된 다른 변경 사항을 나란히 비교하여 표에 표시하려면 **compared with** 에서 다른 변경 사항을 선택하세요. +* **Transaction name** 열의 값 위로 마우스를 가져가면 해당 프로세서에 대한 5개 정책 모두에 대한 성능을 요약하는 도구 설명이 표시됩니다. 도구 설명에는 APM 프로세서 세부 정보에 대한 링크도 포함되어 있어 자세한 프로세서 수준 데이터를 자세히 알아볼 수 있습니다. ## 변경 데이터 쿼리 [#query-deployments] @@ -247,11 +156,7 @@ GraphQL을 사용하여 마커를 생성한 후 [쿼리 빌더](/docs/query-your - + ```sql SELECT * FROM Deployment @@ -259,11 +164,7 @@ GraphQL을 사용하여 마커를 생성한 후 [쿼리 빌더](/docs/query-your ``` - + ```sql SELECT count(*) FROM TransactionError @@ -272,11 +173,7 @@ GraphQL을 사용하여 마커를 생성한 후 [쿼리 빌더](/docs/query-your ``` - + ```sql SELECT count(*) FROM Transaction @@ -288,16 +185,70 @@ GraphQL을 사용하여 마커를 생성한 후 [쿼리 빌더](/docs/query-your +#### 차트에 포함할 마커를 선택하는 방법 [#nrql-markers-inclusion] + +대부분의 차트는 NRQL 쿼리에 의해 구동되며, 타일의 오른쪽 상단 모서리에 있는 세 개의 점을 클릭하면 볼 수 있습니다. 쿼리를 사용할 때 결과 차트에 포함할 마커를 결정하려면 다음 단계를 따르세요. + +1. 쿼리에서 직접 언급한 부분과 관련 부분을 모두 포함하는 해당 부분 집합을 도출합니다. 자세한 내용은 아래 섹션을 참조하세요. +2. 이 모임 집합에 대해 기록된 각 추적 변경 이벤트에 대해 마커를 그리고 최대 5,000개의 이벤트로 제한하여 마커를 그립니다. + +차트와 관련된 번호는 다음 논리를 기반으로 하는 NRQL 쿼리에서 파생됩니다. + +* `IN` 또는 `=` 연산자를 사용하여 차트에 대한 쿼리에서 직접 지정된 세포(예: `WHERE entity.guid IN ('MTE2NjAxMzJ8QVBNfEFQUExJQ0FUSU9OfDEyMDk1MjY5')` 절이 있는 쿼리). `entity.guid` 예시로 사용했지만, 다른 속성을 사용하여 쿼리에 대해 참고를 명시적으로 지정할 수도 있습니다. 그것들은 다음과 같습니다: + + * `entity.guid` + * `entityGuid` + * `entity.name` + * `entityName` + * `appName` + * `service.name` + +* 위 방법을 통해 지정된 게시물과 [관련된](https://docs.newrelic.com/docs/new-relic-solutions/new-relic-one/core-concepts/what-entity-new-relic/#related-entities) 게시물입니다. 다음 관계 유형만 고려됩니다. + + * `CALLS` + * `SERVES` + * `IS` + * `CONTAINS` + * `HOSTS` + +**차트에 대한 NRQL 쿼리는 현재 단일 계정으로만 범위가 지정되어 있습니다**. 즉, 여러 계정에 속하는지도-GUID를 지정하면 단일 계정의 마커만 시각화됩니다. + +예를 들어, 차트에 대한 쿼리가 다음과 같다고 가정해 보겠습니다. + +``` +FROM Transaction SELECT count(*) WHERE entityGuid IN ('MTE2NjAxMzJ8QVBNfEFQUExJQ0FUSU9OfDg0MTY1OTI','MTEwNjI2OTl8QVBNfEFQUExJQ0FUSU9OfDg5ODEwMDk5') TIMESERIES MAX SINCE 2 weeks AGO +``` + +두 학과의 마커가 차트에 표시됩니다. 또한, 엔티티 관련 마커도 차트에 포함됩니다. 관련 엔티티 목록을 확인하려면 아래 예와 유사한 GraphQL 쿼리를 실행할 수 있습니다. + +``` +{ + actor { + entity(guid: "MTEwNjI2OTl8QVBNfEFQUExJQ0FUSU9OfDg5ODEwMDk5") { + relatedEntities( + filter: {relationshipTypes: {include: [CALLS, SERVES, IS, CONTAINS, HOSTS]}} + ) { + results { + type + source { + guid + } + target { + guid + } + } + } + } + } +} +``` + ### NerdGraph(GraphQL) [#graphql-markers] [NerdGraph 탐색기](/docs/apis/nerdgraph/get-started/nerdgraph-explorer#find)에서 다음 NerdGraph 쿼리를 사용해 보십시오. - + ```graphql { actor { @@ -323,11 +274,7 @@ GraphQL을 사용하여 마커를 생성한 후 [쿼리 빌더](/docs/query-your ``` - + ```graphql { actor { @@ -362,11 +309,7 @@ GraphQL을 사용하여 마커를 생성한 후 [쿼리 빌더](/docs/query-your ``` - + ```graphql { actor { @@ -404,4 +347,4 @@ GraphQL을 사용하여 마커를 생성한 후 [쿼리 빌더](/docs/query-your ## 다음은 뭐지? [#what-next] -추적 중인 변경 사항을 팀에 알리려면 웹후크를 설정하는 것이 좋습니다. [변경 사항에 대해 팀에 알리기 를](/docs/change-tracking/change-tracking-webhooks) 참조하세요. +추적 중인 변경 사항을 팀에 알리려면 웹후크를 설정하는 것이 좋습니다. [변경 사항에 대해 팀에 알리기 를](/docs/change-tracking/change-tracking-webhooks) 참조하세요. \ No newline at end of file diff --git a/src/i18n/content/kr/docs/network-performance-monitoring/setup-performance-monitoring/snmp-performance-monitoring.mdx b/src/i18n/content/kr/docs/network-performance-monitoring/setup-performance-monitoring/snmp-performance-monitoring.mdx index ed2e4fcc4a6..84df53328e2 100644 --- a/src/i18n/content/kr/docs/network-performance-monitoring/setup-performance-monitoring/snmp-performance-monitoring.mdx +++ b/src/i18n/content/kr/docs/network-performance-monitoring/setup-performance-monitoring/snmp-performance-monitoring.mdx @@ -17,40 +17,26 @@ translationType: machine 시작하기 전에 [New Relic 계정에 가입](https://newrelic.com/signup) 해야 합니다. 에이전트를 수동으로 설치하도록 선택한 경우 다음도 필요합니다. * New Relic [계정 ID](/docs/accounts/accounts-billing/account-setup/account-id) . - -* 뉴렐릭 - - - - . +* 뉴렐릭 . Docker 또는 Podman에 대한 컨테이너로 SNMP 모니터링 에이전트를 구현하고 배포하는 것이 좋습니다. 필요한 경우 Linux에서 베어메탈 서비스로 설치할 수도 있습니다. - + SNMP 모니터링용 에이전트를 배포하려면 Docker 컨테이너를 사용하는 것이 좋습니다. 이를 사용하려면 다음이 필요합니다. * Docker 가 지원하는 [Linux 플랫폼 중 하나에 Docker](https://docs.docker.com/engine/install/#supported-platforms) 설치된 . * 명령줄을 통해 새 컨테이너를 시작하는 기능. - + 에이전트를 강화하기 위해 Podman 구축을 사용하는 경우 다음이 필요합니다. * [Podman이 지원하는 Linux 플랫폼](https://podman.io/docs/installation#installing-on-linux)중 하나에 설치된 Podman * 명령줄을 통해 새 컨테이너를 시작하는 기능 - + Linux를 사용하여 에이전트를 서비스로 설치하는 경우 다음이 필요합니다. * 호스트에 대한 SSH 액세스 @@ -63,7 +49,7 @@ Docker 또는 Podman에 대한 컨테이너로 SNMP 모니터링 에이전트를 * 데비안 12(책벌레) * 데비안 11(불스아이) * 데비안 10(버스터) - * 레드햇 엔터프라이즈 리눅스 9 + * RedHat Enterprise Linux 9 〜 9.5 * 우분투 20.04(포컬 LTS) * 우분투 22.04(제미 LTS) * 우분투 23.04(음력) @@ -79,10 +65,7 @@ Docker 또는 Podman에 대한 컨테이너로 SNMP 모니터링 에이전트를 네트워크 환경과 네트워크 장치 자체에 대한 전제 조건도 있습니다. - + 에이전트의 호스트 IP 주소에서 SNMP 폴링을 허용하도록 목표 장치를 구성해야 합니다. 여기에서 기본 SNMP 설정의 일부 샘플을 찾을 수 있습니다(전체 목록은 아님). * 시스코 @@ -91,18 +74,13 @@ Docker 또는 Podman에 대한 컨테이너로 SNMP 모니터링 에이전트를 * [NX-OS](https://www.cisco.com/c/en/us/td/docs/switches/datacenter/sw/4_2/nx-os/system_management/configuration/guide/sm_nx_os_cli/sm_9snmp.html#wp1056898) * 향나무 - * [주노스 OS](https://www.juniper.net/documentation/us/en/software/junos/network-mgmt/topics/topic-map/configuring-basic-snmp.html) * 팔로 알토 - * [PAN-OS](https://docs.paloaltonetworks.com/pan-os/10-1/pan-os-web-interface-help/device/device-setup-operations/enable-snmp-monitoring.html) - + [SNMP에 대한 네트워크 보안 전제 조건을](/install/npm)확인하십시오. @@ -111,10 +89,7 @@ Docker 또는 Podman에 대한 컨테이너로 SNMP 모니터링 에이전트를 당사의 네트워크 모니터링 컨테이너는 Traps 및 Informs를 포함하여 모든 주요 버전의 SNMP(v1, v2c 및 v3)를 지원합니다. 또한 SNMP v3은 다음과 같은 인증 및 개인 정보 보호 설정을 지원합니다. - +
- ```"unauthorized", { - extensions: { nerdGraphExtensions: { errorClass: "ACCESS_DENIED" } } - } + ``` + "unauthorized", { + extensions: { nerdGraphExtensions: { errorClass: "ACCESS_DENIED" } } + } ```
``` - cannot create subaccount -- multiple parent account ids found. Please use Partnership API.", { - extensions: { nerdGraphExtensions: { errorClass: "SERVER_ERROR" } } - } + "cannot create subaccount -- multiple parent account ids found. Please use Partnership API.", { + extensions: { nerdGraphExtensions: { errorClass: "SERVER_ERROR" } } + } ```
@@ -278,51 +253,33 @@ Docker 또는 Podman에 대한 컨테이너로 SNMP 모니터링 에이전트를 ## New Relic에서 SNMP 데이터 모니터링 설정 [#setup-snmp-monitoring] -
+
- - 1. 이동 **[one.newrelic.com > All capabilities](https://one.newrelic.com/all-capabilities) > Add more data** + + 1. 이동 **[one.newrelic.com > All capabilities](https://one.newrelic.com/all-capabilities) > Add more data** 2. **Network** 보일 때까지 아래로 스크롤하고 **SNMP** 클릭합니다. 3. 안내된 설치 프로세스에 설명된 단계를 따르세요. docker, Podman 또는 Linux를 사용할 수 있습니다. - + SNMP 데이터 추가 - SNMP guided setup + SNMP guided setup
- **[one.newrelic.com > All capabilities](https://one.newrelic.com/ll-capabilities) > Add more data > Network > SNMP** SNMP 데이터 모니터링을 설정합니다. + **[one.newrelic.com > All capabilities](https://one.newrelic.com/ll-capabilities) > Add more data > Network > SNMP** SNMP 데이터 모니터링을 설정합니다.
- 4. 뉴렐릭 UI 에서 네트워크 성능 데이터를 조사하세요. + 4. 뉴렐릭 UI 에서 네트워크 성능 데이터를 조사하세요.
- + SNMP 에이전트를 수동으로 설치하는 방법을 읽기 전에 안내된 설치 프로세스를 사용하여 오류를 방지하는 것이 좋습니다. - + SNMP 데이터 추가 @@ -346,13 +303,10 @@ Docker 또는 Podman에 대한 컨테이너로 SNMP 모니터링 에이전트를 1. Docker 가 설치된 Linux 호스트에서 다음 중 하나를 실행하여 **ktranslate** 이미지를 다운로드합니다. * [도커 허브](https://hub.docker.com/): - ```shell docker pull kentik/ktranslate:v2 ``` - * [Quay.io](https://quay.io/): - ```shell docker pull quay.io/kentik/ktranslate:v2 ``` @@ -366,7 +320,7 @@ Docker 또는 Podman에 대한 컨테이너로 SNMP 모니터링 에이전트를 docker rm -v $id ``` - 3. `snmp-base.yaml` 파일을 편집하고 `discovery.cidrs` 및 `discovery.default_communities` 속성을 네트워크에 적합한 값으로 정의합니다. 검색된 모든 MIB를 `global.mibs_enabled` 속성에 자동으로 추가하려면 `discovery.add_mibs: true` 설정하는 것이 좋습니다. 또한 [보안 상태가 강화된 기기](/docs/network-performance-monitoring/troubleshooting/snmp-discovery-no-devices) 에서 검색 문제를 방지하려면 `discovery.check_all_ips: true` 설정하는 것이 좋습니다. + 3. `snmp-base.yaml` 파일을 편집하고 `discovery.cidrs` 및 `discovery.default_communities` 속성을 네트워크에 적합한 값으로 정의합니다. `discovery.add_mibs: true` 설정하여 검색된 모든 MIB를 `global.mibs_enabled` 속성에 자동으로 추가하는 것이 좋습니다. 또한 [보안 태세가 강화된 장치](/docs/network-performance-monitoring/troubleshooting/snmp-discovery-no-devices) 에서 검색 문제를 방지하려면 `discovery.check_all_ips: true` 설정하는 것이 좋습니다. 4. 네트워크 모니터링 에이전트를 시작하여 대상 장치를 폴링하고 들어오는 SNMP 트랩 메시지를 수신합니다. `$CONTAINER_SERVICE` 컨테이너의 고유한 이름으로 바꾸고`$YOUR_NR_LICENSE_KEY` 및 `$YOUR_NR_ACCOUNT_ID` 를 원하는 값으로 바꿉니다. @@ -389,14 +343,13 @@ Docker 또는 Podman에 대한 컨테이너로 SNMP 모니터링 에이전트를 모든 SNMP 폴링 에이전트는 수동 수신기를 실행하므로 트랩 수집을 위한 전용 에이전트를 실행할 필요는 없습니다. 기본적으로 컨테이너는 호스트의 포트 162(UDP)에서 수신 대기합니다. 하지만 docker run 명령( `-p 162:1620/udp`)에서 [게시된 포트](https://docs.docker.com/network/#published-ports) 매핑을 변경할 수 있습니다. 전용 컨테이너를 설정하려면 [이 섹션](/docs/network-performance-monitoring/setup-performance-monitoring/snmp-performance-monitoring/#optional-installation-for-snmp-traps) 의 단계를 따르세요. - 5. 뉴렐릭 UI 에서 네트워크 성능 데이터를 조사하세요. + 5. 뉴렐릭 UI 에서 네트워크 성능 데이터를 조사하세요. 1. Podman이 설치된 호스트에서 다음 명령을 실행하여 **ktranslate** 이미지를 다운로드합니다. * [도커 허브](https://hub.docker.com/): - ```shell podman pull docker.io/kentik/ktranslate:v2 ``` @@ -410,7 +363,7 @@ Docker 또는 Podman에 대한 컨테이너로 SNMP 모니터링 에이전트를 podman rm -v $id ``` - 3. `snmp-base.yaml` 파일을 편집하고 `discovery.cidrs` 및 `discovery.default_communities` 속성을 네트워크에 적합한 값으로 정의합니다. 검색된 모든 MIB를 `global.mibs_enabled` 속성에 자동으로 추가하려면 `discovery.add_mibs: true` 설정하는 것이 좋습니다. 또한 [보안 상태가 강화된 기기](/docs/network-performance-monitoring/troubleshooting/snmp-discovery-no-devices) 에서 검색 문제를 방지하려면 `discovery.check_all_ips: true` 설정하는 것이 좋습니다. + 3. `snmp-base.yaml` 파일을 편집하고 `discovery.cidrs` 및 `discovery.default_communities` 속성을 네트워크에 적합한 값으로 정의합니다. `discovery.add_mibs: true` 설정하여 검색된 모든 MIB를 `global.mibs_enabled` 속성에 자동으로 추가하는 것이 좋습니다. 또한 [보안 태세가 강화된 장치](/docs/network-performance-monitoring/troubleshooting/snmp-discovery-no-devices) 에서 검색 문제를 방지하려면 `discovery.check_all_ips: true` 설정하는 것이 좋습니다. 4. 루트리스 Podman 컨테이너는 1024 미만의 포트에 바인딩할 수 없습니다. 트랩 메시지에 대한 패킷 리디렉션을 처리하려면 UDP 포트 162에 도착하는 패킷을 목표로 하는 `iptables` 규칙을 만들어야 합니다. @@ -439,21 +392,18 @@ Docker 또는 Podman에 대한 컨테이너로 SNMP 모니터링 에이전트를 모든 SNMP 폴링 에이전트는 수동 수신기를 실행하므로 트랩 수집을 위한 전용 에이전트를 실행할 필요는 없습니다. 기본적으로 컨테이너는 호스트의 포트 162(UDP)에서 수신 대기하지만 docker run 명령 - `-p 162:1620/udp` 에서 [게시된 포트](https://docs.docker.com/network/#published-ports) 매핑을 변경할 수 있습니다. 전용 컨테이너를 설정하려면 [이 섹션](/docs/network-performance-monitoring/setup-performance-monitoring/snmp-performance-monitoring/#optional-installation-for-snmp-traps) 의 단계를 따르세요. - 6. 뉴렐릭 UI 에서 네트워크 성능 데이터를 조사하세요. + 6. 뉴렐릭 UI 에서 네트워크 성능 데이터를 조사하세요. 1. 귀하의 헤드셋 매니저에 따라 아래 명령 중 하나를 사용하여 설치하십시오. `ktranslate` * Yum: - ```shell curl -s https://packagecloud.io/install/repositories/kentik/ktranslate/script.rpm.sh | sudo bash && \ sudo yum install ktranslate ``` - * Apt: - ```shell curl -s https://packagecloud.io/install/repositories/kentik/ktranslate/script.deb.sh | sudo bash && \ sudo apt-get install ktranslate @@ -517,7 +467,7 @@ Docker 또는 Podman에 대한 컨테이너로 SNMP 모니터링 에이전트를 sudo chown ktranslate:ktranslate /etc/ktranslate/snmp-base.yaml ``` - 4. `snmp-base.yaml` 파일을 편집하고 `discovery.cidrs` 및 `discovery.default_communities` 속성을 네트워크에 적합한 값으로 정의합니다. 검색된 모든 MIB를 `global.mibs_enabled` 속성에 자동으로 추가하려면 `discovery.add_mibs: true` 설정하는 것이 좋습니다. 또한 [보안 상태가 강화된 기기](/docs/network-performance-monitoring/troubleshooting/snmp-discovery-no-devices) 에서 검색 문제를 방지하려면 `discovery.check_all_ips: true` 설정하는 것이 좋습니다. + 4. `snmp-base.yaml` 파일을 편집하고 `discovery.cidrs` 및 `discovery.default_communities` 속성을 네트워크에 적합한 값으로 정의합니다. `discovery.add_mibs: true` 설정하여 검색된 모든 MIB를 `global.mibs_enabled` 속성에 자동으로 추가하는 것이 좋습니다. 또한 [보안 태세가 강화된 장치](/docs/network-performance-monitoring/troubleshooting/snmp-discovery-no-devices) 에서 검색 문제를 방지하려면 `discovery.check_all_ips: true` 설정하는 것이 좋습니다. 5. `ktranslate` 서비스를 다시 시작하여 변경 사항을 `snmp-base.yaml` 파일에 적용합니다. @@ -525,7 +475,7 @@ Docker 또는 Podman에 대한 컨테이너로 SNMP 모니터링 에이전트를 sudo systemctl restart ktranslate ``` - 6. 뉴렐릭 UI 에서 네트워크 성능 데이터를 조사하세요. + 6. 뉴렐릭 UI 에서 네트워크 성능 데이터를 조사하세요. @@ -541,10 +491,7 @@ Docker 또는 Podman에 대한 컨테이너로 SNMP 모니터링 에이전트를 1. `163` 등의 다른 포트를 통해 전송되도록 `v3` 트랩을 구성합니다. 2. docker 컨테이너의 인수를 `-p 162:1620/udp` 에서 `-p $src:1620/udp` 로 약간 변경합니다. 여기서 `$src` 는 `v3` 트랩이 도착하는 포트입니다. - + @@ -709,6 +656,6 @@ SNMP 데이터를 보완하기 위해 더 많은 에이전트를 설정할 수 * 네트워크가 어떻게 사용되는지 더 잘 파악하려면[네트워크 흐름 데이터 모니터링을 설정하세요](/docs/network-performance-monitoring/setup-performance-monitoring/network-flow-monitoring). * 장치에서 시스템 메시지에 대한 통찰력을 얻으려면 [네트워크 syslog 수집을 설정](/docs/network-performance-monitoring/setup-performance-monitoring/network-syslog-monitoring) 하십시오. -
+
- + \ No newline at end of file diff --git a/src/i18n/content/pt/docs/apis/intro-apis/new-relic-api-keys.mdx b/src/i18n/content/pt/docs/apis/intro-apis/new-relic-api-keys.mdx index 59b381a4a51..0d83dfda459 100644 --- a/src/i18n/content/pt/docs/apis/intro-apis/new-relic-api-keys.mdx +++ b/src/i18n/content/pt/docs/apis/intro-apis/new-relic-api-keys.mdx @@ -282,7 +282,7 @@ Também temos vários tipos de chave de API mais antigos ou menos comuns. Para g 2. Acesse [**one.newrelic.com/api-keys**](https://one.newrelic.com/api-keys) (ou [**one.eu.newrelic.com/api-keys**](https://one.eu.newrelic.com/api-keys) para nosso data center na UE). - 3. No lado esquerdo da página, encontre a seção **Looking for other keys?** e clique no link do tipo de chave que você deseja girar: + 3. No lado direito da página, encontre a seção **Looking for other keys?** e clique no link do tipo de chave que você deseja girar: Screenshot of links to Insights keys @@ -306,7 +306,7 @@ Também temos vários tipos de chave de API mais antigos ou menos comuns. Para g 2. Acesse [**one.newrelic.com/api-keys**](https://one.newrelic.com/api-keys) (ou [**one.eu.newrelic.com/api-keys**](https://one.eu.newrelic.com/api-keys) para nosso data center na UE). - 3. No lado esquerdo da página, encontre a seção **Looking for other keys?** e clique em **REST API key**. + 3. No lado direito da página, encontre a seção **Looking for other keys?** e clique em **REST API key**. Screenshot of links to legacy REST API keys diff --git a/src/i18n/content/pt/docs/apis/nerdgraph/examples/export-import-dashboards-using-api.mdx b/src/i18n/content/pt/docs/apis/nerdgraph/examples/export-import-dashboards-using-api.mdx index 3070c11ce36..17e8b9614f7 100644 --- a/src/i18n/content/pt/docs/apis/nerdgraph/examples/export-import-dashboards-using-api.mdx +++ b/src/i18n/content/pt/docs/apis/nerdgraph/examples/export-import-dashboards-using-api.mdx @@ -12,7 +12,7 @@ translationType: machine Você pode exportar seu [painel](/docs/query-your-data/explore-query-data/dashboards/introduction-dashboards) e importá-lo para uma nova conta usando consultas e mutações no [NerdGraph](/docs/apis/nerdgraph/get-started/introduction-new-relic-nerdgraph). - Você também pode exportar seu [como uma imagem](/docs/apis/nerdgraph/examples/export-dashboards-pdfpng-using-api). + Você também pode exportar seu [como uma imagem](/docs/apis/nerdgraph/examples/export-dashboards-pdfpng-using-api). Para fazer isso: @@ -26,7 +26,7 @@ Para fazer isso: Use a seguinte consulta para recuperar uma lista do seu painel existente: -``` +```graphql { actor { entitySearch(queryBuilder: {type: DASHBOARD}) { @@ -48,10 +48,10 @@ Use a seguinte consulta para recuperar uma lista do seu painel existente: Use a seguinte consulta para exportar e, em seguida, extraia as informações da entidade do dashboard da saída: -``` +```graphql { actor { - entity(guid: "your_guid_xxxxxxx") { + entity(guid: "YOUR_DASHBOARD_GUID") { ... on DashboardEntity { name permissions @@ -72,19 +72,15 @@ Use a seguinte consulta para exportar e, em seguida, extraia as informações da Exemplo de informações de entidade na saída do GraphiQL: -dashboards_api_entity_section.png +dashboards_api_entity_section.png ## Importe um dashboard para uma nova conta [#import] Use a seguinte mutação para importar o dashboard para outra conta: -``` +```graphql mutation create($dashboard: DashboardInput!) { - dashboardCreate(accountId: your_new_AccountID, dashboard: $dashboard) { + dashboardCreate(accountId: YOUR_NEW_ACCOUNT_ID, dashboard: $dashboard) { entityResult { guid name @@ -104,8 +100,4 @@ Siga esses passos: 3. Altere `entity` para `dashboard`. - dashboards_api_paste_entity.png + dashboards_api_paste_entity.png \ No newline at end of file diff --git a/src/i18n/content/pt/docs/apis/nerdgraph/examples/manage-accounts-nerdgraph.mdx b/src/i18n/content/pt/docs/apis/nerdgraph/examples/manage-accounts-nerdgraph.mdx index 0f32865114f..a7714edde5c 100644 --- a/src/i18n/content/pt/docs/apis/nerdgraph/examples/manage-accounts-nerdgraph.mdx +++ b/src/i18n/content/pt/docs/apis/nerdgraph/examples/manage-accounts-nerdgraph.mdx @@ -59,7 +59,9 @@ Aqui está um exemplo de como criar uma conta. Antes de criar uma conta, certifi ```graphql mutation { - accountManagementCreateAccount(managedAccount: {name: "NEW_ACCOUNT_NAME"}) { + accountManagementCreateAccount( + managedAccount: {name: "NEW_ACCOUNT_NAME"} + ) { managedAccount { id name @@ -73,7 +75,9 @@ Se você tiver uma estrutura de conta complexa, poderá usar o parâmetro opcion ```graphql mutation { - accountManagementCreateAccount(managedAccount: {name: "NEW_ACCOUNT_NAME", regionCode: "eu01"}) { + accountManagementCreateAccount( + managedAccount: { name: "NEW_ACCOUNT_NAME", regionCode: "eu01" } + ) { managedAccount { id name @@ -89,7 +93,9 @@ Aqui está um exemplo de como renomear uma conta. ```graphql mutation { - accountManagementUpdateAccount(managedAccount: {name: "UPDATED_ACCOUNT_NAME", id: 101010101}) { + accountManagementUpdateAccount( + managedAccount: { name: "UPDATED_ACCOUNT_NAME", id: 101010101 } + ) { managedAccount { id name @@ -144,9 +150,10 @@ Aqui estão alguns erros e o que eles significam:
@@ -158,9 +165,9 @@ Aqui estão alguns erros e o que eles significam: diff --git a/src/i18n/content/pt/docs/apis/nerdgraph/examples/manage-live-chart-urls-via-api.mdx b/src/i18n/content/pt/docs/apis/nerdgraph/examples/manage-live-chart-urls-via-api.mdx index 65465da13e7..7ab66e42fa7 100644 --- a/src/i18n/content/pt/docs/apis/nerdgraph/examples/manage-live-chart-urls-via-api.mdx +++ b/src/i18n/content/pt/docs/apis/nerdgraph/examples/manage-live-chart-urls-via-api.mdx @@ -25,7 +25,7 @@ Para fazer isso: Use a seguinte consulta para recuperar uma lista de URLs de gráficos dinâmicos existentes: -``` +```graphql { actor { dashboard { @@ -49,9 +49,9 @@ Use a seguinte consulta para recuperar uma lista de URLs de gráficos dinâmicos Use a seguinte consulta para revogar o URL do gráfico ao vivo especificado: -``` +```graphql mutation { - dashboardWidgetRevokeLiveUrl(uuid: "") { + dashboardWidgetRevokeLiveUrl(uuid: "LIVE_CHART_UUID") { uuid errors { description @@ -59,4 +59,4 @@ mutation { } } } -``` +``` \ No newline at end of file diff --git a/src/i18n/content/pt/docs/apis/nerdgraph/examples/mobile-monitoring-config-nerdgraph.mdx b/src/i18n/content/pt/docs/apis/nerdgraph/examples/mobile-monitoring-config-nerdgraph.mdx index 68e15ad5641..be250b451b1 100644 --- a/src/i18n/content/pt/docs/apis/nerdgraph/examples/mobile-monitoring-config-nerdgraph.mdx +++ b/src/i18n/content/pt/docs/apis/nerdgraph/examples/mobile-monitoring-config-nerdgraph.mdx @@ -27,17 +27,15 @@ mutation CreateExampleMobileApplication($accountId: Int!, $name: String!) { name } } - ``` Variáveis: -```JSON +```json { "accountId": Int!, "name": String! } - ``` ## Recuperando o token do aplicativo [#get-mobile-token] @@ -64,7 +62,7 @@ query FetchMobileApplicationToken($guid: EntityGuid!) { Variáveis: -```JSON +```json { "guid": EntityGuid! } @@ -77,7 +75,10 @@ Aqui está um exemplo de mutação que altera o nome do seu aplicativo mobile no Mutação: ```graphql -mutation UpdateMobileApplicationAlias($guid: EntityGuid!, $settings: $AgentApplicationSettingsUpdateInput) { +mutation UpdateMobileApplicationAlias( + $guid: EntityGuid!, + $settings: $AgentApplicationSettingsUpdateInput +) { agentApplicationSettingsUpdate(guid: $guid, settings: $settings) { alias guid @@ -92,7 +93,7 @@ mutation UpdateMobileApplicationAlias($guid: EntityGuid!, $settings: $AgentAppli Variáveis: -```JSON +```json { "guid": EntityGuid!, "settings": { @@ -103,12 +104,15 @@ Variáveis: ## Exemplos de configuração de monitoramento de Mobile [#configure-mobile-application] -Aqui está um exemplo de como definir as configurações de via NerdGraph: +Aqui está um exemplo de como definir as configurações de via NerdGraph: Mutação: ```graphql -mutation UpdateMobileSettingsExample($guid: EntityGuid!, $settings: AgentApplicationSettingsUpdateInput!) { +mutation UpdateMobileSettingsExample( + $guid: EntityGuid! + $settings: AgentApplicationSettingsUpdateInput! +) { agentApplicationSettingsUpdate(guid: $guid, settings: $settings) { guid errors { @@ -139,7 +143,7 @@ mutation UpdateMobileSettingsExample($guid: EntityGuid!, $settings: AgentApplica Variáveis: -```JSON +```json { "guid": EntityGuid!, "settings": { @@ -166,4 +170,4 @@ Variáveis: } } } -``` +``` \ No newline at end of file diff --git a/src/i18n/content/pt/docs/apis/nerdgraph/examples/nerdgraph-cloud-integrations-api-tutorial.mdx b/src/i18n/content/pt/docs/apis/nerdgraph/examples/nerdgraph-cloud-integrations-api-tutorial.mdx index f55231f7184..8e4c2afbdea 100644 --- a/src/i18n/content/pt/docs/apis/nerdgraph/examples/nerdgraph-cloud-integrations-api-tutorial.mdx +++ b/src/i18n/content/pt/docs/apis/nerdgraph/examples/nerdgraph-cloud-integrations-api-tutorial.mdx @@ -35,20 +35,17 @@ Para acessar o explorador NerdGraph GraphiQL: Consulta são solicitações que visam apenas buscar dados (sem efeitos colaterais). consulta no NerdGraph não são estáticos, o que significa que você pode solicitar mais ou menos dados dependendo da sua necessidade. Para cada consulta, você pode especificar exatamente quais dados deseja recuperar, desde que sejam suportados pelo esquema. - + Esta consulta retorna uma lista de todas as contas de provedores disponíveis nos dados da sua infraestrutura. Dependendo do fornecedor, propriedades adicionais podem ser solicitadas. Por exemplo, para o GCP, você também pode solicitar a propriedade `serviceAccountId` , que é necessária ao vincular um novo projeto do GCP ao New Relic. **Anonymous:** - ``` + ```graphql { actor { - account(id: ) { + account(id: YOUR_ACCOUNT_ID) { cloud { providers { id @@ -68,10 +65,10 @@ Consulta são solicitações que visam apenas buscar dados (sem efeitos colatera **Named:** - ``` + ```graphql query cloudProviders { actor { - account(id: ) { + account(id: YOUR_ACCOUNT_ID) { cloud { providers { id @@ -85,16 +82,13 @@ Consulta são solicitações que visam apenas buscar dados (sem efeitos colatera ``` - + Esta consulta retorna informações sobre uma conta de provedor específica para sua integração AWS. As propriedades `id`, `name`, `slug` são solicitadas, juntamente com uma lista de integrações disponíveis para serem monitoradas. - ``` + ```graphql { actor { - account(id: ) { + account(id: YOUR_ACCOUNT_ID) { cloud { provider(slug: "aws") { id @@ -113,16 +107,13 @@ Consulta são solicitações que visam apenas buscar dados (sem efeitos colatera ``` - + Esta consulta retorna informações sobre uma integração específica de serviços na nuvem de um provedor. Neste exemplo, a integração é a [integração de monitoramento AWS ALB](/docs/integrations/amazon-integrations/aws-integrations-list/aws-alb-monitoring-integration) e o provedor é AWS. As propriedades `id`, `name`, `slug` e `isAllowed` são solicitadas com o parâmetro de configuração disponível. - ``` + ```graphql { actor { - account(id: ) { + account(id: YOUR_ACCOUNT_ID) { cloud { provider(slug: "aws") { service(slug: "alb") { @@ -139,16 +130,13 @@ Consulta são solicitações que visam apenas buscar dados (sem efeitos colatera ``` - + Esta consulta retorna a lista de contas na nuvem habilitadas com sua conta New Relic. (Sua conta na nuvem associa sua conta New Relic e uma conta de provedor específica à sua integração.) Você pode ativar várias contas de provedor de nuvem na mesma conta New Relic, mesmo com o mesmo provedor de nuvem. - ``` + ```graphql { actor { - account(id: ) { + account(id: YOUR_ACCOUNT_ID) { cloud { linkedAccounts { id @@ -166,18 +154,15 @@ Consulta são solicitações que visam apenas buscar dados (sem efeitos colatera ``` - + Esta consulta retorna informações sobre uma conta vinculada, incluindo as propriedades `name`, `providerId` e uma lista de integração na nuvem habilitada para monitoramento. - ``` + ```graphql { actor { - account(id: ) { + account(id: YOUR_ACCOUNT_ID) { cloud { - linkedAccount(id: ) { + linkedAccount(id: LINKED_CLOUD_ACCOUNT_ID) { name provider { id @@ -197,16 +182,13 @@ Consulta são solicitações que visam apenas buscar dados (sem efeitos colatera ``` - + Esta consulta retorna toda a integração de monitores para todas as contas de nuvem do provedor. - ``` + ```graphql { actor { - account(id: ) { + account(id: YOUR_ACCOUNT_ID) { cloud { linkedAccounts { name @@ -232,24 +214,21 @@ Consulta são solicitações que visam apenas buscar dados (sem efeitos colatera ``` - + Esta consulta retorna informações sobre uma integração específica de uma conta vinculada específica. - ``` + ```graphql { actor { - account(id: ) { + account(id: YOUR_ACCOUNT_ID) { cloud { - linkedAccount(id: ) { + linkedAccount(id: LINKED_CLOUD_ACCOUNT_ID) { name provider { id name } - integration(id: ) { + integration(id: INTEGRATION_ID) { id name service { @@ -273,36 +252,33 @@ Consulta são solicitações que visam apenas buscar dados (sem efeitos colatera Mutações são solicitações que têm como objetivo causar efeitos colaterais, como criação ou atualização de dados no servidor. As mutações requerem a palavra-chave `mutation` e o nome da mutação. As mutações do NerdGraph estão restritas a um subconjunto de todas as mutações possíveis. - + Essa mutação permite vincular contas de provedores de nuvem a uma conta New Relic, criando uma ou mais contas vinculadas. Ele pode vincular uma conta específica de provedor de nuvem (por exemplo, `aws`) à conta New Relic ou várias contas de provedor de nuvem a uma conta New Relic. **Required:** - * O parâmetro `` é obrigatório e não pode ficar vazio. Deve ser exclusivo em sua conta New Relic. + * O parâmetro `PROVIDER_ACCOUNT_NAME` é obrigatório e não pode ficar vazio. Deve ser exclusivo em sua conta New Relic. * Outros parâmetros são específicos do provedor (AWS, GCP e Azure) e também são obrigatórios. Nas seções a seguir você pode ver quais parâmetros são necessários para cada conta de provedor. Depois de vincular uma conta, os valores `createdAt` e `updatedAt` são iguais. - ``` + ```graphql mutation { cloudLinkAccount( accounts: { - accountId: , + accountId: YOUR_ACCOUNT_ID, aws: [{ - name: , - + name: PROVIDER_ACCOUNT_NAME, + # other parameters }] azure: [{ - name: , - + name: PROVIDER_ACCOUNT_NAME, + # other parameters }] gcp: [{ - name: , - + name: PROVIDER_ACCOUNT_NAME, + # other parameters }] } ) { @@ -319,20 +295,17 @@ Mutações são solicitações que têm como objetivo causar efeitos colaterais, ``` - + Essa mutação vincula uma conta de provedor AWS à sua conta New Relic. - ``` + ```graphql mutation { cloudLinkAccount( - accountId: , + accountId: YOUR_ACCOUNT_ID, accounts: { aws: [{ - name: , - arn: + name: PROVIDER_ACCOUNT_NAME, + arn: AWS_ROLE_ARN }] } ) { @@ -349,20 +322,17 @@ Mutações são solicitações que têm como objetivo causar efeitos colaterais, ``` - + Essa mutação vincula uma conta da AWS que envia dados por meio do CloudWatch Metric Streams à sua conta New Relic. - ``` + ```graphql mutation { cloudLinkAccount( - accountId: , + accountId: YOUR_ACCOUNT_ID, accounts: { aws: [{ - name: , - arn: , + name: PROVIDER_ACCOUNT_NAME, + arn: AWS_ROLE_ARN, metricCollectionMode: PUSH }] } @@ -380,23 +350,20 @@ Mutações são solicitações que têm como objetivo causar efeitos colaterais, ``` - + Esta mutação vincula uma assinatura de nuvem do Microsoft Azure à conta New Relic. - ``` + ```graphql mutation { cloudLinkAccount( - accountId: , + accountId: YOUR_ACCOUNT_ID, accounts: { azure: [{ - name: , - applicationId: , - clientSecret: , - tenantId: , - subscriptionId: + name: PROVIDER_ACCOUNT_NAME, + applicationId: AZURE_APP_ID, + clientSecret: AZURE_APP_KEY, + tenantId: AZURE_TENANT_ID, + subscriptionId: AZURE_SUBSCRIPTION_ID }] } ) { @@ -412,20 +379,17 @@ Mutações são solicitações que têm como objetivo causar efeitos colaterais, ``` - + Esta mutação alterna o segredo do cliente em uma conta existente do Microsoft Azure. - ``` + ```graphql mutation { cloudUpdateAccount( - accountId: + accountId: YOUR_ACCOUNT_ID accounts: { azure: { - linkedAccountId: , - clientSecret: + linkedAccountId: NR_LINKED_ACCOUNT_ID, + clientSecret: AZURE_SECRET_TOKEN } } ) { @@ -441,20 +405,17 @@ Mutações são solicitações que têm como objetivo causar efeitos colaterais, ``` - + Essa mutação vincula um projeto do GCP à conta da New Relic. - ``` + ```graphql mutation { cloudLinkAccount( - accountId: , + accountId: YOUR_ACCOUNT_ID, accounts: { gcp: [{ - name: , - projectId: + name: PROVIDER_ACCOUNT_NAME, + projectId: GCP_PROJECT_ID }] } ) { @@ -470,24 +431,21 @@ Mutações são solicitações que têm como objetivo causar efeitos colaterais, ``` - + Essa mutação permite renomear uma ou mais contas de provedores vinculadas. O parâmetro `name` é obrigatório, não pode ficar vazio e deve ser exclusivo em sua conta New Relic. - ``` + ```graphql mutation { cloudRenameAccount( - accountId: , + accountId: YOUR_ACCOUNT_ID, accounts: [ { - id: , - name: + id: LINKED_CLOUD_ACCOUNT_ID_1, + name: PROVIDER_ACCOUNT_NAME }, { - id: , - name: + id: LINKED_CLOUD_ACCOUNT_ID_2, + name: PROVIDER_ACCOUNT_NAME } ] ) { @@ -500,21 +458,18 @@ Mutações são solicitações que têm como objetivo causar efeitos colaterais, ``` - + Esta mutação permite habilitar o monitoramento de uma ou mais integração na nuvem específica em uma conta de nuvem existente. Com essa mutação, a New Relic registra dados para a integração habilitada da conta do provedor. Para cada conta de provedor você tem acesso a diferentes parâmetros de entrada, correspondentes a cada serviço disponível. - ``` + ```graphql mutation { cloudConfigureIntegration ( - accountId: , + accountId: YOUR_ACCOUNT_ID, integrations: { - : { - : [{ - linkedAccountId: , - + PROVIDER_SLUG : { + INTEGRATION_SLUG: [{ + linkedAccountId: LINKED_CLOUD_ACCOUNT_ID, + # other parameters }] } } @@ -535,23 +490,20 @@ Mutações são solicitações que têm como objetivo causar efeitos colaterais, ``` - + Se você tiver muitas contas de provedor vinculadas, poderá ativar a mesma integração em várias contas de nuvem ao mesmo tempo. Para a saída da operação, você pode usar [fragmentos GraphQL](https://graphql.org/learn/queries/#fragments) para parâmetro de configuração específico de integração. - ``` + ```graphql mutation { cloudConfigureIntegration ( - accountId: , + accountId: YOUR_ACCOUNT_ID, integrations: { - : { - : [ - { linkedAccountId: }, - { linkedAccountId: } + PROVIDER_SLUG : { + INTEGRATION_SLUG : [ + { linkedAccountId: LINKED_CLOUD_ACCOUNT_ID_1 }, + { linkedAccountId: LINKED_CLOUD_ACCOUNT_ID_2 } ] } } @@ -572,31 +524,28 @@ Mutações são solicitações que têm como objetivo causar efeitos colaterais, ``` - + Se você tiver várias contas na nuvem vinculadas, também poderá ativar a integração múltipla em várias contas na nuvem vinculadas ao mesmo tempo. Para a saída da operação, você pode usar [fragmentos GraphQL](https://graphql.org/learn/queries/#fragments) para solicitar parâmetros de configuração específicos de integração. - ``` + ```graphql mutation { cloudConfigureIntegration ( - accountId: , + accountId: YOUR_ACCOUNT_ID, integrations: { - : { - : [ - { linkedAccountId: } + PROVIDER_SLUG_1: { + INTEGRATION_SLUG_1: [ + { linkedAccountId: LINKED_CLOUD_ACCOUNT_ID_1 } ] - : [ - { linkedAccountId: } + INTEGRATION_SLUG_2: [ + { linkedAccountId: LINKED_CLOUD_ACCOUNT_ID_2 } ] }, - : { - : [ - { linkedAccountId: }, - { linkedAccountId: } + PROVIDER_SLUG_2: { + INTEGRATION_SLUG_3: [ + { linkedAccountId: LINKED_CLOUD_ACCOUNT_ID_3}, + { linkedAccountId: LINKED_CLOUD_ACCOUNT_ID_4} ] } } @@ -617,25 +566,22 @@ Mutações são solicitações que têm como objetivo causar efeitos colaterais, ``` - + Esta mutação também permite modificar uma ou mais integração na nuvem e alterar um ou mais parâmetros de configuração. Cada serviço terá parâmetros específicos que você pode modificar. Para parâmetro de um tipo lista (por exemplo, `awsRegion`) forneça a lista completa. Para a saída da operação, você pode usar [fragmentos GraphQL](https://graphql.org/learn/queries/#fragments) para solicitar parâmetros de configuração específicos de integração. - ``` + ```graphql mutation { cloudConfigureIntegration ( - accountId: , + accountId: YOUR_ACCOUNT_ID, integrations: { - : { - : [{ - linkedAccountId: , - metricsPollingInterval: , - : , - : , + PROVIDER_SLUG: { + INTEGRATION_SLUG: [{ + linkedAccountId: LINKED_CLOUD_ACCOUNT_ID, + metricsPollingInterval: NEW_POLLING_INTERVAL, + PARAMETER_1: VALUE_1, + PARAMETER_N: VALUE_N, }] } } @@ -649,8 +595,8 @@ Mutações são solicitações que têm como objetivo causar efeitos colaterais, } ... on SqsIntegration { metricsPollingInterval, - , - + PARAMETER_1, + PARAMETER_N } } errors { @@ -662,20 +608,17 @@ Mutações são solicitações que têm como objetivo causar efeitos colaterais, ``` - + Essa mutação permite desabilitar uma integração e interromper a coleta de dados para a integração específica na nuvem. - ``` + ```graphql mutation { cloudDisableIntegration ( - accountId: , + accountId: YOUR_ACCOUNT_ID, integrations: { : { : [ - { linkedAccountId: } + { linkedAccountId: LINKED_CLOUD_ACCOUNT_ID } ] } } @@ -697,22 +640,19 @@ Mutações são solicitações que têm como objetivo causar efeitos colaterais, ``` - + Essa mutação permite desvincular contas de provedores de nuvem da conta New Relic. Essa ação não pode ser desfeita. No entanto, você pode vincular a conta novamente, mas o histórico da conta ainda será perdido. - ``` + ```graphql mutation { cloudUnlinkAccount ( - accountId: , + accountId: YOUR_ACCOUNT_ID, accounts: { - { linkedAccountId: } + { linkedAccountId: LINKED_CLOUD_ACCOUNT_ID } } ) { unlinkedAccounts { @@ -736,16 +676,13 @@ Este exemplo usa uma integração [AWS SQS](/docs/integrations/amazon-integratio Para habilitar uma integração AWS: - + Envie uma consulta para buscar dados sobre a conta, especificamente provedores disponíveis e contas de provedores já criadas: - ``` + ```graphql { actor { - account(id: ) { + account(id: YOUR_ACCOUNT_ID) { cloud { providers { id @@ -766,26 +703,23 @@ Para habilitar uma integração AWS: ``` - + Vincule uma conta de provedor da AWS, se ainda não houver uma vinculada ou se você quiser vincular outra conta da AWS: - 1. Use o identificador da sua conta New Relic no parâmetro `` . + 1. Use o identificador da sua conta New Relic no parâmetro `YOUR_ACCOUNT_ID` . - 2. Forneça um nome para a conta do provedor em ``. + 2. Forneça um nome para a conta do provedor em `PROVIDER_ACCOUNT_NAME`. 3. Inclua o ARN da função da AWS usada para buscar dados da sua conta da AWS. - ``` + ```graphql mutation { cloudLinkAccount( - accountId: , + accountId: YOUR_ACCOUNT_ID, accounts: { aws: [{ - name: , - arn: }] + name: PROVIDER_ACCOUNT_NAME, + arn: AWS_ROLE_ARN }] } ) { linkedAccounts { @@ -804,20 +738,17 @@ Para habilitar uma integração AWS: ``` - - Use o ID da sua conta New Relic no parâmetro `` e o ID da conta do provedor no valor do parâmetro `` . + + Use o ID da sua conta New Relic no parâmetro `YOUR_ACCOUNT_ID` e o ID da conta do provedor no valor do parâmetro `LINKED_CLOUD_ACCOUNT_ID` . - ``` + ```graphql mutation { cloudConfigureIntegration ( - accountId: , + accountId: YOUR_ACCOUNT_ID, integrations: { aws: { sqs: [ - { linkedAccountId: } + { linkedAccountId: LINKED_CLOUD_ACCOUNT_ID } ] } } @@ -839,21 +770,24 @@ Para habilitar uma integração AWS: ``` - - Se você tiver várias contas com a mesma conta de provedor, poderá ativar a mesma integração em várias contas de provedor ao mesmo tempo. Use o ID da sua conta New Relic no parâmetro `` e o ID das contas do provedor no valor do parâmetro `` . + + Se você tiver várias contas com a mesma conta de provedor, poderá ativar a mesma integração em várias contas de provedor ao mesmo tempo. Use o ID da sua conta New Relic no parâmetro `YOUR_ACCOUNT_ID` e o ID das contas do provedor no valor do parâmetro `LINKED_CLOUD_ACCOUNT_ID_N` . - ``` + ```graphql mutation { cloudConfigureIntegration ( - accountId: , + accountId: YOUR_ACCOUNT_ID, integrations: { aws: { sqs: [ - { linkedAccountId: }, - { linkedAccountId: , configuration_param_1: value_1, configuration_param_2: value_2 } + { + linkedAccountId: LINKED_CLOUD_ACCOUNT_ID_1 + }, + { + linkedAccountId: LINKED_CLOUD_ACCOUNT_ID_2, + configuration_param_1: value_1, + configuration_param_2: value_2 + } ] } } @@ -881,20 +815,20 @@ Para habilitar uma integração AWS: Este exemplo usa uma integração [AWS SQS](/docs/integrations/amazon-integrations/aws-integrations-list/aws-sqs-monitoring-integration) e pressupõe que você [conectou uma conta AWS ao New Relic](/docs/integrations/amazon-integrations/get-started/connect-aws-services-infrastructure). Para alterar o intervalo de sondagem de uma integração AWS: - - Para atualizar o intervalo de sondagem para uma integração do AWS SQS, use o ID da sua conta New Relic no parâmetro `` e o `id` da conta do provedor vinculado no valor do parâmetro `` : + + Para atualizar o intervalo de sondagem para uma integração do AWS SQS, use o ID da sua conta New Relic no parâmetro `YOUR_ACCOUNT_ID` e o `id` da conta do provedor vinculado no valor do parâmetro `LINKED_ACCOUNT_ID` : - ``` + ```graphql mutation { cloudConfigureIntegration( - accountId: , + accountId: YOUR_ACCOUNT_ID, integrations: { aws : { sqs: [ - { linkedAccountId: , metricsPollingInterval: 300 } + { + linkedAccountId: LINKED_CLOUD_ACCOUNT_ID, + metricsPollingInterval: 300 + } ] } } @@ -925,28 +859,21 @@ Este exemplo usa uma integração [AWS SQS](/docs/integrations/amazon-integratio Este exemplo usa uma integração [AWS SQS](/docs/integrations/amazon-integrations/aws-integrations-list/aws-sqs-monitoring-integration) e pressupõe que você [conectou uma conta AWS ao New Relic](/docs/integrations/amazon-integrations/get-started/connect-aws-services-infrastructure). Para desabilitar uma integração AWS: - - Use o identificador da sua conta New Relic no parâmetro `` e o ID da conta de nuvem vinculada no valor do parâmetro `` . + + Use o identificador da sua conta New Relic no parâmetro `YOUR_ACCOUNT_ID` e o ID da conta de nuvem vinculada no valor do parâmetro `LINKED_ACCOUNT_ID` . - ``` + ```graphql mutation { - cloudDisableIntegration ( - accountId: , + cloudDisableIntegration( + accountId: YOUR_ACCOUNT_ID integrations: { - aws: { - sqs: [ - { linkedAccountId: } - ] - } + aws: { sqs: [{ linkedAccountId: LINKED_CLOUD_ACCOUNT_ID }] } } ) { - disabledIntegrations { - id + disabledIntegrations { + id accountId - name + name } errors { type @@ -956,4 +883,4 @@ Este exemplo usa uma integração [AWS SQS](/docs/integrations/amazon-integratio } ``` - + \ No newline at end of file diff --git a/src/i18n/content/pt/docs/apis/nerdgraph/examples/nerdgraph-concurrency-tutorial.mdx b/src/i18n/content/pt/docs/apis/nerdgraph/examples/nerdgraph-concurrency-tutorial.mdx index 0a3194a283c..d475854f34b 100644 --- a/src/i18n/content/pt/docs/apis/nerdgraph/examples/nerdgraph-concurrency-tutorial.mdx +++ b/src/i18n/content/pt/docs/apis/nerdgraph/examples/nerdgraph-concurrency-tutorial.mdx @@ -15,34 +15,36 @@ A API NerdGraph da New Relic impõe um limite de **25 concurrent requests p Uma maneira de lidar com a simultaneidade é usar um pool de trabalhadores. O exemplo abaixo usa o [módulo async](https://caolan.github.io/async/v3/docs.html#queue) para fazer isso. Ele cria uma fila que tem um limite de execução de simultaneidade definido, envia solicitações como tarefas para essa fila e esvazia a fila depois de concluir todas as tarefas. -```node -import got from 'got'; -import async from 'async'; +```js +import got from "got"; +import async from "async"; -const API_KEY = '' //GraphQL User Key -const MAX_CONCURRENCY = 25; //Maximum amount of requests in queue at a given time - -const GRAPH_API = 'https://api.newrelic.com/graphql'; -const HEADERS = { 'Content-Type': 'application/json', 'Api-Key': API_KEY }; +const API_KEY = "YOUR_GRAPHQL_USER_KEY"; // GraphQL User Key +const MAX_CONCURRENCY = 25; // Maximum amount of requests in queue at a given time +const GRAPH_API = "https://api.newrelic.com/graphql"; +const HEADERS = { "Content-Type": "application/json", "Api-Key": API_KEY }; async function main() { - let accounts = await getAccounts(); //All accounts to run a query against + let accounts = await getAccounts(); // All accounts to run a query against var allResults = []; //Queue initialization const q = async.queue(async (task, cb) => { - let result = await makeRequest(task.acct) - allResults.push({'transactionCount': result[0].count, 'account': task.acct.id}); + let result = await makeRequest(task.acct); + allResults.push({ + transactionCount: result[0].count, + account: task.acct.id, + }); cb(); }, MAX_CONCURRENCY); - //Push requests on to the queue (one for each account) - accounts.forEach(acct => { - q.push({acct: acct}); + // Push requests on to the queue (one for each account) + accounts.forEach((acct) => { + q.push({ acct: acct }); }); - await q.drain(); //Drain event listener when all tasks are complete + await q.drain(); // Drain event listener when all tasks are complete console.log(allResults); } @@ -50,53 +52,51 @@ async function main() { async function makeRequest(acct) { let nrql = `SELECT count(*) FROM Transaction`; let gql = `{ - actor { - account(id: ${acct.id}) { - nrql(query: "${nrql}", timeout: 90) { - results - } - } - } - }`; + actor { + account(id: ${acct.id}) { + nrql(query: "${nrql}", timeout: 90) { + results + } + } + } + }`; let opts = { url: GRAPH_API, headers: HEADERS, - json: {'query': gql, 'variables': {}} + json: { query: gql, variables: {} }, }; let response = await got.post(opts).json(); if (!response.errors) { return response.data.actor.account.nrql.results; } else { - console.log('Query Error'); + console.log("Query Error"); console.log(response.errors); } } async function getAccounts() { var q = `{ - actor { - accounts { - id - name - } - } - }` + actor { + accounts { + id + name + } + } + }`; var opts = { url: GRAPH_API, headers: HEADERS, - json: {'query': q, 'variables': {}} - } + json: { query: q, variables: {} }, + }; let resp = await got.post(opts).json(); return resp.data.actor.accounts; } - main(); - ``` ## Python @@ -108,35 +108,33 @@ Você também pode usar Python aproveitando os seguintes pacotes para lidar com Abaixo define um [Semáforo](https://docs.python.org/3/library/asyncio-sync.html?highlight=semaphore#asyncio.Semaphore) que gerencia a quantidade de requisições simultâneas. Em seguida, ele usa `asyncio.gather()` para executar várias co-rotinas simultaneamente e aguarda sua conclusão. -``` +```py import aiohttp import asyncio -API_KEY = '' +API_KEY = "YOUR_GRAPHQL_USER_KEY" MAX_CONCURRENCY = 25 -GRAPHQL_API = 'https://api.newrelic.com/graphql' -HEADERS = {'Content-Type': 'application/json', 'Api-Key': API_KEY} - +GRAPHQL_API = "https://api.newrelic.com/graphql" +HEADERS = {"Content-Type": "application/json", "Api-Key": API_KEY} async def main(): - #All accounts to run a query against + # All accounts to run a query against accounts = await get_accounts() # Semaphore for controlling concurrency limit = asyncio.Semaphore(MAX_CONCURRENCY) - #Add all accounts to run a query against + # Add all accounts to run a query against tasks = [send_request(acct, limit) for acct in accounts] - #Schedule all tasks to run concurrently + # Schedule all tasks to run concurrently allResults = await asyncio.gather(*tasks) print(allResults) - async def send_request(acct, limit): nrql = "SELECT count(*) FROM Transaction" - gql = f''' + gql = f""" {{ actor {{ account(id: {acct['id']}) {{ @@ -146,19 +144,22 @@ async def send_request(acct, limit): }} }} }} - ''' + """ async with limit: try: async with aiohttp.ClientSession() as session: - async with session.post(GRAPHQL_API, json={"query": gql, "variables":{}}, headers=HEADERS) as response: + async with session.post( + GRAPHQL_API, json={"query": gql, "variables": {}}, headers=HEADERS + ) as response: result = await response.json() - return {'transactionCount': result['data']['actor']['account']['nrql']['results'][0]['count'], 'account': acct['id']} + return { + "transactionCount": result["data"]["actor"]["account"]["nrql"]["results"][0]["count"],"account": acct["id"], + } except Exception as error: print("Query Error") raise error - async def get_accounts(): gql = """ { @@ -167,19 +168,19 @@ async def get_accounts(): id name } - } - } + } + } """ async with aiohttp.ClientSession() as session: - async with session.post(GRAPHQL_API, json={"query": gql, "variables":{}}, headers=HEADERS) as response: + async with session.post( + GRAPHQL_API, json={"query": gql, "variables": {}}, headers=HEADERS + ) as response: result = await response.json() - return result['data']['actor']['accounts'] - - -if __name__ == '__main__': - asyncio.run(main()) #Run event loop + return result["data"]["actor"]["accounts"] +if __name__ == "__main__": + asyncio.run(main()) # Run event loop ``` -Para obter mais detalhes sobre os limites do NerdGraph, consulte [Limites de uso do NerdGraph](/docs/apis/nerdgraph/nerdgraph-usage-limits). +Para obter mais detalhes sobre os limites do NerdGraph, consulte [Limites de uso do NerdGraph](/docs/apis/nerdgraph/nerdgraph-usage-limits). \ No newline at end of file diff --git a/src/i18n/content/pt/docs/apis/nerdgraph/examples/nerdgraph-dashboards.mdx b/src/i18n/content/pt/docs/apis/nerdgraph/examples/nerdgraph-dashboards.mdx index 11f9b4040af..6385c128923 100644 --- a/src/i18n/content/pt/docs/apis/nerdgraph/examples/nerdgraph-dashboards.mdx +++ b/src/i18n/content/pt/docs/apis/nerdgraph/examples/nerdgraph-dashboards.mdx @@ -251,7 +251,7 @@ Aqui está um exemplo de criação de um dashboard entre contas: - ```graphql + ```graphql lineHighlight=21,37,53 mutation { dashboardCreate( accountId: 1 @@ -272,7 +272,7 @@ Aqui está um exemplo de criação de um dashboard entre contas: legend: { enabled: true } nrqlQueries: [ { - accountIds: [1, 1606862, 2212585] + accountIds: [1, 1606862, 2212585] query: "SELECT count(*) FROM Transaction" } ] @@ -288,7 +288,7 @@ Aqui está um exemplo de criação de um dashboard entre contas: legend: { enabled: true } nrqlQueries: [ { - accountIds: [1, 1606862, 2212585] + accountIds: [1, 1606862, 2212585] query: "SELECT count(*) FROM Transaction FACET accountId()" } ] @@ -304,7 +304,7 @@ Aqui está um exemplo de criação de um dashboard entre contas: legend: { enabled: true } nrqlQueries: [ { - accountIds: [1, 1606862, 2212585] + accountIds: [1, 1606862, 2212585] query: "SELECT count(*) FROM Transaction FACET accountId() TIMESERIES" } ] @@ -551,18 +551,18 @@ Todas as mutações dashboard oferecem uma maneira de solicitar erros ao serem e - ``` + ```graphql mutation { - dashboardMutation(guid: "MY_EXISTING_DASHBOARD_GUID") { - mutationResult { - result - } - errors { - description - type - } + dashboardMutation(guid: "MY_EXISTING_DASHBOARD_GUID") { + mutationResult { + result + } + errors { + description + type } } + } ``` diff --git a/src/i18n/content/pt/docs/apis/nerdgraph/examples/nerdgraph-synthetics-tutorial.mdx b/src/i18n/content/pt/docs/apis/nerdgraph/examples/nerdgraph-synthetics-tutorial.mdx index d4d979fb93f..7fdbadf62b2 100644 --- a/src/i18n/content/pt/docs/apis/nerdgraph/examples/nerdgraph-synthetics-tutorial.mdx +++ b/src/i18n/content/pt/docs/apis/nerdgraph/examples/nerdgraph-synthetics-tutorial.mdx @@ -51,7 +51,7 @@ Você pode visualizar as definições de campo no [NerdGraph Explorer](/docs/api Para identificar uma [localização privada](/docs/synthetics/synthetic-monitoring/private-locations/private-locations-overview-monitor-internal-sites-add-new-locations) em seu script, use o GUID da entidade de localização privada. Se a localização privada estiver configurada para usar [execução script verificada](/docs/synthetics/synthetic-monitoring/private-locations/verified-script-execution-private-locations/), inclua também o atributo `vsePassword`. Por exemplo: - ``` + ```graphql locations: { private: { guid: LOCATION_ENTITY_GUID, @@ -62,7 +62,7 @@ Você pode visualizar as definições de campo no [NerdGraph Explorer](/docs/api [localização pública](/docs/synthetics/synthetic-monitoring/administration/synthetic-public-minion-ips/#location) use o identificador de localização sem o prefixo AWS , por exemplo: - ``` + ```graphql locations: { public: ["US_EAST_2", "US_WEST_1"] } @@ -168,7 +168,7 @@ Consulta faz solicitações para buscar dados. Para conhecer os recursos de cons Você pode consultar seu monitor Sintético para obter informações atuais sobre o status dos seus dados ou detalhes sobre a configuração monitor . Muitas configurações monitor são exibidas como tags. - ``` + ```graphql { actor { entitySearch(query: "domain = 'SYNTH' AND type = 'MONITOR'") { @@ -195,7 +195,7 @@ Consulta faz solicitações para buscar dados. Para conhecer os recursos de cons Você pode consultar sua localização privada: - ``` + ```graphql { actor { entitySearch(query: "domain = 'SYNTH' AND type = 'PRIVATE_LOCATION'") { @@ -219,7 +219,7 @@ Consulta faz solicitações para buscar dados. Para conhecer os recursos de cons Consulte monitor existente do período de inatividade. Os detalhes de configuração são armazenados na tag. - ``` + ```graphql { actor { entitySearch(query: "domain = 'SYNTH' AND type = 'MONITOR_DOWNTIME'") { @@ -243,7 +243,7 @@ Consulta faz solicitações para buscar dados. Para conhecer os recursos de cons A consulta de credenciais seguras permite recuperar apenas metadados, mas não os valores das credenciais em si: - ``` + ```graphql { actor { entitySearch(query: "domain = 'SYNTH' AND type = 'SECURE_CRED'") { @@ -270,10 +270,10 @@ Consulta faz solicitações para buscar dados. Para conhecer os recursos de cons Recupere o script usado em uma API com script ou monitore o script do browser. Outros tipos de monitor retornarão um erro. - ``` + ```graphql { actor { - account(id: YOUR_ACCOUNT_ID) { + account(id: ACCOUNT_ID) { synthetics { script(monitorGuid: "ENTITY_GUID") { text @@ -288,10 +288,10 @@ Consulta faz solicitações para buscar dados. Para conhecer os recursos de cons Recupere as etapas configuradas para um monitor de etapas. Outros tipos de monitor retornarão um erro. - ``` + ```graphql { actor { - account(id: YOUR_ACCOUNT_ID) { + account(id: ACCOUNT_ID) { synthetics { steps(monitorGuid: "ENTITY_GUID") { ordinal @@ -308,7 +308,7 @@ Consulta faz solicitações para buscar dados. Para conhecer os recursos de cons Recupere o GUID da entidade para um monitor Sintético usando o ID do monitor. - ``` + ```graphql { actor { entitySearch( @@ -332,7 +332,7 @@ Consulta faz solicitações para buscar dados. Para conhecer os recursos de cons Recuperar o status de todos os testes de atualização de tempo de execução para o monitor de tempo de execução legado. Esses testes preenchem a [interface de atualizações de tempo de execução](/docs/synthetics/synthetic-monitoring/using-monitors/runtime-upgrade-ui/). O resultado do teste é armazenado na tag `validationStatus` . Se o teste de atualização falhar, a mensagem de erro estará disponível na tag `validationError` . - ``` + ```graphql { actor { entitySearch(query: "domain = 'SYNTH' AND type = 'RUNTIME_VALIDATION'") { @@ -356,10 +356,12 @@ Consulta faz solicitações para buscar dados. Para conhecer os recursos de cons Recuperar o status de um teste de atualização de tempo de execução para um único monitor de tempo de execução legado. Esses resultados de teste preenchem a [interface de atualizações de tempo de execução](/docs/synthetics/synthetic-monitoring/using-monitors/runtime-upgrade-ui/). O resultado do teste é armazenado na tag `validationStatus` . Se o teste de atualização falhar, a mensagem de erro estará disponível na tag `validationError` . - ``` + ```graphql { actor { - entitySearch(query: "domain = 'SYNTH' AND type = 'RUNTIME_VALIDATION' and domainId = 'MONITOR_ID'") { + entitySearch( + query: "domain = 'SYNTH' AND type = 'RUNTIME_VALIDATION' AND domainId = 'MONITOR_ID'" + ) { results { entities { accountId @@ -397,31 +399,26 @@ Abaixo estão alguns exemplos de solicitações para automatizar a criação do O monitor de ping verifica se seu aplicativo está em execução. Aqui está um exemplo para criar um no NerdGraph: - ``` + ```graphql mutation { - syntheticsCreateSimpleMonitor ( - accountId: YOUR_ACCOUNT_ID + syntheticsCreateSimpleMonitor( + accountId: ACCOUNT_ID monitor: { - locations: { - public: ["LOCATION_1", "LOCATION_2"] - }, - name: "YOUR_MONITOR_NAME", - period: PERIOD, - status: STATUS, - uri: "MONITORED_URI", + locations: { public: ["LOCATION_1", "LOCATION_2"] } + name: "YOUR_MONITOR_NAME" + period: PERIOD + status: STATUS + uri: "MONITORED_URI" advancedOptions: { - customHeaders: { - name: "HEADER_NAME", - value: "HEADER_VALUE" - }, - redirectIsFailure: REDIRECT_IS_FAILURE, - responseValidationText: "VALIDATION_TEXT", - shouldBypassHeadRequest: BYPASS_HEAD_REQUEST, + customHeaders: { name: "HEADER_NAME", value: "HEADER_VALUE" } + redirectIsFailure: REDIRECT_IS_FAILURE + responseValidationText: "VALIDATION_TEXT" + shouldBypassHeadRequest: BYPASS_HEAD_REQUEST useTlsValidation: TLS_VALIDATION - }, + } apdexTarget: APDEX_TARGET } - ) { + ) { errors { description type @@ -434,155 +431,143 @@ Abaixo estão alguns exemplos de solicitações para automatizar a criação do Monitor de browser simples usa instância do Chrome para imitar visitas de clientes. Aqui está um exemplo para criar um no NerdGraph: - ``` - mutation { - syntheticsCreateSimpleBrowserMonitor ( - accountId: YOUR_ACCOUNT_ID, - monitor: { - browsers: [BROWSERS], - devices: [DEVICES], - locations: { - public: ["LOCATION_1", "LOCATION_2"] - }, - name: "YOUR_MONITOR_NAME", - period: PERIOD, - runtime: { - runtimeType: "RUNTIME_TYPE", - runtimeTypeVersion: "RUNTIME_TYPE_VERSION", - scriptLanguage: "SCRIPT_LANGUAGE" - } - status: STATUS, - uri: "MONITORED_URI", - advancedOptions: { - customHeaders: { - name: "HEADER_NAME", - value: "HEADER_VALUE" - }, - enableScreenshotOnFailureAndScript: ENABLE_SCREENSHOT, - responseValidationText: "VALIDATION_TEXT", - useTlsValidation: TLS_VALIDATION - }, - apdexTarget: APDEX_TARGET - ) { - errors { - description - type + ```graphql + mutation { + syntheticsCreateSimpleBrowserMonitor( + accountId: ACCOUNT_ID + monitor: { + browsers: [BROWSERS] + devices: [DEVICES] + locations: { public: ["LOCATION_1", "LOCATION_2"] } + name: "YOUR_MONITOR_NAME" + period: PERIOD + runtime: { + runtimeType: "RUNTIME_TYPE" + runtimeTypeVersion: "RUNTIME_TYPE_VERSION" + scriptLanguage: "SCRIPT_LANGUAGE" } + status: STATUS + uri: "MONITORED_URI" + advancedOptions: { + customHeaders: { name: "HEADER_NAME", value: "HEADER_VALUE" } + enableScreenshotOnFailureAndScript: ENABLE_SCREENSHOT + responseValidationText: "VALIDATION_TEXT" + useTlsValidation: TLS_VALIDATION + } + apdexTarget: APDEX_TARGET + } + ) { + errors { + description + type } } + } ``` [monitor de browser com script](/docs/synthetics/synthetic-monitoring/scripting-monitors/introduction-scripted-browser-monitors) são interações mais complexas com suas páginas e aplicativos. Aqui está um exemplo para criar um no NerdGraph: - ``` - mutation { - syntheticsCreateScriptBrowserMonitor ( - accountId: YOUR_ACCOUNT_ID, - monitor: { - browsers: [BROWSERS], - devices: [DEVICES], - locations: { - public: ["LOCATION_1", "LOCATION_2"] - }, - name: "MONITOR_NAME", - period: PERIOD, - runtime: { - runtimeType: "RUNTIME_TYPE", - runtimeTypeVersion: "RUNTIME_TYPE_VERSION", - scriptLanguage: "SCRIPT_LANGUAGE" - } - script: "SCRIPT_CONTENT", - status: STATUS, - advancedOptions: { - enableScreenshotOnFailureAndScript: ENABLE_SCREENSHOT - }, - apdexTarget: APDEX_TARGET - } - ) { - errors { - description - type + ```graphql + mutation { + syntheticsCreateScriptBrowserMonitor( + accountId: ACCOUNT_ID + monitor: { + browsers: [BROWSERS] + devices: [DEVICES] + locations: { public: ["LOCATION_1", "LOCATION_2"] } + name: "MONITOR_NAME" + period: PERIOD + runtime: { + runtimeType: "RUNTIME_TYPE" + runtimeTypeVersion: "RUNTIME_TYPE_VERSION" + scriptLanguage: "SCRIPT_LANGUAGE" } + script: "SCRIPT_CONTENT" + status: STATUS + advancedOptions: { enableScreenshotOnFailureAndScript: ENABLE_SCREENSHOT } + apdexTarget: APDEX_TARGET + } + ) { + errors { + description + type } } + } ``` [O monitor de API com script](/docs/synthetics/synthetic-monitoring/scripting-monitors/write-synthetic-api-tests) verifica seus endpoints de API. Aqui está um exemplo para criar um no NerdGraph: - ``` - mutation { - syntheticsCreateScriptApiMonitor ( - accountId: YOUR_ACCOUNT_ID, - monitor: { - locations: { - public: ["LOCATION_1", "LOCATION_2"] - }, - name: "YOUR_MONITOR_NAME", - period: PERIOD, - runtime: { - runtimeType: "RUNTIME_TYPE", - runtimeTypeVersion: "RUNTIME_TYPE_VERSION", - scriptLanguage: "SCRIPT_LANGUAGE" - } - script: "SCRIPT_CONTENT", - status: STATUS, - apdexTarget: APDEX_TARGET - } - ) { - errors { - description - type + ```graphql + mutation { + syntheticsCreateScriptApiMonitor( + accountId: ACCOUNT_ID + monitor: { + locations: { public: ["LOCATION_1", "LOCATION_2"] } + name: "YOUR_MONITOR_NAME" + period: PERIOD + runtime: { + runtimeType: "RUNTIME_TYPE" + runtimeTypeVersion: "RUNTIME_TYPE_VERSION" + scriptLanguage: "SCRIPT_LANGUAGE" } + script: "SCRIPT_CONTENT" + status: STATUS + apdexTarget: APDEX_TARGET + } + ) { + errors { + description + type } } + } ``` O monitor de etapas fornece um monitor baseado em browser de várias etapas sem código. Aqui está um exemplo para criar um no NerdGraph: - ``` + ```graphql mutation { - syntheticsCreateStepMonitor ( - accountId: NR_ACCOUNT_ID, - monitor: { - browsers: [BROWSERS], - devices: [DEVICES], - locations: { - public: ["LOCATION_1", "LOCATION_2"] - }, - name: "MONITOR_NAME", - period: PERIOD, - runtime: { - runtimeType: "RUNTIME_TYPE", - runtimeTypeVersion: "RUNTIME_TYPE_VERSION", - scriptLanguage: "SCRIPT_LANGUAGE" + syntheticsCreateStepMonitor( + accountId: ACCOUNT_ID + monitor: { + browsers: [BROWSERS] + devices: [DEVICES] + locations: { public: ["LOCATION_1", "LOCATION_2"] } + name: "MONITOR_NAME" + period: PERIOD + runtime: { + runtimeType: "RUNTIME_TYPE" + runtimeTypeVersion: "RUNTIME_TYPE_VERSION" + scriptLanguage: "SCRIPT_LANGUAGE" } - status: STATUS, - steps: [{ - ordinal: 0, - type: NAVIGATE, - values: ["MONITORED_URI"],["USER_AGENT"] - },{ - ordinal: STEP_NUMBER, - type: STEP_TYPE, - values: ["CONDITIONAL_TYPE","VALUE"] - }] - advancedOptions: { - enableScreenshotOnFailureAndScript: ENABLE_SCREENSHOT - }, - apdexTarget: APDEX_TARGET - } - ) { + status: STATUS + steps: [ + { + ordinal: 0, + type: NAVIGATE, + values: ["MONITORED_URI", "USER_AGENT"] } + { + ordinal: STEP_NUMBER + type: STEP_TYPE + values: ["CONDITIONAL_TYPE", "VALUE"] + } + ] + advancedOptions: { enableScreenshotOnFailureAndScript: ENABLE_SCREENSHOT } + apdexTarget: APDEX_TARGET + } + ) { errors { description type } - } + } } ``` @@ -590,60 +575,52 @@ Abaixo estão alguns exemplos de solicitações para automatizar a criação do Configure o monitor para notificá-lo quando seu certificado SSL estiver prestes a expirar. Aqui está um exemplo para criar um no NerdGraph: - ``` - mutation { - syntheticsCreateCertCheckMonitor ( - accountId: YOUR_ACCOUNT_ID, - monitor: { - domain: "DOMAIN", - locations: { - public: ["LOCATION_1", "LOCATION_2"] - }, - name: "YOUR_MONITOR_NAME", - numberDaysToFailBeforeCertExpires: DAYS_UNTIL_EXPIRATION, - period: PERIOD, - status: STATUS, - apdexTarget: APDEX_TARGET - } - ) { - errors { - description - type - } + ```graphql + mutation { + syntheticsCreateCertCheckMonitor( + accountId: ACCOUNT_ID + monitor: { + domain: "DOMAIN" + locations: { public: ["LOCATION_1", "LOCATION_2"] } + name: "YOUR_MONITOR_NAME" + numberDaysToFailBeforeCertExpires: DAYS_UNTIL_EXPIRATION + period: PERIOD + status: STATUS + apdexTarget: APDEX_TARGET + } + ) { + errors { + description + type } } + } ``` O monitor de links quebrados verifica se há falhas nos links de uma página da Web. Aqui está um exemplo para criar um no NerdGraph: - ``` + ```graphql mutation { - syntheticsCreateBrokenLinksMonitor ( - accountId: YOUR_ACCOUNT_ID, + syntheticsCreateBrokenLinksMonitor( + accountId: ACCOUNT_ID monitor: { - locations: { - public: ["LOCATION_1", "LOCATION_2"] - }, - name: "YOUR_MONITOR_NAME", - period: PERIOD, - status: STATUS, - apdexTarget: APDEX_TARGET, - uri: "MONITOR_URI", - tags: { - key: "YOUR_TAG_NAME", - values: "TAG_VALUE" - } - } - ) { - errors { - description - type - } + locations: { public: ["LOCATION_1", "LOCATION_2"] } + name: "YOUR_MONITOR_NAME" + period: PERIOD + status: STATUS + apdexTarget: APDEX_TARGET + uri: "MONITOR_URI" + tags: { key: "YOUR_TAG_NAME", values: "TAG_VALUE" } + } + ) { + errors { + description + type + } } } - ``` @@ -660,28 +637,23 @@ Embora não seja possível alterar o tipo de monitor após criá-lo, você pode Use isto para atualizar seu monitor de ping: - ``` + ```graphql mutation { - syntheticsUpdateSimpleMonitor ( - guid: "ENTITY_GUID", + syntheticsUpdateSimpleMonitor( + guid: "ENTITY_GUID" monitor: { - locations: { - public: ["LOCATION_1", "LOCATION_2"] - }, - name: "YOUR_MONITOR_NAME", - period: PERIOD, - status: STATUS, - uri: "MONITORED_URI", + locations: { public: ["LOCATION_1", "LOCATION_2"] } + name: "YOUR_MONITOR_NAME" + period: PERIOD + status: STATUS + uri: "MONITORED_URI" advancedOptions: { - customHeaders: { - name: "HEADER_NAME", - value: "HEADER_VALUE" - }, - redirectIsFailure: REDIRECT_IS_FAILURE, - responseValidationText: "VALIDATION_TEXT", - shouldBypassHeadRequest: BYPASS_HEAD_REQUEST, + customHeaders: { name: "HEADER_NAME", value: "HEADER_VALUE" } + redirectIsFailure: REDIRECT_IS_FAILURE + responseValidationText: "VALIDATION_TEXT" + shouldBypassHeadRequest: BYPASS_HEAD_REQUEST useTlsValidation: TLS_VALIDATION - }, + } apdexTarget: APDEX_TARGET } ) { @@ -697,155 +669,143 @@ Embora não seja possível alterar o tipo de monitor após criá-lo, você pode Para atualizar um monitor de browser simples (incluindo a capacidade de atualizar a versão de tempo de execução), use isto: - ``` - mutation { - syntheticsUpdateSimpleBrowserMonitor ( - guid: ENTITY_GUID, - monitor: { - browsers: [BROWSERS], - devices: [DEVICES], - locations: { - public: ["LOCATION_1", "LOCATION_2"] - }, - name: "YOUR_MONITOR_NAME", - period: PERIOD, - runtime: { - runtimeType: "RUNTIME_TYPE", - runtimeTypeVersion: "RUNTIME_TYPE_VERSION", - scriptLanguage: "SCRIPT_LANGUAGE" - } - status: STATUS, - uri: "MONITORED_URI", - advancedOptions: { - customHeaders: { - name: "HEADER_NAME", - value: "HEADER_VALUE" - }, - enableScreenshotOnFailureAndScript: ENABLE_SCREENSHOT, - responseValidationText: "VALIDATION_TEXT", - useTlsValidation: TLS_VALIDATION - }, - apdexTarget: APDEX_TARGET - ) { - errors { - description - type + ```graphql + mutation { + syntheticsUpdateSimpleBrowserMonitor( + guid: ENTITY_GUID + monitor: { + browsers: [BROWSERS] + devices: [DEVICES] + locations: { public: ["LOCATION_1", "LOCATION_2"] } + name: "YOUR_MONITOR_NAME" + period: PERIOD + runtime: { + runtimeType: "RUNTIME_TYPE" + runtimeTypeVersion: "RUNTIME_TYPE_VERSION" + scriptLanguage: "SCRIPT_LANGUAGE" + } + status: STATUS + uri: "MONITORED_URI" + advancedOptions: { + customHeaders: { name: "HEADER_NAME", value: "HEADER_VALUE" } + enableScreenshotOnFailureAndScript: ENABLE_SCREENSHOT + responseValidationText: "VALIDATION_TEXT" + useTlsValidation: TLS_VALIDATION } + apdexTarget: APDEX_TARGET + } + ) { + errors { + description + type } } + } ``` Para atualizar um script com do monitor do browser (incluindo a capacidade de atualizar a versão de tempo de execução), use isto: - ``` - mutation { - syntheticsUpdateScriptBrowserMonitor ( - guid: ENTITY_GUID, - monitor: { - browsers: [BROWSERS], - devices: [DEVICES], - locations: { - public: ["LOCATION_1", "LOCATION_2"] - }, - name: "MONITOR_NAME", - period: PERIOD, - runtime: { - runtimeType: "RUNTIME_TYPE", - runtimeTypeVersion: "RUNTIME_TYPE_VERSION", - scriptLanguage: "SCRIPT_LANGUAGE" - } - script: "SCRIPT_CONTENT", - status: STATUS, - advancedOptions: { - enableScreenshotOnFailureAndScript: ENABLE_SCREENSHOT - }, - apdexTarget: APDEX_TARGET - } - ) { - errors { - description - type + ```graphql + mutation { + syntheticsUpdateScriptBrowserMonitor( + guid: ENTITY_GUID + monitor: { + browsers: [BROWSERS] + devices: [DEVICES] + locations: { public: ["LOCATION_1", "LOCATION_2"] } + name: "MONITOR_NAME" + period: PERIOD + runtime: { + runtimeType: "RUNTIME_TYPE" + runtimeTypeVersion: "RUNTIME_TYPE_VERSION" + scriptLanguage: "SCRIPT_LANGUAGE" } + script: "SCRIPT_CONTENT" + status: STATUS + advancedOptions: { enableScreenshotOnFailureAndScript: ENABLE_SCREENSHOT } + apdexTarget: APDEX_TARGET + } + ) { + errors { + description + type } } + } ``` Para atualizar um monitor de API com script (incluindo a capacidade de atualizar a versão de tempo de execução), use isto: - ``` - mutation { - syntheticsUpdateScriptApiMonitor ( - guid: ENTITY_GUID, - monitor: { - locations: { - public: ["LOCATION_1", "LOCATION_2"] - }, - name: "YOUR_MONITOR_NAME", - period: PERIOD, - runtime: { - runtimeType: "RUNTIME_TYPE", - runtimeTypeVersion: "RUNTIME_TYPE_VERSION", - scriptLanguage: "SCRIPT_LANGUAGE" - } - script: "SCRIPT_CONTENT", - status: STATUS, - apdexTarget: APDEX_TARGET - } - ) { - errors { - description - type + ```graphql + mutation { + syntheticsUpdateScriptApiMonitor( + guid: ENTITY_GUID + monitor: { + locations: { public: ["LOCATION_1", "LOCATION_2"] } + name: "YOUR_MONITOR_NAME" + period: PERIOD + runtime: { + runtimeType: "RUNTIME_TYPE" + runtimeTypeVersion: "RUNTIME_TYPE_VERSION" + scriptLanguage: "SCRIPT_LANGUAGE" } + script: "SCRIPT_CONTENT" + status: STATUS + apdexTarget: APDEX_TARGET + } + ) { + errors { + description + type } } - + } ``` Use isto para atualizar um monitor de etapas: - ``` + ```graphql mutation { - syntheticsUpdateStepMonitor ( - guid: ENTITY_GUID, + syntheticsUpdateStepMonitor( + guid: ENTITY_GUID monitor: { - browsers: [BROWSERS], - devices: [DEVICES], - locations: { - public: ["LOCATION_1", "LOCATION_2"] - }, - name: "MONITOR_NAME", - period: PERIOD, + browsers: [BROWSERS] + devices: [DEVICES] + locations: { public: ["LOCATION_1", "LOCATION_2"] } + name: "MONITOR_NAME" + period: PERIOD runtime: { - runtimeType: "RUNTIME_TYPE", - runtimeTypeVersion: "RUNTIME_TYPE_VERSION", + runtimeType: "RUNTIME_TYPE" + runtimeTypeVersion: "RUNTIME_TYPE_VERSION" scriptLanguage: "SCRIPT_LANGUAGE" + } + status: STATUS + steps: [ + { + ordinal: 0, + type: NAVIGATE, + values: ["MONITORED_URI", "USER_AGENT"] } - status: STATUS, - steps: [{ - ordinal: 0, - type: NAVIGATE, - values: ["MONITORED_URI"],["USER_AGENT"] - },{ - ordinal: STEP_NUMBER, - type: STEP_TYPE, - values: ["VALUE_1","VALUE_2"] - }] - advancedOptions: { - enableScreenshotOnFailureAndScript: ENABLE_SCREENSHOT - }, + { + ordinal: STEP_NUMBER, + type: STEP_TYPE, + values: ["VALUE_1", "VALUE_2"] + } + ] + advancedOptions: { enableScreenshotOnFailureAndScript: ENABLE_SCREENSHOT } apdexTarget: APDEX_TARGET } ) { - errors { - description - type - } + errors { + description + type + } } } ``` @@ -854,57 +814,53 @@ Embora não seja possível alterar o tipo de monitor após criá-lo, você pode Use isto para atualizar um monitor de verificação de certificado: - ``` - mutation { - syntheticsUpdateCertCheckMonitor ( - guid: ENTITY_GUID, - monitor: { - domain: "DOMAIN", - locations: { - public: ["LOCATION_1", "LOCATION_2"] - }, - name: "YOUR_MONITOR_NAME", - numberDaysToFailBeforeCertExpires: DAYS_UNTIL_EXPIRATION, - period: PERIOD, - status: STATUS, - apdexTarget: APDEX_TARGET - } - ) { - errors { - description - type - } + ```graphql + mutation { + syntheticsUpdateCertCheckMonitor( + guid: ENTITY_GUID + monitor: { + domain: "DOMAIN" + locations: { public: ["LOCATION_1", "LOCATION_2"] } + name: "YOUR_MONITOR_NAME" + numberDaysToFailBeforeCertExpires: DAYS_UNTIL_EXPIRATION + period: PERIOD + status: STATUS + apdexTarget: APDEX_TARGET + } + ) { + errors { + description + type } } + } ``` Use isto para atualizar um monitor de links quebrados: - ``` + ```graphql mutation { - syntheticsUpdateBrokenLinksMonitor ( - guid: ENTITY_GUID, + syntheticsUpdateBrokenLinksMonitor( + guid: ENTITY_GUID monitor: { - locations: { - public: ["LOCATION_1", "LOCATION_2"] - }, - name: "YOUR_MONITOR_NAME", - period: PERIOD, - status: STATUS, - apdexTarget: APDEX_TARGET, - uri: "MONITOR_URI", - tags: { + locations: { public: ["LOCATION_1", "LOCATION_2"] } + name: "YOUR_MONITOR_NAME" + period: PERIOD + status: STATUS + apdexTarget: APDEX_TARGET + uri: "MONITOR_URI" + tags: { key: "YOUR_TAG_NAME", - values: "TAG_VALUE" - } - } - ) { - errors { - description - type + values: "TAG_VALUE" } + } + ) { + errors { + description + type + } } } ``` @@ -918,10 +874,10 @@ Embora não seja possível alterar o tipo de monitor após criá-lo, você pode Confira [os campos opcionais](#optional-fields) para obter detalhes adicionais sobre as configurações de tempo de execução. - ``` + ```graphql mutation { syntheticsUpdateScriptBrowserMonitor ( - guid: "", + guid: "ENTITY_GUID", monitor: { runtime: { runtimeType: "RUNTIME_TYPE", @@ -947,10 +903,10 @@ Embora não seja possível alterar o tipo de monitor após criá-lo, você pode Confira [os campos opcionais](#optional-fields) para obter detalhes adicionais sobre as configurações de tempo de execução. - ``` + ```graphql mutation { syntheticsUpdateScriptBrowserMonitor ( - guid: "", + guid: "ENTITY_GUID", monitor: { runtime: { runtimeType: "", @@ -977,11 +933,11 @@ Use este script para excluir seu monitor: Exclua um monitor usando o GUID da entidade do monitor. - ``` + ```graphql mutation { syntheticsDeleteMonitor ( guid: "ENTITY_GUID" - ) { + ) { deletedGuid } } @@ -995,10 +951,10 @@ A [localização privada](/docs/synthetics/synthetic-monitoring/private-location - ``` - mutation{ + ```graphql + mutation { syntheticsCreatePrivateLocation ( - accountId: NR_ACCOUNT_ID, + accountId: ACCOUNT_ID, name: "PrivateLocationName", description: "Optional description", verifiedScriptExecution: false @@ -1014,18 +970,18 @@ A [localização privada](/docs/synthetics/synthetic-monitoring/private-location - ``` + ```graphql mutation { syntheticsUpdatePrivateLocation ( - guid: YOUR_ENTITY_GUID, + guid: ENTITY_GUID, description: "EnterYourDescription", verifiedScriptExecution: true ) { - description - verifiedScriptExecution - errors { description - type + verifiedScriptExecution + errors { + description + type } } } @@ -1033,11 +989,11 @@ A [localização privada](/docs/synthetics/synthetic-monitoring/private-location - ``` + ```graphql mutation { syntheticsDeletePrivateLocation ( - guid: YOUR_ENTITY_GUID - ) { + guid: ENTITY_GUID + ) { errors { description type @@ -1050,11 +1006,11 @@ A [localização privada](/docs/synthetics/synthetic-monitoring/private-location Se você precisar limpar um backlog pesado, use isto: - ``` + ```graphql mutation { syntheticsPurgePrivateLocationQueue ( - guid: YOUR_ENTITY_GUID - ) { + guid: ENTITY_GUID + ) { errors { description type @@ -1071,14 +1027,14 @@ Você usa [credenciais seguras](/docs/synthetics/synthetic-monitoring/using-moni - ``` + ```graphql mutation { syntheticsCreateSecureCredential ( - accountId: YOUR_ENTITY_GUID, + accountId: ACCOUNT_ID, description: "YourOptionalDescription", key: SECURE_CREDENTIAL_NAME, value: SECURE_CREDENTIAL_VALUE - ) { + ) { errors { description } @@ -1088,13 +1044,14 @@ Você usa [credenciais seguras](/docs/synthetics/synthetic-monitoring/using-moni - ``` + ```graphql mutation { - syntheticsUpdateSecureCredential ( - accountId: YOUR_ACCOUNT_ID, - description: "YourOptionalDescription", - key: SECURE_CREDENTIAL_NAME, - value: SECURE_CREDENTIAL_VALUE) { + syntheticsUpdateSecureCredential( + accountId: ACCOUNT_ID + description: "YourOptionalDescription" + key: SECURE_CREDENTIAL_NAME + value: SECURE_CREDENTIAL_VALUE + ) { createdAt lastUpdate errors { @@ -1106,12 +1063,12 @@ Você usa [credenciais seguras](/docs/synthetics/synthetic-monitoring/using-moni - ``` + ```graphql mutation { syntheticsDeleteSecureCredential ( - accountId: YOUR_ACCOUNT_ID, + accountId: ACCOUNT_ID, key: SECURE_CREDENTIAL_NAME - ) { + ) { errors { description } @@ -1127,13 +1084,13 @@ Monitor período de inatividade permite especificar horários em que seu Sintét - ``` + ```graphql mutation { syntheticsCreateOnceMonitorDowntime ( - accountId: NR_ACCOUNT_ID, + accountId: ACCOUNT_ID, name: "MonitorDowntimeName", monitorGuids: ["OptionalMonitorEntityGuid", "OptionalMonitorEntityGuid"], - timezone: "Timezone", + timezone: "TIMEZONE", startTime: "yyyy-MM-ddTHH:mm:ss", endTime: "yyyy-MM-ddTHH:mm:ss" ) { @@ -1150,13 +1107,13 @@ Monitor período de inatividade permite especificar horários em que seu Sintét - ``` + ```graphql mutation { syntheticsCreateDailyMonitorDowntime ( - accountId: NR_ACCOUNT_ID, + accountId: ACCOUNT_ID, name: "MonitorDowntimeName", monitorGuids: ["OptionalMonitorEntityGuid", "AnotherOptionalMonitorEntityGuid"], - timezone: "Timezone", + timezone: "TIMEZONE", startTime: "yyyy-MM-ddTHH:mm:ss", endTime: "yyyy-MM-ddTHH:mm:ss", endRepeat: { @@ -1181,13 +1138,13 @@ Monitor período de inatividade permite especificar horários em que seu Sintét - ``` + ```graphql mutation { syntheticsCreateWeeklyMonitorDowntime ( - accountId: NR_ACCOUNT_ID, + accountId: ACCOUNT_ID, name: "MonitorDowntimeName", monitorGuids: ["OptionalMonitorEntityGuid", "AnotherOptionalMonitorEntityGuid"], - timezone: "Timezone", + timezone: "TIMEZONE", startTime: "yyyy-MM-ddTHH:mm:ss", endTime: "yyyy-MM-ddTHH:mm:ss", endRepeat: { @@ -1214,13 +1171,13 @@ Monitor período de inatividade permite especificar horários em que seu Sintét - ``` + ```graphql mutation { syntheticsCreateMonthlyMonitorDowntime ( - accountId: NR_ACCOUNT_ID, + accountId: ACCOUNT_ID, name: "MonitorDowntimeName", monitorGuids: ["OptionalMonitorEntityGuid", "AnotherOptionalMonitorEntityGuid"], - timezone: "Timezone", + timezone: "TIMEZONE", startTime: "yyyy-MM-ddTHH:mm:ss", endTime: "yyyy-MM-ddTHH:mm:ss", endRepeat: { @@ -1259,19 +1216,19 @@ Monitor período de inatividade permite especificar horários em que seu Sintét - ``` + ```graphql mutation { syntheticsEditMonitorDowntime ( guid: "MonitorDowntimeEntityGuid", name: "MONITOR_DOWNTIME_NAME", monitorGuids: ["OptionalMonitorEntityGuid", "AnotherOptionalMonitorEntityGuid"], once: { - timezone: "Timezone", + timezone: "TIMEZONE", startTime: "yyyy-MM-ddTHH:mm:ss", endTime: "yyyy-MM-ddTHH:mm:ss" }, daily: { - timezone: "Timezone", + timezone: "TIMEZONE", startTime: "yyyy-MM-ddTHH:mm:ss", endTime: "yyyy-MM-ddTHH:mm:ss", endRepeat: { @@ -1280,7 +1237,7 @@ Monitor período de inatividade permite especificar horários em que seu Sintét } }, weekly: { - timezone: "Timezone", + timezone: "TIMEZONE", startTime: "yyyy-MM-ddTHH:mm:ss", endTime: "yyyy-MM-ddTHH:mm:ss", endRepeat: { @@ -1290,7 +1247,7 @@ Monitor período de inatividade permite especificar horários em que seu Sintét maintenanceDays: [WeekDaysEnums] }, monthly: { - timezone: "Timezone", + timezone: "TIMEZONE", startTime: "yyyy-MM-ddTHH:mm:ss", endTime: "yyyy-MM-ddTHH:mm:ss", endRepeat: { @@ -1330,7 +1287,7 @@ Monitor período de inatividade permite especificar horários em que seu Sintét - ``` + ```graphql mutation { syntheticsDeleteMonitorDowntime ( guid: DOWNTIME_ENTITY_GUID diff --git a/src/i18n/content/pt/docs/change-tracking/change-tracking-view-analyze.mdx b/src/i18n/content/pt/docs/change-tracking/change-tracking-view-analyze.mdx index 197461236b5..9663c925160 100644 --- a/src/i18n/content/pt/docs/change-tracking/change-tracking-view-analyze.mdx +++ b/src/i18n/content/pt/docs/change-tracking/change-tracking-view-analyze.mdx @@ -15,36 +15,25 @@ Antes de entrar nos detalhes aqui sobre como visualizar e analisar o impacto das * **Charts in APM and dashboards:** Uma linha vertical com uma cabeça de alfinete aparece nos gráficos de séries temporais. Este marcador representa a alteração registrada e, se você clicar na cabeça do alfinete, poderá começar a detalhar o impacto que a alteração teve na integridade e na qualidade da entidade. - A screenshot showing a change in a time series chart + A screenshot showing a change in a time series chart Se você acessar um dashboard ou uma página de resumo da entidade e não vir a alteração rastreada que espera, verifique a seleção do seletor de hora. Pode estar fora da janela que você está olhando. -* **Entity sidebar:** Para ver uma tabela de alterações, clique em **Change tracking** para qualquer entidade que tenha registrado alterações. Possui um seletor de intervalo de tempo e opções de filtragem e classificação de tabelas. Use-os para restringir o campo de alterações ou para encontrar uma alteração específica. Observe que pode ser necessário ajustar o intervalo de tempo selecionado nesta página para ver as alterações controladas. Além disso, por padrão, a tabela carregará lentamente até 2.000 alterações. Tenha isso em mente ao filtrar, pesquisar e ajustar seu intervalo de tempo. + + Se você ainda não estiver vendo os marcadores esperados, revise a seção ["Como os marcadores são selecionados para inclusão em um gráfico"](#nrql-markers-inclusion) para obter mais detalhes sobre como os eventos de Monitoramento de Alterações são selecionados para inclusão com base na consulta do gráfico. + + +* **Entity sidebar:** Para ver uma tabela de alterações, clique em **Change tracking** para qualquer entidade que tenha registrado alterações. Ele oferece um seletor de intervalo de tempo e opções de filtragem e classificação de tabelas. Use-os para restringir o campo de alterações ou para encontrar uma alteração específica. Observe que você pode precisar ajustar o intervalo de tempo selecionado nesta página para ver as alterações rastreadas. Além disso, por padrão, a tabela carregará lentamente até 2.000 alterações. Tenha isso em mente ao filtrar, pesquisar e ajustar seu intervalo de tempo. -* **New Relic & Detection:** Se sua alteração estiver relacionada a um problema, você a verá listada na seção **Root Cause Analysis** da página **Issues** . +* **New Relic & Detection:** Se sua alteração estiver relacionada a um problema, você a verá listada na seção **Root Cause Analysis** da página **Issues** . - A screenshot showing the root cause analysis page in the user interface + A screenshot showing the root cause analysis page in the user interface * **Activity stream component:** Você pode ver as alterações registradas no feed de atividades no painel dobrável direito em várias páginas da interface do New Relic. - A screenshot showing the activity stream in the right pane of the UI + A screenshot showing the activity stream in the right pane of the UI ## Analise o impacto da sua mudança [#impact] @@ -56,11 +45,7 @@ Ao clicar em uma alteração que você está acompanhando no New Relic, como em Você obterá vários insights sobre como essa mudança pode ter afetado a saúde, o desempenho e a qualidade desta entidade. Esses insights são baseados em erros, principais métricas e tendências de atributo de log, anomalias, problemas e muito mais. Esta página também apresenta ferramentas poderosas de escopo e comparação para ajudá-lo a ver e compreender ainda mais o contexto sobre as mudanças em andamento. Por exemplo, você pode ver como sua alteração atual se compara à anterior. -A screenshot showing and example of the change details page +A screenshot showing and example of the change details page
A página **Change details** . @@ -78,12 +63,7 @@ Aqui estão alguns insights úteis que você pode obter registrando alterações * Descobertas facetadas de uma variedade de produtos New Relic, incluindo Errors Inbox, monitoramento de log, AIOps (problemas, incidentes e anomalias) e muito mais, mostram como essa mudança afetou ou está relacionada à resolução de problemas cruciais e registros de análise. Os insights apresentados aqui e a forma como os dados são filtrados variam de acordo com o tipo de entidade. Passe o mouse sobre os títulos das seções das páginas para saber mais sobre como apresentamos insights significativos aqui. - A screenshot showing some faceted findings since your change + A screenshot showing some faceted findings since your change O seletor de tempo no nível da página também afeta os insights de outros produtos da New Relic. Tente se concentrar no período após uma mudança que é mais importante para você. @@ -93,18 +73,13 @@ Aqui estão alguns insights úteis que você pode obter registrando alterações * Links para entidades relacionadas com a entidade desta alteração. Isso ajuda você a percorrer sua stack enquanto procura a origem de um problema ou mede o impacto das alterações decorrentes dessa alteração. -* Todos os dados fornecidos quando a alteração foi registrada, o que ajuda qualquer pessoa a entender rapidamente o contexto, independentemente de ter feito a alteração ou não. Ao registrar uma alteração, tente enviar uma URL para o atributo changelog. A interface irá renderizá-lo como um link clicável que serve como um ponto de partida conveniente para o seu sistema de gerenciamento de repositório de origem. +* Todos os dados fornecidos quando a alteração foi registrada, o que ajuda qualquer pessoa a entender rapidamente o contexto, independentemente de ter feito a alteração ou não. Ao registrar uma alteração, tente enviar uma URL para o atributo changelog. A interface o renderizará como um link clicável que serve como um ponto de partida conveniente para seu sistema de gerenciamento de repositório de origem. ### Alterar o período de comparação antes/depois [#change-window] A página **Change details** baseia-se na ideia de que os registros e sinais gerados durante um período que antecede essa alteração estão sendo comparados com um período de igual duração após essa alteração. Você pode alterar a duração desse período usando um seletor de hora no canto superior direito. Observe que isso afetará os gráficos de série temporal e outros elementos da UI, recurso orientado por dados insights. -A screenshot showing how to change the time window for the comparison +A screenshot showing how to change the time window for the comparison Lembre-se de que a relevância do impacto líquido e dos valores médios depende da seleção do timepicker. Por exemplo, se uma mudança aconteceu há 30 minutos e você está comparando a hora anterior com a hora seguinte, a relevância de alguns insights pode estar um pouco incompleta, por assim dizer, e em alguns casos a interface nem mesmo tentará exibir o resultado. @@ -114,22 +89,13 @@ A página **Change details** baseia-se na ideia de que os registros e Ao lado do seletor de tempo no canto superior direito da página **Change details**, você verá **compared with** ao lado de um menu dropdown . Usando esse menu dropdown , você pode selecionar outra alteração registrada. Isso alternará a página para um modo comparativo. -A screenshot showing how to compare with another change +A screenshot showing how to compare with another change Quando você compara as alterações: * Cada gráfico de série temporal mostrará uma curva para ESTA mudança e AQUELA mudança, o que o ajudará a comparar o desempenho relativo de cada mudança. - Screenshot showing comparison curves + Screenshot showing comparison curves * Outros cálculos nesta página serão atualizados para ajudá-lo a entender a diferença entre ESTA alteração e AQUELA alteração. Eles podem mostrar aumentos/diminuições em porcentagens para taxas ou contagens (por exemplo, +11) onde fizer sentido fazê-lo. @@ -146,11 +112,7 @@ O que você pode ver com esses painéis de tendências personalizados? Você pod Diferentemente dos gráficos dashboard normais, esses quadros de tendências personalizados são gráficos totalmente integrados à janela de tempo e às configurações de **compared with** na página **Change details**. Você pode até exportá-los para o painel, e todos estão vinculados a uma entidade específica e à sua conta de usuário. -Screenshot showing a custom trend board on change details page +Screenshot showing a custom trend board on change details page
Aqui está um exemplo de um único quadro de tendências personalizado para uma mudança controlada. Mais duas placas poderiam ser adicionadas a esta mudança. @@ -158,89 +120,24 @@ Diferentemente dos gráficos dashboard normais, esses quadros de tendências per Para adicionar um quadro de tendências personalizado: -1. Vá para - - - **[one.newrelic.com](https://one.newrelic.com/) > All Entities** - - - e selecione sua entidade. - -2. Clique em - - - **Change tracking** - - - no painel de navegação esquerdo e selecione uma alteração. - -3. Abaixo dos gráficos de - - - **Key impacts** - - - , clique em - - - **Add any metric or event** - - - . - -4. Clique em - - - **What do you want to track** - - - e selecione uma métrica ou evento. - -5. Clique em - - - **How do you want to aggregate that?** - - - e selecione uma função. +1. Vá para **[one.newrelic.com](https://one.newrelic.com/) > All Entities** e selecione sua entidade. +2. Clique em **Change tracking** no painel de navegação esquerdo e selecione uma alteração. +3. Abaixo dos gráficos de **Key impacts**, clique em **Add any metric or event**. +4. Clique em **What do you want to track** e selecione uma métrica ou evento. +5. Clique em **How do you want to aggregate that?** e selecione uma função. ### Veja os efeitos das mudanças na transação da web [#web-transactions] Com o Monitoramento de Alterações, você pode ver detalhes sobre como a transação da web foi afetada por uma alteração no aplicativo APM. Ao rastrear alterações no aplicativo APM, você verá o título **Web transaction impacts**. A tabela nesta seção mostra indicadores de desempenho para até dez das transações da web mais demoradas do aplicativo: -Screenshot showing where to view the impacts to web transactions +Screenshot showing where to view the impacts to web transactions Para controlar o que a tabela exibe: -* Use o dropdown - - - **Metric** - - - para ver como diversas métricas foram afetadas por essa alteração controlada. - +* Use o dropdown **Metric** para ver como diversas métricas foram afetadas por essa alteração controlada. * Ao alterar a janela de tempo antes e depois na tabela, lembre-se de que, se o intervalo de tempo após a alteração terminar no futuro, você poderá ver dados de transação incompletos. - -* Para que a tabela mostre uma comparação lado a lado com outra alteração controlada, selecione outra alteração em - - - **compared with** - - - . - -* Se você passar o mouse sobre um valor na coluna - - - **Transaction name** - - - , verá uma dica resumindo o desempenho de todas as cinco métricas dessa transação. A dica de ferramenta também contém links para os detalhes da transação do APM para que você possa se aprofundar nos dados detalhados do nível da transação. +* Para que a tabela mostre uma comparação lado a lado com outra alteração controlada, selecione outra alteração em **compared with**. +* Se você passar o mouse sobre um valor na coluna **Transaction name** , verá uma dica resumindo o desempenho de todas as cinco métricas dessa transação. A dica de ferramenta também contém links para os detalhes da transação do APM para que você possa se aprofundar nos dados detalhados do nível da transação. ## Consultar alteração de dados [#query-deployments] @@ -259,11 +156,7 @@ Experimente estes exemplos ou crie sua própria consulta: - + ```sql SELECT * FROM Deployment @@ -271,11 +164,7 @@ Experimente estes exemplos ou crie sua própria consulta: ``` - + ```sql SELECT count(*) FROM TransactionError @@ -284,11 +173,7 @@ Experimente estes exemplos ou crie sua própria consulta: ``` - + ```sql SELECT count(*) FROM Transaction @@ -300,16 +185,70 @@ Experimente estes exemplos ou crie sua própria consulta: +#### Como os marcadores são selecionados para inclusão em um gráfico [#nrql-markers-inclusion] + +A maioria dos gráficos é orientada por uma consulta NRQL, que você pode visualizar clicando nos três pontos no canto superior direito do bloco. Ao trabalhar com uma consulta, siga estas etapas para determinar quais marcadores incluir no gráfico resultante: + +1. Derive o conjunto de entidades relevantes que inclui tanto a entidade mencionada diretamente na consulta quanto a entidade relacionada. Consulte a seção abaixo para mais detalhes. +2. Pinte um marcador para cada evento de Monitoramento de Alterações registrado para este conjunto de entidade, trace um marcador, com limite de até 5.000 eventos. + +As entidades relevantes para o gráfico são derivadas da consulta NRQL com base na seguinte lógica: + +* entidade que são especificados diretamente na consulta para o gráfico usando um operador `IN` ou `=` (por exemplo consulta com uma cláusula `WHERE entity.guid IN ('MTE2NjAxMzJ8QVBNfEFQUExJQ0FUSU9OfDEyMDk1MjY5')` ). Embora usemos `entity.guid` como exemplo, outras propriedades também podem ser usadas para designar explicitamente a entidade para a consulta. Eles são: + + * `entity.guid` + * `entityGuid` + * `entity.name` + * `entityName` + * `appName` + * `service.name` + +* entidade que estão [relacionadas](https://docs.newrelic.com/docs/new-relic-solutions/new-relic-one/core-concepts/what-entity-new-relic/#related-entities) à entidade especificada através do método acima. Somente os seguintes tipos de relacionamento são considerados: + + * `CALLS` + * `SERVES` + * `IS` + * `CONTAINS` + * `HOSTS` + +Esteja ciente de que **a consulta NRQL para gráficos está atualmente limitada a uma única conta**. Isso significa que se você especificar GUIDs de entidade pertencentes a várias contas, somente marcadores de uma única conta serão visualizados. + +Por exemplo, vamos considerar que a consulta para seu gráfico se parece com o seguinte: + +``` +FROM Transaction SELECT count(*) WHERE entityGuid IN ('MTE2NjAxMzJ8QVBNfEFQUExJQ0FUSU9OfDg0MTY1OTI','MTEwNjI2OTl8QVBNfEFQUExJQ0FUSU9OfDg5ODEwMDk5') TIMESERIES MAX SINCE 2 weeks AGO +``` + +Marcadores de ambas as entidades aparecerão no gráfico. Além disso, marcadores de entidades relacionadas também serão incluídos no gráfico. Para determinar a lista de entidades relacionadas, você pode executar uma consulta GraphQL semelhante ao exemplo abaixo: + +``` +{ + actor { + entity(guid: "MTEwNjI2OTl8QVBNfEFQUExJQ0FUSU9OfDg5ODEwMDk5") { + relatedEntities( + filter: {relationshipTypes: {include: [CALLS, SERVES, IS, CONTAINS, HOSTS]}} + ) { + results { + type + source { + guid + } + target { + guid + } + } + } + } + } +} +``` + ### NerdGraph (GraphQL) [#graphql-markers] Experimente estas consultas NerdGraph em nosso [explorador NerdGraph](/docs/apis/nerdgraph/get-started/nerdgraph-explorer#find): - + ```graphql { actor { @@ -335,11 +274,7 @@ Experimente estas consultas NerdGraph em nosso [explorador NerdGraph](/docs/apis ``` - + ```graphql { actor { @@ -374,11 +309,7 @@ Experimente estas consultas NerdGraph em nosso [explorador NerdGraph](/docs/apis ``` - + ```graphql { actor { @@ -416,4 +347,4 @@ Experimente estas consultas NerdGraph em nosso [explorador NerdGraph](/docs/apis ## Qual é o próximo? [#what-next] -Considere configurar um webhook para notificar sua equipe sobre as alterações que você está acompanhando. Consulte [Notificar sua equipe sobre alterações](/docs/change-tracking/change-tracking-webhooks). +Considere configurar um webhook para notificar sua equipe sobre as alterações que você está acompanhando. Consulte [Notificar sua equipe sobre alterações](/docs/change-tracking/change-tracking-webhooks). \ No newline at end of file diff --git a/src/i18n/content/pt/docs/network-performance-monitoring/setup-performance-monitoring/snmp-performance-monitoring.mdx b/src/i18n/content/pt/docs/network-performance-monitoring/setup-performance-monitoring/snmp-performance-monitoring.mdx index 1a020a65ce6..af4f4bc2abf 100644 --- a/src/i18n/content/pt/docs/network-performance-monitoring/setup-performance-monitoring/snmp-performance-monitoring.mdx +++ b/src/i18n/content/pt/docs/network-performance-monitoring/setup-performance-monitoring/snmp-performance-monitoring.mdx @@ -17,40 +17,26 @@ Você pode usar nosso processo de instalação guiada para instalar o agente de Antes de começar, você precisará [se inscrever em uma conta New Relic](https://newrelic.com/signup). Se você optar por instalar o agente manualmente, também precisará de: * Um [ID de conta](/docs/accounts/accounts-billing/account-setup/account-id) New Relic. - -* Uma New Relic - - - - . +* Uma New Relic . Recomenda-se implantar o agente de monitoramento SNMP como um contêiner tanto para Docker quanto para Podman. Se precisar, você pode instalá-lo alternativamente como um serviço baremetal no Linux. - + Recomendamos utilizar um contêiner Docker para implantar o agente de monitoramento SNMP. Para usá-lo, você precisa de: * Docker instalado em uma das [plataformas Linux suportadas pelo Docker](https://docs.docker.com/engine/install/#supported-platforms). * Possibilidade de lançamento de novos contêineres via linha de comando. - + Se você estiver usando um contêiner Podman para lançar o agente, você precisa: * Podman instalado em uma das [plataformas Linux suportadas pelo Podman](https://podman.io/docs/installation#installing-on-linux) * Capacidade de lançar novos contêineres via linha de comando - + Se estiver usando Linux para instalar o agente como um serviço, você precisará de: * Acesso SSH ao host @@ -63,7 +49,7 @@ Recomenda-se implantar o agente de monitoramento SNMP como um contêiner tanto p * Debian 12 (leitor ávido) * Debian 11 (alvo) * Debian 10 (Buster) - * RedHat Enterprise Linux 9 + * RedHat Enterprise Linux 9 até 9.5 * Ubuntu 20.04 (FocalLTS) * Ubuntu 22.04 (Jammy LTS) * Ubuntu 23.04 (Lunar) @@ -79,10 +65,7 @@ Recomenda-se implantar o agente de monitoramento SNMP como um contêiner tanto p Existem também pré-requisitos para o seu ambiente de rede e para os próprios dispositivos de rede. - + Você deve configurar os dispositivos de destino para aceitarem a pesquisa SNMP do endereço IP do host do agente. Você pode encontrar alguns exemplos de configuração SNMP básica aqui (esta não é uma lista completa): * Cisco @@ -91,18 +74,13 @@ Existem também pré-requisitos para o seu ambiente de rede e para os próprios * [NX-OS](https://www.cisco.com/c/en/us/td/docs/switches/datacenter/sw/4_2/nx-os/system_management/configuration/guide/sm_nx_os_cli/sm_9snmp.html#wp1056898) * Zimbro - * [Junos OS](https://www.juniper.net/documentation/us/en/software/junos/network-mgmt/topics/topic-map/configuring-basic-snmp.html) * Palo Alto - * [PAN-OS](https://docs.paloaltonetworks.com/pan-os/10-1/pan-os-web-interface-help/device/device-setup-operations/enable-snmp-monitoring.html) - + Verifique os [pré-requisitos de segurança de rede para SNMP](/install/npm). @@ -111,10 +89,7 @@ Existem também pré-requisitos para o seu ambiente de rede e para os próprios Nosso Monitoramento de rede contêiner suporta todas as versões principais do SNMP (v1, v2c e v3), incluindo Traps e Informs. Além disso, o SNMP v3 oferece suporte para as seguintes configurações de autenticação e privacidade: - +
- ```"unauthorized", { - extensions: { nerdGraphExtensions: { errorClass: "ACCESS_DENIED" } } - } + ``` + "unauthorized", { + extensions: { nerdGraphExtensions: { errorClass: "ACCESS_DENIED" } } + } ```
``` - cannot create subaccount -- multiple parent account ids found. Please use Partnership API.", { - extensions: { nerdGraphExtensions: { errorClass: "SERVER_ERROR" } } - } + "cannot create subaccount -- multiple parent account ids found. Please use Partnership API.", { + extensions: { nerdGraphExtensions: { errorClass: "SERVER_ERROR" } } + } ```
@@ -278,51 +253,33 @@ Nosso Monitoramento de rede contêiner suporta todas as versões principais do S ## Configure o monitoramento de dados SNMP no New Relic [#setup-snmp-monitoring] -
+
- - 1. Vá para **[one.newrelic.com > All capabilities](https://one.newrelic.com/all-capabilities) > Add more data** + + 1. Vá para **[one.newrelic.com > All capabilities](https://one.newrelic.com/all-capabilities) > Add more data** 2. Role para baixo até ver **Network** e clique em **SNMP**. 3. Siga as etapas descritas no processo de instalação guiada. Você pode usar Docker, Podman ou Linux. - + Adicionar dados SNMP - SNMP guided setup + SNMP guided setup
- **[one.newrelic.com > All capabilities](https://one.newrelic.com/ll-capabilities) > Add more data > Network > SNMP** para configurar o monitoramento de dados SNMP. + **[one.newrelic.com > All capabilities](https://one.newrelic.com/ll-capabilities) > Add more data > Network > SNMP** para configurar o monitoramento de dados SNMP.
- 4. Investigue os dados de desempenho da sua rede na interface New Relic . + 4. Investigue os dados de desempenho da sua rede na interface New Relic .
- + Antes de ler sobre a instalação manual do agente SNMP, considere usar nosso processo de instalação guiada para evitar erros: - + Adicionar dados SNMP @@ -346,13 +303,10 @@ Nosso Monitoramento de rede contêiner suporta todas as versões principais do S 1. Em um host Linux com Docker instalado, faça download da imagem **ktranslate** executando um dos seguintes procedimentos: * [Hub Docker](https://hub.docker.com/): - ```shell docker pull kentik/ktranslate:v2 ``` - * [Quay.io](https://quay.io/): - ```shell docker pull quay.io/kentik/ktranslate:v2 ``` @@ -366,7 +320,7 @@ Nosso Monitoramento de rede contêiner suporta todas as versões principais do S docker rm -v $id ``` - 3. Edite o arquivo `snmp-base.yaml` e defina o atributo `discovery.cidrs` e `discovery.default_communities` para valores apropriados para sua rede. Recomendamos configurar `discovery.add_mibs: true` para automatizar a adição de todos os MIBs descobertos no atributo `global.mibs_enabled` . Além disso, recomendamos configurar `discovery.check_all_ips: true` para evitar problemas de descoberta em [dispositivos com posturas de segurança mais rígidas](/docs/network-performance-monitoring/troubleshooting/snmp-discovery-no-devices). + 3. Edite o arquivo `snmp-base.yaml` e defina os atributos `discovery.cidrs` e `discovery.default_communities` para valores apropriados para sua rede. Recomendamos definir `discovery.add_mibs: true` para automatizar a adição de todos os MIBs descobertos no atributo `global.mibs_enabled` . Além disso, recomendamos definir `discovery.check_all_ips: true` para evitar problemas de descoberta em [dispositivos com posturas de segurança mais rígidas](/docs/network-performance-monitoring/troubleshooting/snmp-discovery-no-devices). 4. Inicie o agente Monitoramento de rede para sondar dispositivos de destino e escutar mensagens de interceptação SNMP recebidas. Substitua `$CONTAINER_SERVICE` por um nome exclusivo para o contêiner e substitua`$YOUR_NR_LICENSE_KEY` e `$YOUR_NR_ACCOUNT_ID` pelos seus valores: @@ -389,14 +343,13 @@ Nosso Monitoramento de rede contêiner suporta todas as versões principais do S Não é necessário executar um agente dedicado para coleta de traps, pois todos os agentes de polling SNMP executarão um ouvinte passivo. Por padrão, o contêiner escutará na porta 162 (UDP) do host; mas você pode alterar o mapeamento [de porta publicado](https://docs.docker.com/network/#published-ports) no comando docker run - `-p 162:1620/udp`. Se quiser configurar um contêiner dedicado, você pode seguir as etapas [desta seção](/docs/network-performance-monitoring/setup-performance-monitoring/snmp-performance-monitoring/#optional-installation-for-snmp-traps). - 5. Investigue os dados de desempenho da sua rede na interface New Relic . + 5. Investigue os dados de desempenho da sua rede na interface New Relic . 1. Em um host com o Podman instalado, faça download da imagem **ktranslate** executando o seguinte comando: * [Hub Docker](https://hub.docker.com/): - ```shell podman pull docker.io/kentik/ktranslate:v2 ``` @@ -410,7 +363,7 @@ Nosso Monitoramento de rede contêiner suporta todas as versões principais do S podman rm -v $id ``` - 3. Edite o arquivo `snmp-base.yaml` e defina o atributo `discovery.cidrs` e `discovery.default_communities` para valores apropriados para sua rede. Recomendamos configurar `discovery.add_mibs: true` para automatizar a adição de todos os MIBs descobertos no atributo `global.mibs_enabled` . Além disso, recomendamos configurar `discovery.check_all_ips: true` para evitar problemas de descoberta em [dispositivos com posturas de segurança mais rígidas](/docs/network-performance-monitoring/troubleshooting/snmp-discovery-no-devices). + 3. Edite o arquivo `snmp-base.yaml` e defina os atributos `discovery.cidrs` e `discovery.default_communities` para valores apropriados para sua rede. Recomendamos definir `discovery.add_mibs: true` para automatizar a adição de todos os MIBs descobertos no atributo `global.mibs_enabled` . Além disso, recomendamos definir `discovery.check_all_ips: true` para evitar problemas de descoberta em [dispositivos com posturas de segurança mais rígidas](/docs/network-performance-monitoring/troubleshooting/snmp-discovery-no-devices). 4. O contêiner Rootless Podman não consegue se vincular a portas abaixo de 1024. Para lidar com o redirecionamento de pacotes para mensagens trap, você precisará criar uma regra `iptables` para que os pacotes de destino cheguem na porta UDP 162: @@ -439,21 +392,18 @@ Nosso Monitoramento de rede contêiner suporta todas as versões principais do S Não é necessário executar um agente dedicado para coleta de traps, pois todos os agentes de polling SNMP executarão um ouvinte passivo. Por padrão, o contêiner escutará na porta 162 (UDP) do host, mas você pode alterar o mapeamento [da porta publicada](https://docs.docker.com/network/#published-ports) no comando docker run - `-p 162:1620/udp`. Se quiser configurar um contêiner dedicado, você pode seguir as etapas [desta seção](/docs/network-performance-monitoring/setup-performance-monitoring/snmp-performance-monitoring/#optional-installation-for-snmp-traps). - 6. Investigue os dados de desempenho da sua rede na interface New Relic . + 6. Investigue os dados de desempenho da sua rede na interface New Relic . 1. Dependendo do seu gerenciador de pacote, use um dos comandos abaixo para instalar `ktranslate` * Yum: - ```shell curl -s https://packagecloud.io/install/repositories/kentik/ktranslate/script.rpm.sh | sudo bash && \ sudo yum install ktranslate ``` - * Apt: - ```shell curl -s https://packagecloud.io/install/repositories/kentik/ktranslate/script.deb.sh | sudo bash && \ sudo apt-get install ktranslate @@ -517,7 +467,7 @@ Nosso Monitoramento de rede contêiner suporta todas as versões principais do S sudo chown ktranslate:ktranslate /etc/ktranslate/snmp-base.yaml ``` - 4. Edite o arquivo `snmp-base.yaml` e defina o atributo `discovery.cidrs` e `discovery.default_communities` para valores apropriados para sua rede. Recomendamos definir `discovery.add_mibs: true` para automatizar a adição de todos os MIBs descobertos no atributo `global.mibs_enabled` . Além disso, é recomendável definir `discovery.check_all_ips: true` para evitar problemas de descoberta em [dispositivos com posturas de segurança mais rígidas](/docs/network-performance-monitoring/troubleshooting/snmp-discovery-no-devices). + 4. Edite o arquivo `snmp-base.yaml` e defina os atributos `discovery.cidrs` e `discovery.default_communities` para valores apropriados para sua rede. Recomendamos definir `discovery.add_mibs: true` para automatizar a adição de todos os MIBs descobertos no atributo `global.mibs_enabled` . Além disso, é recomendável definir `discovery.check_all_ips: true` para evitar problemas de descoberta em [dispositivos com posturas de segurança mais rígidas](/docs/network-performance-monitoring/troubleshooting/snmp-discovery-no-devices). 5. Reinicie o serviço `ktranslate` para aplicar as alterações ao arquivo `snmp-base.yaml` : @@ -525,7 +475,7 @@ Nosso Monitoramento de rede contêiner suporta todas as versões principais do S sudo systemctl restart ktranslate ``` - 6. Investigue os dados de desempenho da sua rede na interface New Relic . + 6. Investigue os dados de desempenho da sua rede na interface New Relic . @@ -541,10 +491,7 @@ Observação: não é possível monitor traps `v2c` e `v3` com o mesmo contêine 1. Configure suas armadilhas `v3` para serem enviadas por outra porta, como `163`. 2. Altere um pouco os argumentos do contêiner Docker, de `-p 162:1620/udp` para `-p $src:1620/udp` onde `$src` é a porta em que suas armadilhas `v3` estão chegando. - + @@ -709,6 +656,6 @@ Você pode configurar mais agentes para complementar seus dados SNMP: * Para obter melhor visibilidade sobre como sua rede é usada, [configure o monitoramento de dados de fluxo de rede](/docs/network-performance-monitoring/setup-performance-monitoring/network-flow-monitoring). * Para obter insights sobre mensagens do sistema dos seus dispositivos, [configure a coleta de syslog de rede](/docs/network-performance-monitoring/setup-performance-monitoring/network-syslog-monitoring). -
+
- + \ No newline at end of file