Skip to content

Commit

Permalink
Merge pull request #6352 from newrelic/translations-03851ea
Browse files Browse the repository at this point in the history
Updated translations - 2022-02-26 (machine translation)
  • Loading branch information
roadlittledawn committed Feb 28, 2022
2 parents 481073e + c3ffee5 commit 83caa41
Show file tree
Hide file tree
Showing 23 changed files with 245 additions and 1,571 deletions.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ New Relic for Go を使用すると、Go アプリケーションの [トラン

コードの任意のブロックをセグメントとして計測するには、次のパターンを使用し、トランザクションに設定された変数名として [`txn`](/docs/agents/go-agent/get-started/instrument-go-transactions) を含めます。

```
```go
segment := newrelic.Segment{}
segment.Name = "<var>mySegmentName</var>"
segment.StartTime = txn.StartSegmentNow()
Expand All @@ -32,7 +32,7 @@ segment.End()

`StartSegment` は便利なヘルパーです。セグメントを作成し、それを開始します。

```
```go
segment := txn.StartSegment("<var>mySegmentName</var>")
// ... code you want to time here ...
segment.End()
Expand All @@ -44,7 +44,7 @@ segment.End()

関数をセグメントとして計測するには、以下のコードを関数の先頭に追加し、トランザクションの変数名セットとして [`txn`](/docs/agents/go-agent/get-started/instrument-go-transactions) を含めます。

```
```go
defer txn.StartSegment("<var>mySegmentName</var>").End()
```

Expand All @@ -54,7 +54,7 @@ defer txn.StartSegment("<var>mySegmentName</var>").End()

以下は、あるセグメントが別のセグメントの中で始まり、終わる例です。

```
```go
s1 := txn.StartSegment("<var>outerSegment</var>")
s2 := txn.StartSegment("<var>innerSegment</var>")
// s2 must end before s1
Expand All @@ -64,10 +64,10 @@ s1.End()

ゼロ値のセグメントは安全に終了することができます。したがって、次のコードは、条件付きで失敗しても安全です。

```
```go
var s newrelic.Segment
if recordSegment {
s.StartTime = txn.StartSegmentNow(),
s.StartTime = txn.StartSegmentNow()
}
// ... code you wish to time here ...
s.End()
Expand Down Expand Up @@ -134,7 +134,7 @@ MySQL、PostgreSQL、または SQLite データベース ドライバを使用

これらの統合機能を使用するには、まずドライバーを当社の統合バージョンに置き換えてください。

```
```go
import (
// import our integration package in place of "github.com/go-sql-driver/mysql"
_ "github.com/newrelic/go-agent/v3/integrations/nrmysql"
Expand All @@ -148,7 +148,7 @@ MySQL、PostgreSQL、または SQLite データベース ドライバを使用

次に、 `ExecContext``QueryContext``QueryRowContext` [sql.DB](https://golang.org/pkg/database/sql/#DB)[sql.Conn](https://golang.org/pkg/database/sql/#Conn)[sql.Tx](https://golang.org/pkg/database/sql/#Tx)[sql.Stmt](https://golang.org/pkg/database/sql/#Stmt) のメソッドを使用して、トランザクションを含むコンテキストを提供します。 `Exec``Query``QueryRow` への呼び出しは計測されません。

```
```go
ctx := newrelic.NewContext(context.Background(), txn)
row := db.QueryRowContext(ctx, "SELECT count(*) from tables")
```
Expand All @@ -166,7 +166,7 @@ MySQL、PostgreSQL、または SQLite データベース ドライバを使用
>
基本的なセグメントと同様に、データストア・セグメントは、 `StartTime` フィールドが入力されたときに開始し、 `End` メソッドが呼び出されたときに終了します。データストア・セグメントを計測するには、監視したい関数の先頭に次のように記述します。

```
```go
s := newrelic.DatastoreSegment{
Product: newrelic.DatastoreMySQL,
Collection: "users",
Expand All @@ -192,7 +192,7 @@ MySQL、PostgreSQL、または SQLite データベース ドライバを使用

関数呼び出し全体に渡るデータストア呼び出しをインストゥルメンテーションする場合、defer文を使用してインストゥルメンテーションを簡素化することができます。

```
```go
s := newrelic.DatastoreSegment{
StartTime: txn.StartSegmentNow(),
Product: newrelic.DatastoreMySQL,
Expand Down Expand Up @@ -225,7 +225,7 @@ Web サービスやクラウド上のリソースなど、外部サービスへ
>
**推奨:** `StartExternalSegment` ヘルパーを使用してください。New Relic では、 [クロスアプリケーショントレーシングを使用して、アプリケーション間のアクティビティを追跡するために使用しています。](/docs/agents/go-agent/features/cross-application-tracing-go).

```
```go
func external(txn *newrelic.Transaction, req *http.Request) (*http.Response, error) {
s := newrelic.StartExternalSegment(txn, req)
response, err := http.DefaultClient.Do(req)
Expand All @@ -244,7 +244,7 @@ Web サービスやクラウド上のリソースなど、外部サービスへ

ここでは、 `NewRoundTripper` インストルメントの例をご紹介します。

```
```go
client := &http.Client{}
client.Transport = newrelic.NewRoundTripper(client.Transport)

Expand All @@ -269,7 +269,7 @@ RabbitMQやKafkaなどのキューイングシステムにメッセージを追
>
基本的なセグメントと同様に、メッセージ・プロデューサー・セグメントは、 `StartTime` フィールドが入力されたときに開始され、 `End` メソッドが呼び出されたときに終了します。メッセージ・プロデューサ・セグメントを計測するには、監視したい関数の先頭に次のように記述します。

```
```go
s := newrelic.MessageProducerSegment{
Library: "RabbitMQ",
DestinationType: newrelic.MessageExchange,
Expand All @@ -285,7 +285,7 @@ RabbitMQやKafkaなどのキューイングシステムにメッセージを追

関数呼び出し全体にまたがるメッセージ・プロデューサー・コールをインスツルメンテーションする場合、deferステートメントを使用してインスツルメンテーションを簡素化することができます。

```
```go
s := newrelic.MessageProducerSegment{
StartTime: txn.StartSegmentNow(),
Library: "RabbitMQ",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -497,7 +497,7 @@ Python エージェント [バージョン 2.72.0.52 以上](/docs/release-notes
* 長いデータベースクエリのスタックトレースの取得
* MySQLとPostgreSQのみ。遅いデータベースクエリの説明プランの取得

Pythonエージェントは、Python DB-API 2.0に準拠したモジュールのデータベースクエリを追跡できるはずです。ただし、公式にサポートしているのは、このセクションで紹介しているモジュールのみです
Pythonエージェントは、Python DB-API 2.0に準拠したモジュールのデータベースクエリを追跡できるはずです。しかし、Pythonエージェントは、このセクションに記載されているモジュールのみを公式にサポートしています

* [cx_Oracle](http://cx-oracle.sourceforge.net/)
* [MySQLdb](http://mysql-python.sourceforge.net/)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2476,6 +2476,8 @@ Rails アプリで Ruby エージェントを実行する場合、エージェ
</tbody>
</table>

<b>DEPRECATED</b> ご参照ください: [transaction_events.enabled](docs/agents/ruby-agent/configuration/ruby-agent-configuration#transaction_events-enabled).

`true` の場合、アナリティクスのイベントサンプリングを有効にします。
</Collapser>

Expand Down Expand Up @@ -2517,6 +2519,8 @@ Rails アプリで Ruby エージェントを実行する場合、エージェ
</tbody>
</table>

<b>DEPRECATED</b> ご参照ください: [transaction_events.max_samples_stored](docs/agents/ruby-agent/configuration/ruby-agent-configuration#transaction_events-max_samples_stored).

1つのハーベストから報告されるリクエストイベントの最大数を定義します。
</Collapser>

Expand Down Expand Up @@ -7508,6 +7512,92 @@ Rails アプリで Ruby エージェントを実行する場合、エージェ
</Collapser>
</CollapserGroup>

## トランザクション・イベント

<CollapserGroup>
<Collapser
id="transaction_events-enabled"
title="transaction_events.enabled"
>
<table>
<tbody>
<tr>
<th>
タイプ
</th>

<td>
ブール値
</td>
</tr>

<tr>
<th>
デフォルト
</th>

<td>
`(ダイナミック)`
</td>
</tr>

<tr>
<th>
環境変数
</th>

<td>
`NEW_RELIC_TRANSACTION_EVENTS_ENABLED`
</td>
</tr>
</tbody>
</table>

`trueの場合`, トランザクションイベントのサンプリングを有効にします。
</Collapser>

<Collapser
id="transaction_events-max_samples_stored"
title="transaction_events.max_samples_stored"
>
<table>
<tbody>
<tr>
<th>
タイプ
</th>

<td>
整数
</td>
</tr>

<tr>
<th>
デフォルト
</th>

<td>
`(ダイナミック)`
</td>
</tr>

<tr>
<th>
環境変数
</th>

<td>
`NEW_RELIC_TRANSACTION_EVENTS_MAX_SAMPLES_STORED`
</td>
</tr>
</tbody>
</table>

1つのハーベストから報告されるトランザクションイベントの最大数を定義する。
</Collapser>
</CollapserGroup>

## 活用

<CollapserGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,19 @@ metaDescription: 'An introduction to New Relic''s on-host integrations, which in
translationType: machine
---

[New Relic インフラストラクチャ インテグレーション](/docs/infrastructure/integrations-getting-started/getting-started/introduction-infrastructure-integrations) では、一般的な製品やサービスから New Relic にデータを送信することができます[利用可能なオンホスト・インテグレーションのリストから](/docs/infrastructure/host-integrations/host-integrations-list) を選択して、データを収集して弊社のプラットフォームに送信することができます
[New Relicインフラストラクチャ統合](/docs/infrastructure/integrations-getting-started/getting-started/introduction-infrastructure-integrations) では、一般的な製品やサービスからNew Relicにデータを送信することができます[利用可能なオンホスト統合のリスト](https://newrelic.com/instant-observability/?category=infrastructure-and-os) から選択して、データを収集し、弊社のプラットフォームへ送信することができます

## スタートガイド [#features]
## スタートガイド [#get-started]

オンホスト・インテグレーションを始めるには

1. [のオンホスト統合のリストを閲覧](/docs/infrastructure/host-integrations/host-integrations-list)
1. [オンホスト統合のリストを閲覧する](https://newrelic.com/instant-observability/?category=infrastructure-and-os)
2. まだ New Relic のインフラストラクチャモニタリングが有効になっていない場合は、 [インフラストラクチャエージェントをインストールしてください](/docs/infrastructure/install-infrastructure-agent/get-started/install-infrastructure-agent-new-relic)
3. 選択したホスト上の統合機能をインストールして構成するために、互換性のための前提条件やその他の要件を含む手順に従ってください。

お客様がご利用になっているサービスの統合を現在提供していない場合は、 [Flex](/docs/integrations/host-integrations/host-integrations-list/flex-integration-tool-build-your-own-integration) で独自の統合をご検討ください。

## 機能
## 機能 [#features]

統合機能をインストールしてアクティベートすると、以下のことができるようになります。

Expand All @@ -30,6 +30,6 @@ translationType: machine

## リモートおよびマルチテナント構成の監視 [#multiple-instances]

構成によっては、アクセスできないリモートホストに存在するデータベースなどのサードパーティの要素を使用する場合があります。当社の統合製品は、ローカルおよびリモートのホストやサーバーからデータを取得し、サービスの継続的な監視を可能にします。また、マルチテナントのクラスター構成にも対応しており、サービスをホストから抽象化することで、複数のエンティティをリモートインスタンスとして監視することができます。
構成によっては、データベースなど、アクセスできないリモートホストに存在するサードパーティの要素を使用する場合があります。当社のインテグレーションは、ローカルおよびリモートのホストやサーバーからデータを取得することができ、お客様のサービスを継続的に監視することを保証します。また、マルチテナントクラスター構成もサポートします。サービスをホストから抽象化することで、複数のエンティティをリモートインスタンスとして監視することができます。

[`remote_monitoring` パラメータ](/docs/remote-monitoring-host-integrations) を使用して、Apache、Cassandra、MySQL、NGINX、およびRedisの統合でリモートモニタリングとマルチテナンシーを有効にすることができます
Apache、Cassandra、MySQL、NGINX、および Redis の統合でリモート監視とマルチテナンシーを有効にするには、 [`remote_monitoring` パラメータ](/docs/infrastructure/host-integrations/understand-use-data/remote-monitoring-host-integrations/) を使用してください

0 comments on commit 83caa41

Please sign in to comment.