Anthropic Usage and Costs インテグレーションのメトリクス

Anthropic Usage and Costs の監視に使う Datadog の公式インテグレーションです。収集するメトリクスは 8 件あります。

公式の紹介文 (英語)

Optimize your Anthropic usage: monitor token consumption, track your costs, and attribute usage.

種別の内訳

  • gauge (その時点の値): 7 件
  • count (集計間隔内の発生回数): 1 件

メトリクスの一覧

説明は公式の定義の英文をそのまま載せています。

メトリクス種別単位
anthropic.cache_creation.ephemeral_1h_input_tokensInput tokens used during ephemeral 1 hour cache creation.gaugetoken
anthropic.cache_creation.ephemeral_5m_input_tokensInput tokens used during ephemeral 5 minute cache creation.gaugetoken
anthropic.cache_read_input_tokensInput tokens retrieved from anthropic cache reads.gaugetoken
anthropic.input_tokensNumber of input tokens used in a request to Anthropic.gaugetoken
anthropic.messages.input_tokensNumber of input tokens used in a request to Anthropic.gaugetoken
anthropic.messages.output_tokensNumber of output tokens generated in a response from Anthropic.gaugetoken
anthropic.output_tokensNumber of output tokens generated in a response from Anthropic.gaugetoken
anthropic.server_tool_use.web_search_requestsNumber of web search requests triggered by server tool use in Anthropic.countrequest

公式ドキュメント

Anthropic Usage and Costs インテグレーションの公式ドキュメント

メトリクスの名前と説明は Datadog の公式インテグレーションの定義 (Copyright Datadog, Inc.・BSD-3-Clause) を英文のまま載せています。利用条件の全文は サイトについてにあります。