# メトリクス内のコンテキストパラメーター

メトリクスはnameフィールドとcontextフィールドによって一意識別されます。コンテキストパラメーターには、メトリックのカテゴリーや名前に応じたメトリクスの機能的意味を把握しやすくなる追加情報が表示されます。

コンテキストパラメーターによっては、&lt;RemoteEngineInstallationDirectory&gt;/etc/org.talend.ipaas.rt.observability.jobContextConfig.cfgファイルで値をtrueに設定すれば有効に、falseに設定すれば無効にできます。

Exampleカラムの値は、[コンテキストパラメーターの例](https://help.qlik.com/talend/ja-JP/remote-engine-user-guide-linux/Cloud/context-parameter-examples)セクションにあるスクリーンショット例で使われているラベルに相当します。

## JMXメトリックコンテキストパラメーター

次のテーブルは、JMXメトリックコンテキストパラメーターを示しています次のテーブルは、JMXメトリックコンテキストパラメーターを示しています

| パラメーター | デフォルトステータス | 編集の可否 | 例 |
| --- | --- | --- | --- |
| area | 有効 | なし | heap / noheap |

## ビジネスコンテキストパラメーター

特に表記がない限り、次のコンテキストパラメーターは[Business] (ビジネス)メトリックカテゴリーの全メトリックパラメーターに適用されます。デフォルトですべて有効になっており、無効にはできません。

次のテーブルは、ビジネスコンテキストパラメーターを示しています次のテーブルは、ビジネスコンテキストパラメーターを示しています

| コンテキストパラメーター | メトリックカテゴリー/名前 | 例 |
| --- | --- | --- |
| stacktrace | component\_error | "NullPointer"Exception |
| job\_id | コンポーネント、ジョブ | "\_Wbd\_QKHmEeuqob1gixsx-Q" |
| /JobName | コンポーネント、ジョブ | - |
| job\_version | コンポーネント、ジョブ | - |
| connector\_id | component\_start\_time\_seconds<br><br>component\_execution\_duration\_milliseconds | "tMongoDBInput\_2" |
| connector\_label | "tMongoDBInput\_2" |  |
| connector\_type | "tJavaRow" |  |
| connection\_name | component\_connection\_rows\_total | "row1" |
| component\_execution\_duration\_milliseconds |  |  |
| source\_connector\_type | component\_connection\_rows\_total | "tRowGenerator" |
| source\_label | "tRowGenerator\_1" |  |
| target\_connector\_type | "tLogRow" |  |
| target\_id | "tLogRow\_1" |  |
| target\_label | "tLogRow\_1" |  |
| connection\_type | component\_execution\_duration\_milliseconds | "output" |

## 共通コンテキストパラメーター

次のコンテキストパラメーターは、デフォルトで存在するか、以下のカテゴリーのメトリクスに追加できるものです。

* ビジネス - コンポーネント
* ビジネス - ジョブ
* JMX (ジョブのみ)

次のコンテキストパラメーターはデフォルトで有効になっており、無効にはできません。

次のテーブルは、デフォルトの共通コンテキストパラメーターを示しています次のテーブルは、デフォルトの共通コンテキストパラメーターを示しています

| パラメーター | 詳細 | 例 |
| --- | --- | --- |
| account\_id | 該当せず | 該当せず |
| operator | ユーザーIDまたはサービスアカウントID | 該当せず |
| operator\_type | オペレーターがユーザーかサービスアカウントかを示します | ユーザーであれば"HUMAN"、サービスアカウントであれば"SERVICE" |
| deprecated\_id | (同様のコンテキストを持つ)ジョブとサブジョブのメトリクスを区別するための一時的ソリューション<br><br>情報メモ注: Talend Studio 7.3 R2021-05パッチとTalend Remote Engine v2.10.3 (およびそれ以降のバージョン)から削除されました。 | 該当せず |
| father\_pid | 最初の直系親ジョブの一意識別子<br><br>情報メモ注: 最小要件はTalend Studio 7.3 R2021-02パッチとTalend Remote Engine v2.10.3です。 | "20210601200408\_aMgz4" |
| pid | 現在の実行の一意ジョブ識別子<br><br>情報メモ注: 最小要件はTalend Studio 7.3 R2021-02パッチとTalend Remote Engine v2.10.3です。 | <ul> <li>メイン(ルート)ジョブ: <span>"20210601200408_aMgz4"</span> </li> <li>子ジョブ: <span>"UIvFAe"</span> </li> </ul> |
| process\_id | JVMのUUID | "0fc8c24d-133b-36c7-b917-5e171cc28201" |
| remote\_engine\_id | 該当せず | 該当せず |
| remote\_engine\_name | 該当せず | 該当せず |
| root\_pid | 複数のサブジョブがある場合は最初のルートジョブの一意識別子<br><br>情報メモ注: 最小要件はTalend Studio 7.3 R2021-02パッチとTalend Remote Engine v2.10.3です。 | “20210601200408\_aMgz4” |
| source | remote-engine/idまたはremote-engine/id/task/id/execution/id | /remote-engine/bb733f36-f6ce-4771-8b46-86f7f77539ac/task/5f6cd065c3e872694f45c550/execution/eca2de79-5294-44e6-a573-3b8a6c33db70 |
| step\_execution\_id | プランにのみ適用 | 該当せず |
| task\_execution\_id | 該当せず | 該当せず |
| task\_id | 該当せず | 該当せず |
| thread\_id | JVMのいずれかのスレッドUUID | "40bd2dfa-47cd-4856-a96e-9784aa93a531" |
| workspace\_id | 該当せず | 該当せず |

次のコンテキストパラメーターはデフォルトでは無効になっていますが、必要であれば有効にできます。

* artifact\_version
* artifact\_name
* cluster\_id
* cluster\_name
* compatibility\_version (Talend Studioの互換性)
* environment\_id
* environment\_name
* environment\_version
* plan\_execution\_id
* plan\_id
* plan\_name
* plan\_step\_id
* plan\_step\_name
* run\_type
* task\_name
* task\_version
* trigger\_timestamp
* workspace\_name

### このセクション内

* [コンテキストパラメーターの例](https://help.qlik.com/talend/ja-JP/remote-engine-user-guide-linux/Cloud/context-parameter-examples)