Skip to content

Commit

Permalink
chore: add translations
Browse files Browse the repository at this point in the history
  • Loading branch information
nr-opensource-bot committed Feb 25, 2022
1 parent 988b4d0 commit 35e6b4c
Show file tree
Hide file tree
Showing 5 changed files with 33 additions and 25 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,12 @@ translationType: machine
id="email"
title="メール"
>
**ユーザーへのメール通知**
**ユーザーにメールで通知を送る。**

<Video
type="wistia"
id="im4746spcq"
/>

## メール送信先の設定 [#set-email-destination]

Expand Down Expand Up @@ -334,7 +339,9 @@ translationType: machine
PagerDuty のデスティネーションを作成するには、Integration method タブで以下の情報を入力します。

* **Name**: 目的地を特定するためのカスタム名。
* **API Key**: この統合では、REST API Key の提供を求められます。PagerDutyには2種類のREST APIキーがあり、 [一般アクセス](https://support.pagerduty.com/docs/generating-api-keys#section-generating-a-general-access-rest-api-key)[ユーザートークンがあります。](https://support.pagerduty.com/docs/generating-api-keys#section-generating-a-personal-rest-api-key)
* **APIキー**: このインテグレーションでは、REST APIキーの提供を求められます。

PagerDuty の REST API キーには、 [一般アクセス](https://support.pagerduty.com/docs/generating-api-keys#section-generating-a-general-access-rest-api-key)[ユーザートークン](https://support.pagerduty.com/docs/generating-api-keys#section-generating-a-personal-rest-api-key) の 2 種類があります。

デスティネーションを保存する前に、 **Test connection** ボタンをクリックして、接続をテストすることをお勧めします。

Expand All @@ -350,7 +357,8 @@ translationType: machine

#### New Relicのワークフローとの同期 [#two-way-sync-workflows]

PagerDuty のインシデントの状態が変更されると(確認/解決)、New Relic の課題に反映されます。
* PagerDuty のインシデントが解決されると、New Relic issue の閉鎖がトリガーされます。
* PagerDuty のインシデントが承認されると、New Relic のインシデントの承認がトリガーされます。

## メッセージテンプレートの設定 [#message-pagerduty]

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

以前、以下のようなコードがあったとします。

```
```cs
// Create an external web request to another instrumented service
HttpWebRequest requestMessage = (HttpWebRequest)WebRequest.Create("https://remote-address");

Expand All @@ -125,23 +125,23 @@ requestMessage.Headers.Set(NewRelic.Api.Agent.Constants.DistributedTracePayloadK

に置き換えることができます。

```
```cs
// Create an external web request to another instrumented service
HttpWebRequest requestMessage = (HttpWebRequest)WebRequest.Create("https://remote-address");

// Insert the distributed trace headers to the message. The “setter” // action tells the API how to add headers to the “carrier”, which
// is the HttpWebRequest message in this example
IAgent agent = NewRelic.Api.Agent.NewRelic.GetAgent();
ITransaction currentTransaction = agent.CurrentTransaction;
var setter = new Action<HttpWebRequest, string, string>((carrier, key, value) => { carrier.Headers?.Set(key, value); });
var setter = new Action<HttpWebRequest, string, string>((carrier, key, value) => { carrier.Headers?.Set(key, value); });
currentTransaction.InsertDistributedTraceHeaders(requestMessage, setter);
```

### AcceptDistributedTracePayload

以前、以下のようなコードがあったとします。

```
```cs
// Obtain the payload from the upstream request object
HttpContext httpContext = HttpContext.Current;
string payload = httpContext.Request.Headers[NewRelic.Api.Agent.Constants.DistributedTracePayloadKey)];
Expand All @@ -153,7 +153,7 @@ ITransaction transaction = agent.CurrentTransaction; transaction.AcceptDistribut

に置き換えることができます。

```
```cs
HttpContext httpContext = HttpContext.Current;
IAgent agent = NewRelic.Api.Agent.NewRelic.GetAgent();
ITransaction currentTransaction = agent.CurrentTransaction;
Expand All @@ -162,8 +162,8 @@ ITransaction currentTransaction = agent.CurrentTransaction;
// which is the HttpContext in this example
IEnumerable<string> Getter(HttpContext carrier, string key)
{
string value = carrier.Request.Headers[key];
return value == null ? null : new string[] { value };
string value = carrier.Request.Headers[key];
return value == null ? null : new string[] { value };
}

// Call the API
Expand All @@ -174,15 +174,15 @@ currentTransaction.AcceptDistributedTraceHeaders(httpContext, Getter, TransportT

以前、以下のようなコードがあったとします。

```
```cs
// Called in code that runs inside a transaction created by the
// agent, for example an ASP.NET WebApi endpoint
NewRelic.Api.Agent.NewRelic.AddCustomParameter(“myCustomParameter”, “myValue”);
```

に置き換えることができます。

```
```cs
// Get the current transaction
IAgent agent = NewRelic.Api.Agent.NewRelic.GetAgent();
ITransaction currentTransaction = agent.CurrentTransaction;
Expand All @@ -199,9 +199,9 @@ currentTransaction.AddCustomAttribute(“myCustomParameter”, “myValue”);

例えば、 `newrelic.config` ファイルに表示される設定要素は以下のようになります。

```
```xml
<configuration>
<parameterGroups>
<parameterGroups>
<identityParameters>
</identityParameters>
Expand Down Expand Up @@ -240,15 +240,15 @@ currentTransaction.AddCustomAttribute(“myCustomParameter”, “myValue”);
<td>
`attributes.include`

```
```xml
<parameterGroups>
<identityParameter enabled="true"/>
</parameterGroups>
```

に相当します。

```
```xml
<attributes enabled="true">
<include>identity.*</include>
</attributes>
Expand Down Expand Up @@ -284,7 +284,7 @@ currentTransaction.AddCustomAttribute(“myCustomParameter”, “myValue”);
<td>
`attributes.include`

```
```xml
<attributes>
<include>request.parameters.*</include>
</attributes>
Expand All @@ -302,7 +302,7 @@ currentTransaction.AddCustomAttribute(“myCustomParameter”, “myValue”);
<td>
`attributes.exclude`

```
```xml
<attributes>
<exclude>request.parameters.specificRequestParameter</exclude>
</attributes>
Expand All @@ -328,7 +328,7 @@ currentTransaction.AddCustomAttribute(“myCustomParameter”, “myValue”);
<td>
`attributes.include`

```
```xml
<attributes>
<include>request.parameters.*</include>
</attributes>
Expand All @@ -346,7 +346,7 @@ currentTransaction.AddCustomAttribute(“myCustomParameter”, “myValue”);
<td>
`attributes.exclude`

```
```xml
<attributes>
<exclude>request.parameters.specificRequestParamter</exclude>
</attributes>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ metaDescription: 'For New Relic browser monitoring: use the app settings page to
translationType: machine
---

[エージェントバージョン1211](https://docs.newrelic.com/docs/release-notes/new-relic-browser-release-notes/browser-agent-release-notes/) 以上では、ページが行うすべてのネットワークリクエストが `AjaxRequest` イベントとして記録されます。 **Application settings** ページの deny list 構成オプションを使用して、イベントを記録するリクエストをフィルタリングできます。このフィルターに関係なく、すべてのネットワークリクエストはメトリクスとして記録され、AJAXページで利用できます
[エージェントバージョン1211](https://docs.newrelic.com/docs/release-notes/new-relic-browser-release-notes/browser-agent-release-notes/) 以上では、ページによって行われるすべてのネットワークリクエストは、 `AjaxRequest` イベントとして記録されます。 **アプリケーション設定** ページにある拒否リスト設定オプションを使用して、イベントを記録するリクエストをフィルタリングすることができます

## 拒否リストの使用

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -212,8 +212,8 @@ OpenTelemetry [ヒストグラム](https://github.com/open-telemetry/opentelemet

このアカウントクエリを使用すると、サポートされていない一時性のためにメトリクスがドロップされているかどうかを判断できます。

```
FROM NrIntegrationError SELECT * WHERE message = 'One or more OTLP metric data point(s) were dropped due to unsupported AggregationTemporality.'
```sql
FROM NrIntegrationError SELECT * WHERE message = 'One or more OTLP metric data point(s) were dropped due to unsupported AggregationTemporality.'
```
</Callout>

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

## 結果検証

新しい手法の精度を検証するために`histogram()` NRQL 関数を実行して、分布の全体像を把握することができます。ヒストグラムを見ると、報告されたパーセンタイルが意味を持つかどうかがわかります。例えば、報告された99%パーセンタイル以上の人口が、期待される1%に近いかどうかを視覚的に推定することができます。
新しい手法の精度を確認するために`histogram()` NRQL関数を実行すると、分布の全体像を把握することができます。ヒストグラムを見ることで、報告されたパーセンタイルが意味を持つかどうかを判断することができます。例えば、報告された99%以上のパーセンタイルが期待される1%に近いかどうかを視覚的に推定することができます_NULL_ 属性を持つデータセットに対してパーセンタイル・クエリーを実行する場合は注意が必要です。これらの _NULL_ の行はパーセンタイル関数では無視されますが、パーセント関数では総人口にカウントされます。パーセンタイル・クエリ内の `where` フィルタは、検証クエリにもコピーする必要があります

パーセンタイルの値とその相対的な誤差を正確に確認するには、以下の方法があります(正の数を想定)。

Expand All @@ -230,7 +230,7 @@ r < t * (1 + e) => t > r / (1 + e)
percentile クエリから報告された _r__e_ を使用して、 _t_ の下限値と上限値を計算するには、以下のような `percentage()` クエリを使用します。これが可能なのは、 `percentage()` 関数が近似を使用していないためです。常に正確な結果を返します。

```
from myEventType SELECT percentage(count(*), where wallClockTime < 188 / (1 + 0.03125)) as 'lower', percentage(count(*), where wallClockTime < 188 / (1 - .03125)) as 'upper'
from myEventType SELECT percentage(count(*), where wallClockTime < 188 / (1 + 0.03125)) as 'lower', percentage(count(*), where wallClockTime < 188 / (1 - .03125)) as 'upper' where wallClockTime is not null
```

この例では、188 は `wallClockTime` の報告されたパーセンタイルで、90% です。相対誤差は 0.03125 です。返されたクエリ結果は次のとおりです。
Expand Down

0 comments on commit 35e6b4c

Please sign in to comment.