LangChain インテグレーションのメトリクス
LangChain の監視に使う Datadog の公式インテグレーションです。収集するメトリクスは 6 件あります。
公式の紹介文 (英語)
Optimize LangChain usage: prompt sampling and performance and cost metrics.
種別の内訳
- gauge (その時点の値): 4 件
- count (集計間隔内の発生回数): 2 件
メトリクスの一覧
説明は公式の定義の英文をそのまま載せています。
| メトリクス | 種別 | 単位 |
|---|---|---|
langchain.Request duration distribution. | gauge | nanosecond |
langchain.Number of errors. | count | error |
langchain.Number of tokens used in the completion of a response. | gauge | token/ |
langchain.Number of tokens used in the prompt of a request. | gauge | token/ |
langchain.Total number of tokens used in a request and response. | gauge | token/ |
langchain.Estimated cost in USD based on token usage. | count | dollar |
公式ドキュメント
メトリクスの名前と説明は Datadog の公式インテグレーションの定義 (Copyright Datadog, Inc.・BSD-3-Clause) を英文のまま載せています。利用条件の全文は サイトについてにあります。