# モニタリングコードスニペット（外部デプロイ）

> モニタリングコードスニペット（外部デプロイ） - Access monitoring snippets on an external model deployment **Predictions >
> Monitoring** tab.

This Markdown file sits beside the HTML page at the same path (with a `.md` suffix). It summarizes the topic and lists links for tools and LLM context.

Companion generated at `2026-10-09T14:18:51.463119+00:00` (UTC).

## Primary page

- [モニタリングコードスニペット（外部デプロイ）](https://docs.datarobot.com/ja/docs/workbench/console/prediction-tools/monitoring.html.md): Full documentation for this topic (Markdown sidecar).

## Sections on this page

- [次のステップ](https://docs.datarobot.com/ja/docs/workbench/console/prediction-tools/monitoring.html.md#next-steps): In-page section heading.

## Documentation content

外部モデルデプロイを作成すると、 [監視エージェント](https://docs.datarobot.com/ja/docs/classic-ui/mlops/deployment/mlops-agent/index.html.md) でデプロイ統計をレポートするにはモニタリングスニペットを使用する必要があることが通知されます。 外部モデルデプロイの 予測 > モニタリング タブで、これらの監視スニペットにアクセスできます。 モニタリングスニペットは、モデルの統計をDataRobot MLOpsに送信し、その統計をデプロイで表すように設計されています。 この機能を使用して、スコアリングコード指標をデプロイにレポートします。

デプロイの 予測 > モニタリング に移動して、スニペットを表示します。

|  | コンテンツ | 説明 |
| --- | --- | --- |
| (1) | 言語 | 監視コードスニペットの言語を選択します。 デプロイでスコアリングコードを監視するには、Java言語を選択し、スニペットをクリップボードにコピーします。 詳細については、監視エージェントの内部ドキュメントをリファレンスしてください。 |
| (2) | クリップボードにコピー | 選択した言語で監視スニペットをコピーして、外部モデルデプロイの監視を実施します。 |
| (3) | モニタリングエージェントのダウンロード | デプロイを監視するための監視エージェントをまだ設定していない場合、MLOPsエージェントのtarballをダウンロードしてください。 エージェントをセットアップするための追加ドキュメントは、tarballに含まれています。 |

> [!NOTE] Javaの要件
> MLOps監視ライブラリにはJava 11以降が必要です。 監視しない場合、モデルのスコアリングコードJARファイルにはJava 8以降が必要です。ただし、MLOpsライブラリを使用して監視を行う場合、モデルのスコアリングコードJARファイルにはJava 11以降が必要です。 セルフマネージドAIプラットフォームがインストールされている場合 、Java 11の要件がDataRobot v11.0以降に適用されます。

## 次のステップ

After implementing the monitoring snippet for your external deployment, set up the monitoring agent or explore other prediction options.

- Monitoring agent : Set up the remote monitoring agent environment used to report statistics back to DataRobot MLOps.
- Add external prediction environments : Group external deployments by environment to manage deployment permissions and approval workflows.
- Portable predictions : Learn about scoring data outside of DataRobot with the Portable Prediction Server or Scoring Code.
