> For the complete documentation index, see [llms.txt](https://docs.roboflow.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.roboflow.com/roboflow/roboflow-jp/deploy/model-monitoring.md).

# Model Monitoring

Roboflow の Model Monitoring ダッシュボードを使うと、試作段階から本番運用に至るまで、モデルの状況を比類なく可視化できます。Model Monitoring では、ハイレベルな統計を表示してモデルのパフォーマンスが時間の経過とともにどう変化しているかを把握したり、個々の推論リクエストを表示してエッジケースでのモデルの挙動を確認したりできます。

{% hint style="info" %}
Model Monitoring **は非推奨になります** そして Vision Events に置き換えられます。詳細は [Vision Events ドキュメント](/roboflow/roboflow-jp/deploy/vision-events.md) をご覧ください。
{% endhint %}

## Model Monitoring へのアクセス

Model Monitoring は Models ページのサブタブです。アクセスするには、Workspace のナビゲーションバーで「Models」ドロップダウンを開き、「Model Monitoring」を選択するか、Models ページの「Model Monitoring」タブに直接移動してください。

## Workspace Dashboard

すぐに、モデルに関する 3 つの統計が表示されます:

* **総リクエスト数**：Workspace 内のすべてのモデルに対して行われた推論の総数
* **平均信頼度:** モデルが行ったすべての予測における平均信頼度。
* **平均推論時間**：すべての推論における平均推論時間（画像の前処理を含め、予測の生成にかかった秒数）

<figure><img src="/files/79d016624b53dd53847ab13c39d4e04845c5863c" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
% の変化値は、現在の期間と前の期間を比較したものです。デフォルトでは、これらの統計には直近 1 週間のデータが表示されます。ただし、統計の上部にあるボタンを使って期間を変更できます。

<img src="/files/94cf26cb1c329632307e918416b5d3a46ec1fae2" alt="" data-size="original">
{% endhint %}

Models テーブルには推論が行われているすべてのモデルが表示され、クリックすると [Model Dashboard](#model-dashboard).

<figure><img src="/files/b89db7f3464cb737b9be2e9143bd7deb69c25f32" alt=""><figcaption></figcaption></figure>

また、Recent Inferences（すべてのモデルにわたる）の表示タブや [Alerts の設定](#alerting).

<figure><img src="/files/ef008ea83172367d250e2603cfabada0f026924e" alt="" width="375"><figcaption></figcaption></figure>

## Model Dashboard

Models タブでは、特定のモデルを選択してそのデータを表示できます。そこでは、Workspace Overview と同じ統計が表示されますが、1 つのモデルに特化した内容になります。

ここでは、統計に加えて、モデル内の各クラスの検出数を確認でき、他のクラスに対する分布も見ることができます。

<figure><img src="/files/ad665dc5c6b427b9c0adcd3acbe3973c0f545182" alt=""><figcaption></figcaption></figure>

表の右上にある「See All Inferences」ボタンをクリックすると、 [Inferences Table](#inferences-table).

## Inferences Table

ここでは、モデルのすべての予測結果を確認できます。さらに、推論に追加されたカスタムメタデータも表示されます。推論の一部を表示したい場合は、表の右上にあるフィルターを使用できます。

<figure><img src="/files/6190a0726300e34597391d6abd8fd22b33912e12" alt=""><figcaption></figcaption></figure>

### Inference Details

Inferences Table から、特定の推論を掘り下げて、より詳細を確認できます。以下の画像に示されている順に見ていきましょう:

<figure><img src="/files/402080e4cb814db5c39bc3ee3456056dc6b66c8f" alt=""><figcaption></figcaption></figure>

1. **画像:** ここでは、推論された画像を確認できます。 *注: これはデフォルトでは有効になっていません。詳細は* [*Enabling Inference Images*](#enabling-inference-images)
2. **Inference Details:** このパネルでは、推論リクエストに関するすべての詳細とプロパティを確認できます。利用可能なフィールドはすべてデフォルトで表示されますが、一部を非表示にしたい場合は、右上の「Cog」アイコンをクリックしてフィールドを隠せます。（この設定はブラウザに保存されます）
3. 一部のフィールドでは、利用可能な場合、そのフィールドに基づいて推論を検索するオプションがあります。強調表示された例では、同じモデルの推論を検索します。
4. **Detections:** 折りたたみ可能なこのペインには、その推論から得られた detections の一覧が表示されます。表の並び順は、「Class」と「Confidence」のテーブル見出しをクリックして選択できます。
5. **Download & Link ボタン:** ここでは、推論に関連付けられた画像をダウンロードしたり、この Inference Details へのリンクをコピーして後で参照したりできます。

### Enabling Inference Images

{% hint style="info" %}
Active Learning または Dataset Upload によって保存された画像は、プロジェクトに画像をアップロードした場合と同じようにカウントされます。ご利用のプラン種別に応じて、クレジット、上限、またはクォータの使用が適用される場合があります。
{% endhint %}

Model Monitoring に推論画像を表示させる方法は 2 つあります:

* **Roboflow Dataset Upload ブロック:** Workflows では、「Roboflow Dataset Upload」ブロックを追加できます。予測と prediction image を接続すると、Model Monitoring に表示されます。

<figure><img src="/files/f783afe7763c11fce38def827b07d57198b8c2cb" alt="" width="151"><figcaption></figcaption></figure>

* **Active Learning:** 設定できます [Active Learning](broken://pages/5aa36b26ac05c955fb669cb3b4cca3f01b91916b) Project のルールを使って、本番環境の推論画像を自動的に収集できます。

<figure><img src="/files/0a078b9d281f86be4413085e0a4d86d7dbd03781" alt="" width="198"><figcaption></figcaption></figure>

## Alerting

モデルで問題や異常が発生したときに、あなたやチームの他のメンバーがリアルタイム通知を購読できます。たとえば、モデルの信頼度が突然低下した場合や、Inference Server がダウンしてモデルが停止した場合、チームにはメール通知が届きます。

Alerting ページで詳細をご覧ください:

{% content-ref url="/pages/5288ab5ad0aab689e0d6a024d8579a3c2e4b09eb" %}
[Alerting](/roboflow/roboflow-jp/deploy/model-monitoring/alerting.md)
{% endcontent-ref %}

## Custom Metadata

推論に追加のメタデータを付与するには、Model Monitoring の custom metadata 機能を使用できます。custom metadata を使うと、画像が撮影された場所、予測の期待値などの情報を推論に追加できます。custom metadata は「Recent Inferences」と「All Inferences」ビューに表示されます。

推論結果に custom metadata を付与するには、 [Custom Metadata API](https://docs.roboflow.com/api-reference/model-monitoring/custom-metadata) ドキュメントをご覧ください。

## Model Monitoring API

自動化や外部システムとの統合のために、Model Monitoring の統計を以下を使って取得できます [Model Monitoring 用の API](/developer/rest-api/model-monitoring.md).

## 対応デプロイメント

Model Monitoring は、Roboflow の Hosted API または Roboflow Inference Server を使用して行われた推論リクエストをサポートしています。ただし、Inference Server にインターネットアクセスがあることが前提です。これには、Roboflow の [License Server](https://blog.roboflow.com/roboflow-license-server/).

{% hint style="info" %}
現時点では、Model Monitoring は Inference Pipeline を使用して行われた推論リクエストをサポートしていませんが、近い将来サポートを追加する予定です。
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.roboflow.com/roboflow/roboflow-jp/deploy/model-monitoring.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
