Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chinmay test #17900

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -73,3 +73,5 @@ UUID: B1A8C6EE-02B9-3C55-AEE7-308521873107 (arm64) ./New Relic.app.dSYM/Contents
```

To symbolicate the unsymbolicated crashes, follow the instructions to [manually upload the dSYM](/docs/mobile-monitoring/new-relic-mobile-ios/install-configure/upload-dsyms-bitcode-apps).

* Test content
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
---
title: 'Data partitions now available in logs in context'
summary: 'Filter and query logs by partitions in logs in context views'
releaseDate: '2024-07-03'
learnMoreLink: 'https://docs.newrelic.com/docs/logs/ui-data/data-partitions/'
---

We're bringing you more functionality to the data partition selection menu by making at available in logs in context views. You can now filter and query your logs by data partitions in APM, hosts, traces, and transaction veiws, just like you do in the main logs view.

## Data partitions in logs in context

Make your workflow easier by filtering your logs by partition without having to switch to the main logs view. To view logs from specific partitions, open the data partition menu and select the partitions you'd like to see logs from. Then, just click **Done**!

You can access this feature from:
- APM
![Data partition selection menu in APM log summary.](./images/APM_screenshot-full_logs-in-context-data-partition-selection-menu.webp "Data partition selection menu in APM log summary.")
- Hosts
![Data partition selection menu in hosts logs in context.](./images/hosts_screenshot-full_logs-in-context-data-partition-selection-menu.webp "Data partition selection menu in hosts logs in context.")
- Traces
![Data partition selection menu in traces logs in context.](./images/traces_screenshot-full_logs-in-context-data-partition-selection-menu.webp "Data partition selection menu in traces logs in context.")
- Transactions
![Data partition selection menu in transactions logs in context.](./images/transactions_screenshot-full_logs-in-context-data-partition-selection-menu.webp "Data partition selection menu in transactions logs in context.")

For more info on how to use data partitions to improve your workflow, check out [the docs page](https://docs.newrelic.com/docs/logs/ui-data/data-partitions/).
Original file line number Diff line number Diff line change
@@ -0,0 +1,147 @@
---
title: Mobile logs
tags:
- Mobile monitoring
- Mobile monitoring UI
- Logs
metaDescription: Use New Relic's Mobile Logs Monitoring UI page to view Mobile Logs
freshnessValidatedDate: '2024-06-27T00:00:00.000Z'
translationType: machine
---

Puede emplear nuestra API para enviar el log de sus aplicaciones móviles a New Relic. Tu registro estará en un lugar donde podrás analizarlos.

## API para capturar registros [#logs-apis]

Las API están disponibles para iOS y Android.

<Callout variant="important">
Tenga en cuenta que puede haber algunos retrasos en el logging móvil:

* El registro tardará hasta 15 minutos en aparecer en la pestaña de **Logs** de New Relic.
* Los cambios en la alternancia de registros móviles, la frecuencia de ejemplificación y el nivel de logtardarán hasta 15 minutos en reflejar en su aplicación móvil.
</Callout>

Tenga en cuenta que cuando emplee la API de logging, solo debe emplear el nivel de depuración de logsi desea ver el registro de depuración del agente.

### agente de iOS [#ios-agent-apis]

Para emplear las API de logging, agregue lo siguiente:

```
NewRelic.logError("Encountered error=error=\(error.localizedDescription).")

NewRelic.logWarning("Warning text.")

NewRelic.logInfo("Info text.")

NewRelic.logVerbose("NewRelic.start was called.")

NewRelic.logDebug("Debug text.")

do {
try errorMethod()
} catch {
NewRelic.logErrorObject(error)
}

NewRelic.logAll([
"logLevel": "WARN",
"message": "This is a test message for the New Relic logging system."
])

NewRelic.logAttributes([
"logLevel": "WARN",
"message": "This is a test message for the New Relic logging system.",
"additionalAttribute1": "attribute1",
"additionalAttribute2": "attribute2"
])
```

### agente de Android [#android-agent-apis]

Para emplear las API de logging, agregue lo siguiente:

```
NewRelic.logInfo(String message)

NewRelic.logWarning(String message)

NewRelic.logDebug(String message)

NewRelic.logVerbose(String message)

NewRelic.logError(String message)

NewRelic.log(LogLevel logLevel, String message)

NewRelic.logThrowable(LogLevel logLevel, String message, Throwable throwable)

NewRelic.logAttributes(Map<String, Object> attributes)

NewRelic.logAll(Throwable throwable, Map<String, Object> attributes)
```

## Habilitar registro móvil [#enable-mobile-logs]

De forma predeterminada, nuestro agente móvil no recopila registros. Para habilitar el registro móvil:

1. Vaya a

<DNT>**[one.newrelic.com > All capabilities](https://one.newrelic.com/all-capabilities)**</DNT>

.

2. Haga clic en

<DNT>**Mobile**</DNT>

.

3. Haz clic en tu aplicación móvil.

4. En el panel izquierdo debajo de

<DNT>**Settings**</DNT>

, haga clic en

<DNT>**Application**</DNT>

.

5. Alternar **Mobile Logs** .

6. Clic en **Save**.

## Configura tu registro [#configure-mobile-logs]

Para configurar la frecuencia de ejemplificación de su registro móvil o el nivel de logs:

1. En New Relic, navega hasta tu aplicación móvil.

2. En el panel izquierdo debajo de

<DNT>**Settings**</DNT>

, haga clic en

<DNT>**Application**</DNT>

.

3. Para cambiar la frecuencia de ejemplificación, seleccione un nuevo valor en el campo bajo **Sample rate of total sessions**.

4. Para cambiar el nivel de log , seleccione su nivel de logpreferido en el desplegable debajo de **Logs verbosity**. El nivel de depuración de logsolo debe usar si desea ver el registro de depuración del agente.

## Ver registro en New Relic [#view-logs-in-new-relic]

Para ver su registro, continúe en la New Relic UI:

1. Navegue a su aplicación móvil.

2. En el panel izquierdo, debajo de **Triage**, haga clic en

<DNT>**Logs**</DNT>

.
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,7 @@ translationType: machine

OpenTelemetryの場合、すべての外部サービスビューにはサンプリングされたトレースが入力されます。これは、十分な有用なデータが表示されない可能性があることを意味します。これを解決するには、コレクターのサンプリングを変更して、より多くのデータをNewRelicに入れることができます。

構成に関するヒントについては、 [「サンプリング」を](/docs/more-integrations/open-source-telemetry-integrations/opentelemetry/opentelemetry-concepts/#sampling)参照してください
詳細については、 [「サンプリング」](https://opentelemetry.io/docs/concepts/sampling/)を参照してください
</TabsPageItem>
</TabsPages>
</Tabs>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,143 @@
---
title: モバイルログ
tags:
- Mobile monitoring
- Mobile monitoring UI
- Logs
metaDescription: Use New Relic's Mobile Logs Monitoring UI page to view Mobile Logs
freshnessValidatedDate: '2024-06-27T00:00:00.000Z'
translationType: machine
---

弊社の API を使用して、モバイル アプリのログを New Relic に送信できます。 ログは 1 か所に集められ、分析できるようになります。

## ログをキャプチャするためのAPI [#logs-apis]

APIはiOSとAndroidで利用できます。

<Callout variant="important">
モバイル ログ記録に遅延が発生する可能性があることに注意してください。

* ログが New Relic**ログタブ**に表示されるまで最大 15 分かかります。
* モバイル ログ トグル、サンプリング レート、およびログ レベルの変更がモバイル アプリケーションに反映されるまでに最大 15 分かかります。
</Callout>

ログAPIを使用する場合、エージェントのデバッグ ログを表示する場合にのみ、debug ログレベルを使用する必要があることに注意してください。

### iOSエージェント [#ios-agent-apis]

ログ API を使用するには、以下を追加します。

```
NewRelic.logError("Encountered error=error=\(error.localizedDescription).")

NewRelic.logWarning("Warning text.")

NewRelic.logInfo("Info text.")

NewRelic.logVerbose("NewRelic.start was called.")

NewRelic.logDebug("Debug text.")

do {
try errorMethod()
} catch {
NewRelic.logErrorObject(error)
}

NewRelic.logAll([
"logLevel": "WARN",
"message": "This is a test message for the New Relic logging system."
])

NewRelic.logAttributes([
"logLevel": "WARN",
"message": "This is a test message for the New Relic logging system.",
"additionalAttribute1": "attribute1",
"additionalAttribute2": "attribute2"
])
```

### Androidエージェント [#android-agent-apis]

ログ API を使用するには、以下を追加します。

```
NewRelic.logInfo(String message)

NewRelic.logWarning(String message)

NewRelic.logDebug(String message)

NewRelic.logVerbose(String message)

NewRelic.logError(String message)

NewRelic.log(LogLevel logLevel, String message)

NewRelic.logThrowable(LogLevel logLevel, String message, Throwable throwable)

NewRelic.logAttributes(Map<String, Object> attributes)

NewRelic.logAll(Throwable throwable, Map<String, Object> attributes)
```

## モバイルログを有効にする [#enable-mobile-logs]

デフォルトでは、モバイル エージェントはログを収集しません。 モバイル ログを有効にするには:

1. <DNT>**[one.newrelic.com > All capabilities](https://one.newrelic.com/all-capabilities)**</DNT>

に移動します。

2. <DNT>**Mobile**</DNT>

をクリックします。

3. モバイルアプリをクリックします。

4. 左側のペインの

<DNT>**Settings**</DNT>

の下で、

<DNT>**Application**</DNT>

をクリックします。

5. **Mobile Logs** \[モバイル ログを]オンに切り替えます。

6. クリック **保存**.

## ログを設定する [#configure-mobile-logs]

モバイル ログのサンプリング レートまたはログレベルを構成するには:

1. New Relic で、モバイル アプリに移動します。

2. 左側のペインの

<DNT>**Settings**</DNT>

の下で、

<DNT>**Application**</DNT>

をクリックします。

3. サンプル レートを変更するには、 **Sample rate of total sessions** \[合計セッションのサンプル レート]の下のフィールドで新しい値を選択します。

4. ログ レベルを変更するには、**Logs verbosity** \[ログの詳細度]の下のドロップダウンで希望のログ レベルを選択します。 デバッグ ログレベルは、エージェント デバッグ ログを表示する場合にのみ使用してください。

## New Relicでログを表示する [#view-logs-in-new-relic]

ログを表示するには、New Relic UI で続行します。

1. モバイル アプリに移動します。

2. 左ペインの**Triage** \[トリアージ]の下で、

<DNT>**Logs**</DNT>

をクリックします。
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,7 @@ translationType: machine

OpenTelemetry의 경우 모든 외부 서비스 보기가 샘플링된 추적으로 채워지므로 유용한 데이터가 충분하지 않을 수 있습니다. 이 문제를 해결하기 위해 수집기에서 샘플링을 변경하여 New Relic에 더 많은 데이터를 허용할 수 있습니다.

구성에 대한 팁은 [샘플링을](/docs/more-integrations/open-source-telemetry-integrations/opentelemetry/opentelemetry-concepts/#sampling) 참조하세요.
자세한 내용은 [샘플링을](https://opentelemetry.io/docs/concepts/sampling/) 참조하세요.
</TabsPageItem>
</TabsPages>
</Tabs>
Expand Down
Loading
Loading